add windows ink

This commit is contained in:
Mylloon 2023-01-04 12:16:11 +01:00
parent f81f6a8cf9
commit ed3aece6b9
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -125,6 +125,17 @@ powershell -Command "Expand-Archive -Path %HOMEPATH%\Downloads\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() }"
:: WindowsInk
powershell -Command "Invoke-WebRequest -Uri https://github.com/X9VoiD/vmulti-bin/releases/download/v1.0/Driver.zip -OutFile %HOMEPATH%\Downloads\Driver-VMulti.zip"
:: Extract
powershell -Command "Expand-Archive -Path %HOMEPATH%\Downloads\Driver-VMulti.zip -DestinationPath %HOMEPATH%\Downloads\Driver-VMulti"
:: Install driver
call %HOMEPATH%\Downloads\Driver-VMulti\64\install_hiddriver.bat
:: Download plugin
powershell -Command "Invoke-WebRequest -Uri https://github.com/X9VoiD/VoiDPlugins/releases/latest/download/WindowsInk.zip -OutFile %HOMEPATH%\Downloads\WindowsInk.zip"
:: Extract plugin
powershell -Command "Expand-Archive -Path %HOMEPATH%\Downloads\WindowsInk.zip -DestinationPath '%LOCALAPPDATA%\OpenTabletDriver\Plugins\Windows Ink'"
:: === Miscellaneous ==
:: Rename shortcut for Minecraft
C:\Users\anri\AppData\Roaming\Microsoft\Windows\Start Menu\Programs