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

Add more support for Windows #48

Open
frankcarey opened this Issue Jan 9, 2017 · 4 comments

Comments

Projects
None yet
3 participants
@frankcarey
Contributor

frankcarey commented Jan 9, 2017

Right now, Windows should work but there are some things about it that are a pain.

To install for windows:

  • Download the windows-x64 build of ahoy or compile it yourself.
  • Move the file to someplace like C:/Program Files/Ahoy/ and also rename it to ahoy.exe
  • Update your Path environment variable to include C:/Program Files/Ahoy/
  • open a new cmd shell
  • Since you currently need bash, you have to install that on Windows 10 anniversary edition or greater OR install cygwin which seems to work well.

Instead, some might find it useful to use powershell or something else. If we allow the init script to be changed, then we should be able to allow people to customize it to use powershell instead... something like this?

echo {{cmd}} | powershell- Command -

So the tasks would be:

  • Support custom "entry/init" command
  • Add a Windows installer that does all the tasks above for you.
@frankcarey

This comment has been minimized.

Contributor

frankcarey commented Jan 9, 2017

Wix looks useful as a cli tool to create windows installer backed MSI files.

See https://www.codeproject.com/Tips/105638/A-quick-introduction-Create-an-MSI-installer-with for a simple example.

@r15ch13

This comment has been minimized.

r15ch13 commented Jul 31, 2018

Ahoy has been added to Scoop (lukesampson/scoop@c30c092) and can be installed by running scoop install ahoy

@enzolutions

This comment has been minimized.

enzolutions commented Aug 14, 2018

@r15ch13 I tried, the install works, but ahoy itself doesn't work after couple minutes of wait I have to cancel, works for you?

@r15ch13

This comment has been minimized.

r15ch13 commented Aug 16, 2018

This issue has to be fixed by ahoy. Calling ahoy.exe directly doesn't work either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment