fix path
This commit is contained in:
parent
41ef7a7b26
commit
9ccdc642f7
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ PowerShell -Command "" ^
|
|||
"$exe = 'Deceive.exe';" ^
|
||||
"$link = 'https://github.com/molenzwiebel/Deceive/releases/latest/download/' + $exe;" ^
|
||||
"$outfile = Join-Path -Path '%ProgramFiles%\Deceive' -ChildPath $exe;" ^
|
||||
"Invoke-WebRequest -Uri $link -OutFile $outfile;" ^
|
||||
"Invoke-WebRequest -Uri $link -OutFile '$outfile';" ^
|
||||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Deceive.lnk');" ^
|
||||
"$Shortcut.TargetPath = \"%ProgramFiles%\Deceive\$exe\";" ^
|
||||
|
|
Loading…
Reference in a new issue