Compare commits

..

No commits in common. "c3aa81ddccb85538a23873dcd3fbbc1826f7326f" and "1ae697c12d47fa074382502e39b571cca44b44dc" have entirely different histories.

View file

@ -54,6 +54,9 @@ 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
@ -184,6 +187,15 @@ 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 ^
@ -299,6 +311,27 @@ 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"