File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 77 inside the active conda environment and writes a .lnk shortcut.
88
99 Without -AllUsers (default): writes to your personal desktop
10- (~\Desktop). No admin rights required — use this to test first.
10+ (~\Desktop). No admin rights required - use this to test first.
1111
1212 With -AllUsers: writes to C:\Users\Public\Desktop so every user on
1313 the machine sees the shortcut. Requires Administrator privileges.
2727 (C:\Users\Public\Desktop). Requires Administrator privileges.
2828
2929. EXAMPLE
30- # Test as a normal user — shortcut appears on your own desktop:
30+ # Test as a normal user - shortcut appears on your own desktop:
3131 conda activate picasso-workflow
3232 powershell -ExecutionPolicy Bypass -File tools\deploy_gui_shortcut.ps1
3333
3434. EXAMPLE
35- # Deploy to all users — run from an elevated prompt:
35+ # Deploy to all users - run from an elevated prompt:
3636 powershell -ExecutionPolicy Bypass -File tools\deploy_gui_shortcut.ps1 -AllUsers
3737#>
3838
@@ -124,7 +124,7 @@ Make sure the package is installed in this environment:
124124$IconPath = Join-Path $CondaEnvPath " Lib\site-packages\picasso_workflow\picasso-workflow.ico"
125125
126126if (-not (Test-Path $IconPath )) {
127- Write-Warning " Icon not found at $IconPath — shortcut will use the default Python icon."
127+ Write-Warning " Icon not found at $IconPath - shortcut will use the default Python icon."
128128 $IconPath = $ExePath
129129}
130130
You can’t perform that action at this time.
0 commit comments