split shortcut creation into multiple lines
This commit is contained in:
parent
8892558637
commit
19a96278b4
1 changed files with 5 additions and 1 deletions
|
@ -171,7 +171,11 @@ PowerShell -Command "Invoke-WebRequest -Uri https://opentabletdriver.net/Release
|
||||||
:: Extract
|
:: Extract
|
||||||
PowerShell -Command "Expand-Archive -Path '%TEMP%\OpenTabletDriver.win-x64.zip' -DestinationPath '%ProgramFiles%\OpenTabletDriver'"
|
PowerShell -Command "Expand-Archive -Path '%TEMP%\OpenTabletDriver.win-x64.zip' -DestinationPath '%ProgramFiles%\OpenTabletDriver'"
|
||||||
:: Create shortcut
|
:: Create shortcut
|
||||||
PowerShell -Command "& { $WshShell = New-Object -comObject WScript.Shell; $Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\OpenTabletDriver.lnk'); $Shortcut.TargetPath = '%ProgramFiles%\OpenTabletDriver\OpenTabletDriver.UX.Wpf.exe'; $Shortcut.WorkingDirectory = '%ProgramFiles%\OpenTabletDriver'; $Shortcut.Save() }"
|
PowerShell -Command "$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||||
|
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\OpenTabletDriver.lnk');" ^
|
||||||
|
"$Shortcut.TargetPath = '%ProgramFiles%\OpenTabletDriver\OpenTabletDriver.UX.Wpf.exe';" ^
|
||||||
|
"$Shortcut.WorkingDirectory = '%ProgramFiles%\OpenTabletDriver';" ^
|
||||||
|
"$Shortcut.Save()"
|
||||||
|
|
||||||
:: WindowsInk
|
:: WindowsInk
|
||||||
PowerShell -Command "Invoke-WebRequest -Uri https://github.com/X9VoiD/vmulti-bin/releases/download/v1.0/Driver.zip -OutFile '%TEMP%\Driver-VMulti.zip'"
|
PowerShell -Command "Invoke-WebRequest -Uri https://github.com/X9VoiD/vmulti-bin/releases/download/v1.0/Driver.zip -OutFile '%TEMP%\Driver-VMulti.zip'"
|
||||||
|
|
Loading…
Reference in a new issue