add opentabletdriver
This commit is contained in:
parent
6c87759d6e
commit
bdaaf28fe6
1 changed files with 8 additions and 0 deletions
|
@ -117,6 +117,14 @@ powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/ra
|
|||
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/windows/spotx.bat -OutFile %HOMEPATH%\Documents\Local\spotx.bat"
|
||||
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/windows/update.bat -OutFile %HOMEPATH%\Documents\Local\update.bat"
|
||||
|
||||
:: === OpenTabletDriver ==
|
||||
:: Download
|
||||
powershell -Command "Invoke-WebRequest -Uri https://opentabletdriver.net/Release/Download/OpenTabletDriver.win-x64.zip -OutFile %HOMEPATH%\Downloads\OpenTabletDriver.win-x64.zip"
|
||||
:: Extract
|
||||
powershell -Command "Expand-Archive -Path %HOMEPATH%\Downloads\OpenTabletDriver.win-x64.zip -DestinationPath '%ProgramFiles%\OpenTabletDriver'"
|
||||
:: 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.Save() }"
|
||||
|
||||
:: === Miscellaneous ==
|
||||
:: Rename shortcut for Minecraft
|
||||
C:\Users\anri\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
|
||||
|
|
Loading…
Reference in a new issue