mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
[ContextMenu Packages] Prefix identity and app id with Microsoft.PowerToys (#20881)
* [ContextMenu Packages] Prefix identity and app id with Microsoft.PowerToys * TEST: Set packages versions * Fix packages version format * Update display name
This commit is contained in:
@@ -40,3 +40,21 @@ $verProps.Project.PropertyGroup.DevEnvironment = $DevEnvironment;
|
|||||||
|
|
||||||
Write-Host "xml" $verProps.Project.PropertyGroup.Version
|
Write-Host "xml" $verProps.Project.PropertyGroup.Version
|
||||||
$verProps.Save($verPropWriteFileLocation);
|
$verProps.Save($verPropWriteFileLocation);
|
||||||
|
|
||||||
|
# Set PowerRenameContextMenu package version in AppManifest.xml
|
||||||
|
$powerRenameContextMenuAppManifestWriteFileLocation = $PSScriptRoot + '/../src/modules/powerrename/PowerRenameContextMenu/AppxManifest.xml';
|
||||||
|
$powerRenameContextMenuAppManifestReadFileLocation = $powerRenameContextMenuAppManifestWriteFileLocation;
|
||||||
|
|
||||||
|
[XML]$powerRenameContextMenuAppManifest = Get-Content $powerRenameContextMenuAppManifestReadFileLocation
|
||||||
|
$powerRenameContextMenuAppManifest.Package.Identity.Version = $versionNumber + '.0'
|
||||||
|
Write-Host "PowerRenameContextMenu version" $powerRenameContextMenuAppManifest.Package.Identity.Version
|
||||||
|
$powerRenameContextMenuAppManifest.Save($powerRenameContextMenuAppManifestWriteFileLocation);
|
||||||
|
|
||||||
|
# Set ImageResizerContextMenu package version in AppManifest.xml
|
||||||
|
$imageResizerContextMenuAppManifestWriteFileLocation = $PSScriptRoot + '/../src/modules/imageresizer/ImageResizerContextMenu/AppxManifest.xml';
|
||||||
|
$imageResizerContextMenuAppManifestReadFileLocation = $imageResizerContextMenuAppManifestWriteFileLocation;
|
||||||
|
|
||||||
|
[XML]$imageResizerContextMenuAppManifest = Get-Content $imageResizerContextMenuAppManifestReadFileLocation
|
||||||
|
$imageResizerContextMenuAppManifest.Package.Identity.Version = $versionNumber + '.0'
|
||||||
|
Write-Host "ImageResizerContextMenu version" $imageResizerContextMenuAppManifest.Package.Identity.Version
|
||||||
|
$imageResizerContextMenuAppManifest.Save($imageResizerContextMenuAppManifestWriteFileLocation);
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
IgnorableNamespaces="uap uap2 uap3 rescap desktop desktop4 desktop5 uap10 com">
|
IgnorableNamespaces="uap uap2 uap3 rescap desktop desktop4 desktop5 uap10 com">
|
||||||
<Identity Name="Microsoft.PowerToys.ImageResizerContextMenu" ProcessorArchitecture="neutral" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="1.0.0.0" />
|
<Identity Name="Microsoft.PowerToys.ImageResizerContextMenu" ProcessorArchitecture="neutral" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="1.0.0.0" />
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>Microsoft.PowerToys.ImageResizerContextMenu</DisplayName>
|
<DisplayName>PowerToys ImageResizer Context Menu</DisplayName>
|
||||||
<PublisherDisplayName>Microsoft</PublisherDisplayName>
|
<PublisherDisplayName>Microsoft</PublisherDisplayName>
|
||||||
<Logo>Assets\storelogo.png</Logo>
|
<Logo>Assets\storelogo.png</Logo>
|
||||||
<uap10:AllowExternalContent>true</uap10:AllowExternalContent>
|
<uap10:AllowExternalContent>true</uap10:AllowExternalContent>
|
||||||
@@ -29,8 +29,8 @@
|
|||||||
<rescap:Capability Name="unvirtualizedResources"/>
|
<rescap:Capability Name="unvirtualizedResources"/>
|
||||||
</Capabilities>
|
</Capabilities>
|
||||||
<Applications>
|
<Applications>
|
||||||
<Application Id="ImageResizerContextMenu" Executable="ImageResizer.exe" uap10:TrustLevel="mediumIL" uap10:RuntimeBehavior="win32App">
|
<Application Id="Microsoft.PowerToys.ImageResizerContextMenu" Executable="ImageResizer.exe" uap10:TrustLevel="mediumIL" uap10:RuntimeBehavior="win32App">
|
||||||
<uap:VisualElements AppListEntry="none" DisplayName="ImageResizerContextMenu" Description="ImageResizerContextMenu" BackgroundColor="transparent" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png">
|
<uap:VisualElements AppListEntry="none" DisplayName="PowerToys ImageResizer Context Menu" Description="ImageResizerContextMenu" BackgroundColor="transparent" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png">
|
||||||
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" Square310x310Logo="Assets\LargeTile.png" Square71x71Logo="Assets\SmallTile.png"></uap:DefaultTile>
|
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" Square310x310Logo="Assets\LargeTile.png" Square71x71Logo="Assets\SmallTile.png"></uap:DefaultTile>
|
||||||
<uap:SplashScreen Image="Assets\SplashScreen.png" />
|
<uap:SplashScreen Image="Assets\SplashScreen.png" />
|
||||||
</uap:VisualElements>
|
</uap:VisualElements>
|
||||||
|
|||||||
@@ -11,9 +11,9 @@
|
|||||||
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
|
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
|
||||||
xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10"
|
xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10"
|
||||||
IgnorableNamespaces="uap uap2 uap3 rescap desktop desktop4 desktop5 uap10 com">
|
IgnorableNamespaces="uap uap2 uap3 rescap desktop desktop4 desktop5 uap10 com">
|
||||||
<Identity Name="PowerRenameContextMenu" ProcessorArchitecture="neutral" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="1.0.0.0" />
|
<Identity Name="Microsoft.PowerToys.PowerRenameContextMenu" ProcessorArchitecture="neutral" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="1.0.0.0" />
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>PowerRenameContextMenu</DisplayName>
|
<DisplayName>PowerToys PowerRename Context Menu</DisplayName>
|
||||||
<PublisherDisplayName>Microsoft</PublisherDisplayName>
|
<PublisherDisplayName>Microsoft</PublisherDisplayName>
|
||||||
<Logo>Assets\storelogo.png</Logo>
|
<Logo>Assets\storelogo.png</Logo>
|
||||||
<uap10:AllowExternalContent>true</uap10:AllowExternalContent>
|
<uap10:AllowExternalContent>true</uap10:AllowExternalContent>
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
</Capabilities>
|
</Capabilities>
|
||||||
<Applications>
|
<Applications>
|
||||||
<Application Id="Microsoft.PowerToys.PowerRenameContextMenu" Executable="PowerRename.exe" uap10:TrustLevel="mediumIL" uap10:RuntimeBehavior="win32App">
|
<Application Id="Microsoft.PowerToys.PowerRenameContextMenu" Executable="PowerRename.exe" uap10:TrustLevel="mediumIL" uap10:RuntimeBehavior="win32App">
|
||||||
<uap:VisualElements AppListEntry="none" DisplayName="Microsoft.PowerToys.PowerRenameContextMenu" Description="PowerRenameContextMenu" BackgroundColor="transparent" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png">
|
<uap:VisualElements AppListEntry="none" DisplayName="PowerToys PowerRename Context Menu" Description="PowerRenameContextMenu" BackgroundColor="transparent" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png">
|
||||||
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" Square310x310Logo="Assets\LargeTile.png" Square71x71Logo="Assets\SmallTile.png"></uap:DefaultTile>
|
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" Square310x310Logo="Assets\LargeTile.png" Square71x71Logo="Assets\SmallTile.png"></uap:DefaultTile>
|
||||||
<uap:SplashScreen Image="Assets\SplashScreen.png" />
|
<uap:SplashScreen Image="Assets\SplashScreen.png" />
|
||||||
</uap:VisualElements>
|
</uap:VisualElements>
|
||||||
|
|||||||
Reference in New Issue
Block a user