Pack Microsoft Store 4.2.9.0 MSIX (x64+arm64 bundle) and refresh WhatsNew.

Identity Version stays .0 for Partner Center; upload EvilFox_4.2.9.0.msixbundle from dist/microsoft-store.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Navis
2026-08-02 15:55:04 +03:00
co-authored by Cursor
parent 42abbfa8ad
commit 8ebbc90ef6
4 changed files with 31 additions and 41 deletions
+7 -5
View File
@@ -254,12 +254,14 @@ foreach ($a in $archList) {
$manifestText = $manifestText.Replace('Publisher="CN=EvilFox"', "Publisher=`"$Publisher`"")
# Store requires Identity Version revision (4th component) to be 0.
if ($Version -notmatch '^\d+\.\d+\.\d+\.0$') {
Write-Host "WARNING: Partner Center rejects non-zero revision; use e.g. 4.2.8.0 (got '$Version')." -ForegroundColor Yellow
Write-Host "WARNING: Partner Center rejects non-zero revision; use e.g. 4.2.9.0 (got '$Version')." -ForegroundColor Yellow
}
$manifestText = $manifestText.Replace('Version="4.2.8.0"', "Version=`"$Version`"")
$manifestText = $manifestText.Replace('Version="4.2.8.1"', "Version=`"$Version`"")
# Also accept older template version if someone reverts the manifest placeholder.
$manifestText = $manifestText.Replace('Version="4.2.3.1"', "Version=`"$Version`"")
# Only the package Identity Version — not TargetDeviceFamily MinVersion/MaxVersionTested.
$manifestText = [regex]::Replace(
$manifestText,
'(<Identity\b[^>]*\bVersion=")[^"]+(")',
('${1}' + $Version + '${2}')
)
$manifestText = $manifestText.Replace('ProcessorArchitecture="x64"', "ProcessorArchitecture=`"$a`"")
$manifestText = $manifestText.Replace('ProcessorArchitecture="arm64"', "ProcessorArchitecture=`"$a`"")
$manifestText = $manifestText.Replace('<DisplayName>EvilFox</DisplayName>', "<DisplayName>$DisplayName</DisplayName>")