modesttree / Projeny

A project and package manager for Unity
MIT License
692 stars 87 forks source link

Using scoop.sh for easier Windows installations #43

Open mrserverless opened 7 years ago

mrserverless commented 7 years ago

Hi modest tree team, thanks for another awesome product that follows proven engineering principles.

To make installation easier, I'd highly recommend using http://scoop.sh/ (https://github.com/lukesampson/scoop). It's effectively homebrew for windows. If you guys are too busy, I can help make a PR when I get back to a windows machine next week.

svermeulen commented 7 years ago

No problem - glad you're finding it useful. Sure, we are pretty busy so feel free to submit pull requests.

Related: #32

mrserverless commented 7 years ago

I've started working on this https://github.com/yunspace/scoop-extras/blob/master/projeny.json

To test it out, you can check out my scoop-extras repo and run:

scoop install ./projeny.json

The problem I'm having is that in my installation powershell script https://github.com/yunspace/scoop-extras/blob/master/scripts/projeny.ps1 I'm running:

Start-process -FilePath "$PsScriptRoot\$installer.exe" -ArgumentList "/InstallDirectoryPath=`"$PsScriptRoot`""

But this doesn't seem to pass through the actual installation directory, nor does this run the installer in silent mode. I'm not really a PS expert, so I was wondering do you know what arguments needs to be passed to your installer in order to run it silently and also override the installation directory?