diff --git a/windows/update.bat b/windows/update.bat index 1002762..1bf7bdd 100644 --- a/windows/update.bat +++ b/windows/update.bat @@ -18,5 +18,8 @@ winget upgrade -h --all PowerShell -Command "Set-ExecutionPolicy Bypass -Scope Process;" ^ "Get-WindowsUpdate -AcceptAll -Install" +:: Global update +:: "%ProgramFiles%\Topgrade\topgrade.exe" + PAUSE EXIT /B diff --git a/windows11.bat b/windows11.bat index cc11e86..1a22bbb 100644 --- a/windows11.bat +++ b/windows11.bat @@ -247,18 +247,18 @@ PowerShell -Command "Invoke-WebRequest -Uri https://github.com/X9VoiD/VoiDPlugin PowerShell -Command "Expand-Archive -Path '%TEMP%\WindowsInk.zip' -DestinationPath '%LOCALAPPDATA%\OpenTabletDriver\Plugins\Windows Ink'" :: === Install Topgrade == -ECHO Topgrade... -PowerShell -Command "" ^ - "$repo = 'topgrade-rs/topgrade';" ^ - "$releases = \"https://api.github.com/repos/$repo/releases\";" ^ - "$tag = (Invoke-WebRequest $releases | ConvertFrom-Json)[0].tag_name;" ^ - "$file = \"topgrade-$tag-x86_64-pc-windows-msvc.zip\";" ^ - "$link = \"https://github.com/$repo/releases/download/$tag/$file\";" ^ - "$archive = 'topgrade.zip';" ^ - "$outfile = Join-Path -Path $env:TEMP -ChildPath $archive;" ^ - "Invoke-WebRequest -Uri $link -OutFile $outfile;" ^ - "cd $env:TEMP;" ^ - "Expand-Archive -Path $archive -DestinationPath '%ProgramFiles%\Topgrade'" +:: ECHO Topgrade... +:: PowerShell -Command "" ^ +:: "$repo = 'topgrade-rs/topgrade';" ^ +:: "$releases = \"https://api.github.com/repos/$repo/releases\";" ^ +:: "$tag = (Invoke-WebRequest $releases | ConvertFrom-Json)[0].tag_name;" ^ +:: "$file = \"topgrade-$tag-x86_64-pc-windows-msvc.zip\";" ^ +:: "$link = \"https://github.com/$repo/releases/download/$tag/$file\";" ^ +:: "$archive = 'topgrade.zip';" ^ +:: "$outfile = Join-Path -Path $env:TEMP -ChildPath $archive;" ^ +:: "Invoke-WebRequest -Uri $link -OutFile $outfile;" ^ +:: "cd $env:TEMP;" ^ +:: "Expand-Archive -Path $archive -DestinationPath '%ProgramFiles%\Topgrade'" :: === Miscellaneous == :: Rename shortcut for Minecraft