This commit is contained in:
Mylloon 2023-11-11 14:56:25 +01:00
parent 6c7d2e984c
commit b363d47200
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -22,7 +22,7 @@ Helper for sharing video captured by NVidia Shadowplay in Discord.
"cd $env:TEMP;" ^
"Expand-Archive -Path $archive -DestinationPath '%LOCALAPPDATA%\DSR' -Force;" ^
"Move-Item -Path '%LOCALAPPDATA%\DSR\dsr-win32-x64\*' -Destination '%LOCALAPPDATA%\DSR' -Force;" ^
"Remove-Item '%LOCALAPPDATA%\DSR\dsr-win32-x64';'" ^
"Remove-Item '%LOCALAPPDATA%\DSR\dsr-win32-x64';" ^
"$WshShell = New-Object -comObject WScript.Shell;" ^
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\DSR.lnk');" ^
"$Shortcut.TargetPath = '%LOCALAPPDATA%\DSR\dsr.exe';" ^