use rem for code comments
This commit is contained in:
parent
9aad1ffc3e
commit
ee27d9f3b1
1 changed files with 22 additions and 22 deletions
|
@ -54,7 +54,7 @@ IF NOT "%1"=="noskipadmin" (
|
||||||
:: === Registery modifications ==
|
:: === Registery modifications ==
|
||||||
ECHO Registery entries...
|
ECHO Registery entries...
|
||||||
:: Right click of Windows 10
|
:: Right click of Windows 10
|
||||||
:: REG ADD "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
|
@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
|
||||||
|
@ -101,7 +101,7 @@ REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Au
|
||||||
|
|
||||||
:: Disable web search in start menu
|
:: Disable web search in start menu
|
||||||
:: TODO: Need testing
|
:: TODO: Need testing
|
||||||
:: REG ADD "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v DisableSearchBoxSuggestions /t REG_DWORD /d 1 /f
|
@REM REG ADD "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v DisableSearchBoxSuggestions /t REG_DWORD /d 1 /f
|
||||||
|
|
||||||
:: Disable ad in file explorer
|
:: Disable ad in file explorer
|
||||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowSyncProviderNotifications /t REG_DWORD /d 0 /f
|
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowSyncProviderNotifications /t REG_DWORD /d 0 /f
|
||||||
|
@ -227,10 +227,10 @@ wsl --install --no-distribution
|
||||||
|
|
||||||
|
|
||||||
:: === Activate Windows ==
|
:: === Activate Windows ==
|
||||||
:: TODO: Fix command, see https://massgrave.dev/command_line_switches#uses-in-powershell-one-liner
|
@REM TODO: Fix command, see https://massgrave.dev/command_line_switches#uses-in-powershell-one-liner
|
||||||
:: PowerShell -Command "" ^
|
@REM PowerShell -Command "" ^
|
||||||
:: "& ([ScriptBlock]::Create((irm https://get.activated.win )))" ^
|
@REM "& ([ScriptBlock]::Create((irm https://get.activated.win )))" ^
|
||||||
:: "/HWID"
|
@REM "/HWID"
|
||||||
|
|
||||||
|
|
||||||
:: === Modules for Windows Update ==
|
:: === Modules for Windows Update ==
|
||||||
|
@ -311,22 +311,22 @@ CMD /c "%TEMP%\deceive.bat" yes
|
||||||
:: === Xournal++ ==
|
:: === Xournal++ ==
|
||||||
:: TODO: Winget report an incorrect hash on installation,
|
:: TODO: Winget report an incorrect hash on installation,
|
||||||
:: that's why we're installing it manually
|
:: that's why we're installing it manually
|
||||||
:: ECHO Xournal++...
|
@REM ECHO Xournal++...
|
||||||
:: PowerShell -Command "" ^
|
@REM PowerShell -Command "" ^
|
||||||
:: "$repo = 'xournalpp/xournalpp';" ^
|
@REM "$repo = 'xournalpp/xournalpp';" ^
|
||||||
:: "$releases = \"https://api.github.com/repos/$repo/releases\";" ^
|
@REM "$releases = \"https://api.github.com/repos/$repo/releases\";" ^
|
||||||
:: "$tag = (Invoke-WebRequest $releases | ConvertFrom-Json)[1].tag_name;" ^
|
@REM "$tag = (Invoke-WebRequest $releases | ConvertFrom-Json)[1].tag_name;" ^
|
||||||
:: "$file = \"xournalpp-$($tag.substring(1))-windows.zip\";" ^
|
@REM "$file = \"xournalpp-$($tag.substring(1))-windows.zip\";" ^
|
||||||
:: "$link = \"https://github.com/$repo/releases/download/$tag/$file\";" ^
|
@REM "$link = \"https://github.com/$repo/releases/download/$tag/$file\";" ^
|
||||||
:: "$archive = 'xournalpp.zip';" ^
|
@REM "$archive = 'xournalpp.zip';" ^
|
||||||
:: "$outfile = Join-Path -Path $env:TEMP -ChildPath $archive;" ^
|
@REM "$outfile = Join-Path -Path $env:TEMP -ChildPath $archive;" ^
|
||||||
:: "Invoke-WebRequest -Uri $link -OutFile $outfile;" ^
|
@REM "Invoke-WebRequest -Uri $link -OutFile $outfile;" ^
|
||||||
:: "cd $env:TEMP;" ^
|
@REM "cd $env:TEMP;" ^
|
||||||
:: "Expand-Archive -Path $archive -DestinationPath $env:TEMP -Force;" ^
|
@REM "Expand-Archive -Path $archive -DestinationPath $env:TEMP -Force;" ^
|
||||||
:: "$exe = $env:TEMP + '\' + $file.Substring(0, $file.Length - 3) + 'exe';" ^
|
@REM "$exe = $env:TEMP + '\' + $file.Substring(0, $file.Length - 3) + 'exe';" ^
|
||||||
:: "Start-Process $exe /S;" ^
|
@REM "Start-Process $exe /S;" ^
|
||||||
:: "Remove-Item -Force $outfile;" ^
|
@REM "Remove-Item -Force $outfile;" ^
|
||||||
:: "Remove-Item -Force $exe"
|
@REM "Remove-Item -Force $exe"
|
||||||
|
|
||||||
|
|
||||||
:: === Minecraft ==
|
:: === Minecraft ==
|
||||||
|
|
Loading…
Reference in a new issue