topgrade now in winget
This commit is contained in:
parent
14266cfb2b
commit
66ec65e250
1 changed files with 0 additions and 17 deletions
|
@ -302,23 +302,6 @@ PowerShell -Command "" ^
|
||||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\Deceive" /f /v DisplayName /t REG_SZ /d "Deceive"
|
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\Deceive" /f /v DisplayName /t REG_SZ /d "Deceive"
|
||||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\Deceive" /f /v InstallLocation /t REG_SZ /d "%LOCALAPPDATA%\Deceive"
|
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\Deceive" /f /v InstallLocation /t REG_SZ /d "%LOCALAPPDATA%\Deceive"
|
||||||
|
|
||||||
:: :: 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' -Force;" ^
|
|
||||||
:: "Remove-Item -Force $outfile"
|
|
||||||
:: REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\Topgrade" /f /v DisplayName /t REG_SZ /d "Topgrade"
|
|
||||||
:: REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\Topgrade" /f /v InstallLocation /t REG_SZ /d "%ProgramFiles%\Topgrade"
|
|
||||||
|
|
||||||
:: :: Install Xournal++
|
:: :: Install Xournal++
|
||||||
:: ECHO Xournal++...
|
:: ECHO Xournal++...
|
||||||
:: PowerShell -Command "" ^
|
:: PowerShell -Command "" ^
|
||||||
|
|
Loading…
Reference in a new issue