mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
MSIX: add debug configuration option for package building (#1561)
This commit is contained in:
@@ -1 +1,13 @@
|
|||||||
makeappx build /v /overwrite /f PackagingLayout.xml /id "PowerToys-x64" /op bin\
|
param (
|
||||||
|
[bool]$debug = 0
|
||||||
|
)
|
||||||
|
|
||||||
|
$PackagingLayoutFile = "PackagingLayout.xml"
|
||||||
|
|
||||||
|
if ($debug) {
|
||||||
|
(Get-Content $PackagingLayoutFile) `
|
||||||
|
-replace 'x64\\Release\\', 'x64\Debug\' `
|
||||||
|
| Out-File -Encoding utf8 "$env:temp\$PackagingLayoutFile"
|
||||||
|
$PackagingLayoutFile = "$env:temp\$PackagingLayoutFile"
|
||||||
|
}
|
||||||
|
makeappx build /v /overwrite /f $PackagingLayoutFile /id "PowerToys-x64" /op bin\
|
||||||
|
|||||||
Reference in New Issue
Block a user