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

Improve installation documentation for Google Chrome (not ChromeOS) #63

Open
fanis opened this issue Jul 8, 2024 · 0 comments
Open

Comments

@fanis
Copy link

fanis commented Jul 8, 2024

I've read the documentation and it requires installing the Web Server Chrome app, which is supported only on ChromeOS.

My initial question was going to be wether this was indeed supported in Google Chrome itself on Windows, and I noticed it being answered in #60. I'm writing below what I ended up doing in case it's useful for anyone else, and I suggest improving the documentation to suggest using a web server.

I downloaded WinSW-x64.exe and x86_64-pc-windows-msvc-simple-http-server.exe, put everything in a directory, created an XML config for WinSW, renamed WinSW-x64.exe to witchcraft-server-service.exe, and ran witchcraft-server-service install and then witchcraft-server-service start.

This is the XML config for WinSW that I used:

<service>
  <id>witchcraft-server</id>
  <name>Witchcraft Server</name>
  <description>This service runs a simple HTTP Server on port 5743 to be used in Chrome for the Witchcraft extension to load javascript files</description>
  <executable>x86_64-pc-windows-msvc-simple-http-server.exe</executable>
  <arguments>--nocache "C:\install\witchcraft-scripts" -p 5743 --ip 127.0.0.1</arguments>
  <log mode="none"></log>
</service>
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

1 participant