We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00de141 commit 07a1139Copy full SHA for 07a1139
create-shortcut.ps1
@@ -36,7 +36,7 @@ try {
36
37
# Set the shortcut properties
38
$Shortcut.TargetPath = "powershell.exe"
39
- $Shortcut.Arguments = "-ExecutionPolicy Bypass -NoExit -Command `"Start-Process PowerShell -ArgumentList '-ExecutionPolicy Bypass -NoExit -File ""$mainScript""' -Verb RunAs`""
+ $Shortcut.Arguments = "-ExecutionPolicy Bypass -NoExit -Command `"Start-Process PowerShell -ArgumentList '-ExecutionPolicy Bypass -NoExit -File `"`"$mainScript`"`"' -Verb RunAs`""
40
$Shortcut.WorkingDirectory = $scriptDir
41
$Shortcut.IconLocation = $iconPath
42
0 commit comments