mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-16 04:29:16 +08:00
5 lines
243 B
PowerShell
5 lines
243 B
PowerShell
|
$version = ([xml](Get-Content ..\Version.props)).Project.PropertyGroup.Version
|
||
|
|
||
|
(Get-Content appxmanifest.xml) `
|
||
|
-replace '(Name="[\.\w]+"\sVersion=")([\d\.]+)"', -join('${1}', $version, '.0"') `
|
||
|
| Out-File -Encoding utf8 appxmanifest.xml
|