Start Tablet driver at startup

This commit is contained in:
Mylloon 2024-03-14 15:48:48 +01:00
parent 453594fd2a
commit 7e6efa1ee5
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -262,6 +262,15 @@ PowerShell -Command "Invoke-WebRequest -Uri !repo!/opentabletdriver/vertical-sec
ECHO Setting up OpenTabletDriver...
XCOPY "%LOCALAPPDATA%\OpenTabletDriver\Presets\vertical-main.json" "%LOCALAPPDATA%\OpenTabletDriver\settings.json" /-I /Y
:: Start minimized at startup
PowerShell -Command "" ^
"$WshShell = New-Object -comObject WScript.Shell;" ^
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\OpenTabletDriver.lnk');" ^
"$Shortcut.TargetPath = '%ProgramFiles%\OpenTabletDriver\OpenTabletDriver.UX.Wpf.exe';" ^
"$Shortcut.WorkingDirectory = '%ProgramFiles%\OpenTabletDriver';" ^
"$Shortcut.WindowStyle = 7;" ^
"$Shortcut.Save()"
:: Install VALORANT rank yoinker
:: ECHO VALORANT rank yoinker...
:: PowerShell -Command "" ^