Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just for linux? #1

Open
FistOfDen opened this issue Oct 7, 2021 · 1 comment
Open

Just for linux? #1

FistOfDen opened this issue Oct 7, 2021 · 1 comment

Comments

@FistOfDen
Copy link

Hi i try to use your solution on windows but when i try to build it i get a error message in the xulrunner methode. Could it be, that your tool will work only with the linux version of firefox in the bin folder?

@FistOfDen FistOfDen changed the title Just for Linux? Just for linux? Oct 7, 2021
@Runnin-N-Gunnin
Copy link
Owner

Hello FistOfDen. I apologize for the late reply.

This project is developed and tested on Windows so it should work. When you install Geckofx60.64 from NuGet, a folder (in your project folder) is created called "Firefox". In that folder you can find xul.dll, mozglue.dll etc.

To initialize the browser you do this:

Xpcom.Initialize(Environment.CurrentDirectory + "\\Firefox");

Where "\Firefox" is the folder you got from the nuget package. Either move the Firefox folder to bin -> Debug or change the directory manually in GeckoForm.cs.

If you get additional errors remember to build with platform target "Any CPU" and un-check "Prefer 32-bit" in the project properties.

Let me know if you encounter any issues I'll try to help you out. Good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants