build/windows: Fix clash of GIMP Preview MSIX with GIMP MSIX on Start Menu

Let's not mention the major version nor minor version anymore on
the Start Menu version. This creates confusion, specially on RCs.
This commit is contained in:
Bruno Lopes 2025-11-22 09:33:08 -03:00
parent 39c80252e5
commit 143e4cb784
No known key found for this signature in database
2 changed files with 2 additions and 8 deletions

View file

@ -235,7 +235,7 @@ foreach ($bundle in $supported_archs)
conf_manifest 'neutral' "$msix_arch"
### Set Identity Name
conf_manifest '@IDENTITY_NAME@' "$IDENTITY_NAME"
### Set Display Name (the name shown in MS Store)
### Set Display Name (the name shown in MS Store, on Start Menu etc)
if (-not $GIMP_RELEASE -or $GIMP_IS_RC_GIT)
{
$display_name='GIMP (Insider)'
@ -253,12 +253,6 @@ foreach ($bundle in $supported_archs)
conf_manifest '@CUSTOM_GIMP_VERSION@' "$CUSTOM_GIMP_VERSION"
### Set some things based on GIMP mutex version (major.minor or major)
conf_manifest '@GIMP_MUTEX_VERSION@' "$GIMP_MUTEX_VERSION"
#### Needed to differentiate on Start Menu etc
if (-not $GIMP_RELEASE -or $GIMP_IS_RC_GIT)
{
$channel_suffix=" (Insider)"
}
conf_manifest '@CHANNEL_SUFFIX@' "$channel_suffix"
#### Needed to differentiate on PowerShell etc
if ($GIMP_RELEASE -and -not $GIMP_IS_RC_GIT)
{

View file

@ -31,7 +31,7 @@
</Resources>
<Applications>
<Application Id="GIMP" Executable="VFS\ProgramFilesX64\GIMP\bin\gimp@MUTEX_SUFFIX@.exe" EntryPoint="Windows.FullTrustApplication">
<uap:VisualElements DisplayName="GIMP @GIMP_MUTEX_VERSION@@CHANNEL_SUFFIX@" Description="GNU Image Manipulation Program" BackgroundColor="transparent" Square150x150Logo="Assets\MedTile.png" Square44x44Logo="Assets\AppList.png">
<uap:VisualElements DisplayName="@DISPLAY_NAME@" Description="GNU Image Manipulation Program" BackgroundColor="transparent" Square150x150Logo="Assets\MedTile.png" Square44x44Logo="Assets\AppList.png">
<uap:DefaultTile Wide310x150Logo="Assets\WideTile.png" Square310x310Logo="Assets\LargeTile.png" Square71x71Logo="Assets\SmallTile.png">
<uap:ShowNameOnTiles>
<uap:ShowOn Tile="square150x150Logo" />