mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
[Installer] Fix the Windows product display name and icon
The name was not set at all and was falling back to the fullname being swift. Instead set it explicitly to fullname including version and architecture. The productDisplayIcon is evaluated at installer runtime and needs to be set to a installed icon path. The installer icon itself was to big (> 100 kb) and got unnecessary sizes removed. ref T344
This commit is contained in:
committed by
Klaus Basan
parent
0034d33b77
commit
441d292b54
Binary file not shown.
|
Before Width: | Height: | Size: 361 KiB After Width: | Height: | Size: 34 KiB |
@@ -163,7 +163,8 @@
|
|||||||
<osxApplicationBundleIdentifier>org.swift-project.macinstaller</osxApplicationBundleIdentifier>
|
<osxApplicationBundleIdentifier>org.swift-project.macinstaller</osxApplicationBundleIdentifier>
|
||||||
<osxUninstallerApplicationBundleIcon>../images/swiftinstaller.icns</osxUninstallerApplicationBundleIcon>
|
<osxUninstallerApplicationBundleIcon>../images/swiftinstaller.icns</osxUninstallerApplicationBundleIcon>
|
||||||
<outputDirectory>.</outputDirectory>
|
<outputDirectory>.</outputDirectory>
|
||||||
<productDisplayIcon>../images/swiftinstaller.ico</productDisplayIcon>
|
<productDisplayIcon>${installdir}/share/icons/swiftinstaller.ico</productDisplayIcon>
|
||||||
|
<productDisplayName>${product_fullname} ${project.version} ${architecture}bit</productDisplayName>
|
||||||
<requestedExecutionLevel>highestAvailable</requestedExecutionLevel>
|
<requestedExecutionLevel>highestAvailable</requestedExecutionLevel>
|
||||||
<saveRelativePaths>1</saveRelativePaths>
|
<saveRelativePaths>1</saveRelativePaths>
|
||||||
<startMenuGroupName>swift ${project.version} ${architecture}bit</startMenuGroupName>
|
<startMenuGroupName>swift ${project.version} ${architecture}bit</startMenuGroupName>
|
||||||
|
|||||||
@@ -105,6 +105,17 @@ This installs the binaries to run all swift applications.</detailedDescription>
|
|||||||
</distributionFile>
|
</distributionFile>
|
||||||
</distributionFileList>
|
</distributionFileList>
|
||||||
</folder>
|
</folder>
|
||||||
|
<folder>
|
||||||
|
<description>icons</description>
|
||||||
|
<destination>${installdir}/share/icons</destination>
|
||||||
|
<name>icons</name>
|
||||||
|
<platforms>windows</platforms>
|
||||||
|
<distributionFileList>
|
||||||
|
<distributionFile>
|
||||||
|
<origin>../images/swiftinstaller.ico</origin>
|
||||||
|
</distributionFile>
|
||||||
|
</distributionFileList>
|
||||||
|
</folder>
|
||||||
</folderList>
|
</folderList>
|
||||||
<startMenuShortcutList>
|
<startMenuShortcutList>
|
||||||
<startMenuShortcut>
|
<startMenuShortcut>
|
||||||
|
|||||||
Reference in New Issue
Block a user