mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-18 06:29:44 +08:00
MSIX: fix uninstallation from msix_reinstall and split the scripts (#1183)
This commit is contained in:
parent
25e882eb78
commit
b41d2d64cb
1
installer/MSIX/install_msix.ps1
Normal file
1
installer/MSIX/install_msix.ps1
Normal file
@ -0,0 +1 @@
|
||||
Add-AppxPackage .\bin\PowerToys.msixbundle
|
@ -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
|
8
installer/MSIX/reinstall_msix.ps1
Normal file
8
installer/MSIX/reinstall_msix.ps1
Normal 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
|
2
installer/MSIX/sign_msix.ps1
Normal file
2
installer/MSIX/sign_msix.ps1
Normal 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
|
1
installer/MSIX/uninstall_msix.ps1
Normal file
1
installer/MSIX/uninstall_msix.ps1
Normal file
@ -0,0 +1 @@
|
||||
Get-AppxPackage -Name '*PowerToys' | select -ExpandProperty "PackageFullName" | Remove-AppxPackage
|
Loading…
Reference in New Issue
Block a user