mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 03:59:15 +08:00
14 lines
377 B
PowerShell
14 lines
377 B
PowerShell
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\
|