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

Move superdirt install to last step in case it hangs (short term work… #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 9 additions & 14 deletions tidal/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,24 @@ $pulsarPath = Get-AppInstallLocation Pulsar
$apmPath = Join-Path $pulsarPath "Resources\app\ppm\bin"
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") + ";" + $scPath + ";" + $apmPath + ";" + $pulsarPath

### install SuperDirt
Write-Host "Supercollider path: " $scPath
$ChocolateyPackagePath = Get-ChocolateyPath -PathType 'PackagePath'
$quarkinstall_path = $ChocolateyPackagePath + '\tools\quarkinstall.sc'
Write-Host 'Installing SuperDirt sound synth and sample library. This may take time.'
cd $scpath
.\sclang $quarkinstall_path

### install Tidal
Write-Host "Installing tidal library. This may take time."
Write-Host "1/3 Installing tidal library. This may take time."
cabal update
cabal v1-install tidal

## Install the TidalCycles package using apm
cd $apmpath
Write-Host "Installing TidalCycles package"
Write-Host "2/3 Installing TidalCycles package"
Write-Host "path: " $pulsarPath
.\apm.cmd install tidalcycles

Write-Host "If SuperDirt or other Quarks didn't install properly, you can install them in the SuperCollider IDE."
Write-Host "See User Docs install page for details.`n"
### install SuperDirt
Write-Host '3/3 Installing SuperDirt sound synth and sample library. This will take some time.'
Write-Host "NOTE: this process may hang after a successful install, it is safe to ctrl+c if this happens"
$ChocolateyPackagePath = Get-ChocolateyPath -PathType 'PackagePath'
$quarkinstall_path = $ChocolateyPackagePath + '\tools\quarkinstall.sc'
cd $scpath
.\sclang $quarkinstall_path

Write-Host "If there were problems with the plugin install, you may need to manually install."
Write-Host "See: http://tidalcycles.org/docs/getting-started/editor/Pulsar `n"
Write-Host "Get started Tidaling:"
Write-Host 'd1 $ sound "bd [hh hh] sn cr" '