4 [switch]$Optional=$false
10 Write-Error "Add-ToPath failed for $PATH"
16 # Some Paths that are annoying to find/restore if the installer fails
17 Add-ToPath "C:\Program Files\Git\cmd" # Version control is nice.
18 Add-ToPath "C:\Program Files\Microsoft VS Code\bin" # One Editor to rule them all
19 Add-ToPath "C:\Program Files\Git\cmd" # Version control is nice.
20 Add-ToPath "C:\ProgramData\chocolatey\bin" # Package management is nice.
21 Add-ToPath "C:\Program Files (x86)\GnuWin32\bin" # GNU Utils - i.e. rm
22 Add-ToPath "C:\bin\x16emu" -optional # X16 Emulator
23 Add-ToPath "$env:src\x16-demo\tools" -optional # x16 python tools
24 Add-ToPath "$env:src\flutter\bin" -optional # Flutter for Dart
25 Add-ToPath "$env:src\bin" -optional # anything else I need
28 Add-ToPath "$env:src/bin" -optional # anything else I need
29 Add-ToPath "$HOME/x16/x16-emulator" -optional # x16 Emulator
30 Add-ToPath "$HOME/src/x16-demo/tools" -optional # x16 python tools
34 Add-ToPath "$env:src\chart" -optional # command line chart utility edthedev\chart
35 Add-ToPath "$env:src\agenda" -optional # command line chart utility edthedev\chart
36 Add-ToPath "$env:src\todolist" -optional # todo list utility edthedev\todolist