Compare commits

...

3 commits

Author SHA1 Message Date
c3aa81ddcc
xournal++ installation works from winget 2024-10-02 18:38:19 +02:00
5d47ece659
don't install drivers from script 2024-10-02 18:38:09 +02:00
887f6b67fa
keep new right click 2024-10-02 18:37:55 +02:00

View file

@ -54,9 +54,6 @@ IF NOT "%1"=="noskipadmin" (
:: === Registery modifications == :: === Registery modifications ==
ECHO Registery entries... ECHO Registery entries...
:: Right click of Windows 10
@REM REG ADD "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
:: Disabling widgets :: Disabling widgets
REG ADD "HKLM\Software\Policies\Microsoft\Dsh" /v AllowNewsAndInterests /t REG_DWORD /d 0 /f REG ADD "HKLM\Software\Policies\Microsoft\Dsh" /v AllowNewsAndInterests /t REG_DWORD /d 0 /f
@ -187,15 +184,6 @@ for %%i in (!java_jdk!) do (
!pmi! %%i !pmi! %%i
) )
:: Drivers
@REM SET ^"drivers=^
@REM Nvidia.CUDA"
@REM ECHO Drivers...
@REM for %%i in (!drivers!) do (
@REM !pmi! %%i
@REM )
:: Applications :: Applications
SET ^"apps=^ SET ^"apps=^
Mozilla.Firefox M2Team.NanaZip GIMP.GIMP Rem0o.FanControl ^ Mozilla.Firefox M2Team.NanaZip GIMP.GIMP Rem0o.FanControl ^
@ -311,27 +299,6 @@ PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/deceive.ba
CMD /c "%TEMP%\deceive.bat" yes CMD /c "%TEMP%\deceive.bat" yes
:: === Xournal++ ==
:: TODO: Winget report an incorrect hash on installation,
:: that's why we're installing it manually
@REM ECHO Xournal++...
@REM PowerShell -Command "" ^
@REM "$repo = 'xournalpp/xournalpp';" ^
@REM "$releases = \"https://api.github.com/repos/$repo/releases\";" ^
@REM "$tag = (Invoke-WebRequest $releases | ConvertFrom-Json)[1].tag_name;" ^
@REM "$file = \"xournalpp-$($tag.substring(1))-windows.zip\";" ^
@REM "$link = \"https://github.com/$repo/releases/download/$tag/$file\";" ^
@REM "$archive = 'xournalpp.zip';" ^
@REM "$outfile = Join-Path -Path $env:TEMP -ChildPath $archive;" ^
@REM "Invoke-WebRequest -Uri $link -OutFile $outfile;" ^
@REM "cd $env:TEMP;" ^
@REM "Expand-Archive -Path $archive -DestinationPath $env:TEMP -Force;" ^
@REM "$exe = $env:TEMP + '\' + $file.Substring(0, $file.Length - 3) + 'exe';" ^
@REM "Start-Process $exe /S;" ^
@REM "Remove-Item -Force $outfile;" ^
@REM "Remove-Item -Force $exe"
:: === Minecraft == :: === Minecraft ==
:: Copy shortcut of Prism Launcher to a Minecraft shortcut :: Copy shortcut of Prism Launcher to a Minecraft shortcut
COPY /Y "!startmenu!\Prism Launcher.lnk" "!startmenu!\Minecraft.lnk" COPY /Y "!startmenu!\Prism Launcher.lnk" "!startmenu!\Minecraft.lnk"