MSIX: fix uninstallation from msix_reinstall and split the scripts (#1183)

This commit is contained in:
yuyoyuppe
2020-02-04 18:56:10 +03:00
committed by GitHub
parent 25e882eb78
commit b41d2d64cb
5 changed files with 12 additions and 11 deletions

View File

@@ -0,0 +1 @@
Add-AppxPackage .\bin\PowerToys.msixbundle

View File

@@ -1,11 +0,0 @@
taskkill /f /im explorer.exe
Get-AppxPackage -Name 'PowerToys' | select -ExpandProperty "PackageFullName" | Remove-AppxPackage
.\build_msix.ps1
signtool sign /debug /a /fd SHA256 /f PowerToys_TemporaryKey.pfx /p 12345 bin\PowerToys-x64.msix
signtool sign /debug /a /fd SHA256 /f PowerToys_TemporaryKey.pfx /p 12345 bin\PowerToys.msixbundle
Add-AppxPackage .\bin\PowerToys.msixbundle
start $Env:windir\explorer.exe

View File

@@ -0,0 +1,8 @@
taskkill /f /im explorer.exe
.\uninstall_msix.ps1
.\build_msix.ps1
.\sign_msix.ps1
.\install_msix.ps1
start $Env:windir\explorer.exe

View File

@@ -0,0 +1,2 @@
signtool sign /debug /a /fd SHA256 /f PowerToys_TemporaryKey.pfx /p 12345 bin\PowerToys-x64.msix
signtool sign /debug /a /fd SHA256 /f PowerToys_TemporaryKey.pfx /p 12345 bin\PowerToys.msixbundle

View File

@@ -0,0 +1 @@
Get-AppxPackage -Name '*PowerToys' | select -ExpandProperty "PackageFullName" | Remove-AppxPackage