-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Info plist to mac resources (#5986)
* add Info plist to mac resources Based on https://hg.openjdk.java.net/jdk/jdk/file/tip/src/jdk.incubator.jpackage/macosx/classes/jdk/incubator/jpackage/internal/resources/Runtime-Info.plist.template * rename to Runtime-Info.plist * Rename Runtime-Info.plist to Runtime-Info.plist.template * Create Info-lite.plist.template Try with this file * Update Runtime-Info.plist.template * Try to load resources already for image creation * experiment with tempalte and plist without template Co-authored-by: Tobias Diez <[email protected]>
- Loading branch information
1 parent
d7a57b8
commit 1486358
Showing
4 changed files
with
130 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" ?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>10.9</string> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleAllowMixedLocalizations</key> | ||
<true/> | ||
<key>CFBundleExecutable</key> | ||
<string>DEPLOY_LAUNCHER_NAME</string> | ||
<key>CFBundleIconFile</key> | ||
<string>DEPLOY_ICON_FILE</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>DEPLOY_BUNDLE_IDENTIFIER</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>DEPLOY_BUNDLE_NAME</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>DEPLOY_BUNDLE_SHORT_VERSION</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<!-- See https://developer.apple.com/app-store/categories/ for list of AppStore categories --> | ||
<key>LSApplicationCategoryType</key> | ||
<string>Unknown</string> | ||
<key>CFBundleVersion</key> | ||
<string>DEPLOY_BUNDLE_CFBUNDLE_VERSION</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string>DEPLOY_BUNDLE_COPYRIGHT</string>DEPLOY_FILE_ASSOCIATIONS | ||
<key>NSHighResolutionCapable</key> | ||
<string>true</string> | ||
<key>NSSupportsAutomaticGraphicsSwitching</key> | ||
<true/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleExecutable</key> | ||
<string>libjli.dylib</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>CF_BUNDLE_IDENTIFIER</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>7.0</string> | ||
<key>CFBundleName</key> | ||
<string>CF_BUNDLE_NAME</string> | ||
<key>CFBundlePackageType</key> | ||
<string>BNDL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>CF_BUNDLE_SHORT_VERSION_STRING</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>CF_BUNDLE_VERSION</string> | ||
<key>NSSupportsAutomaticGraphicsSwitching</key> | ||
<true/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleExecutable</key> | ||
<string>libjli.dylib</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>CF_BUNDLE_IDENTIFIER</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>7.0</string> | ||
<key>CFBundleName</key> | ||
<string>CF_BUNDLE_NAME</string> | ||
<key>CFBundlePackageType</key> | ||
<string>BNDL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>CF_BUNDLE_SHORT_VERSION_STRING</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>CF_BUNDLE_VERSION</string> | ||
<key>NSSupportsAutomaticGraphicsSwitching</key> | ||
<true/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" ?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>10.9</string> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleAllowMixedLocalizations</key> | ||
<true/> | ||
<key>CFBundleExecutable</key> | ||
<string>DEPLOY_LAUNCHER_NAME</string> | ||
<key>CFBundleIconFile</key> | ||
<string>DEPLOY_ICON_FILE</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>DEPLOY_BUNDLE_IDENTIFIER</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>DEPLOY_BUNDLE_NAME</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>DEPLOY_BUNDLE_SHORT_VERSION</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<!-- See https://developer.apple.com/app-store/categories/ for list of AppStore categories --> | ||
<key>LSApplicationCategoryType</key> | ||
<string>Unknown</string> | ||
<key>CFBundleVersion</key> | ||
<string>DEPLOY_BUNDLE_CFBUNDLE_VERSION</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string>DEPLOY_BUNDLE_COPYRIGHT</string>DEPLOY_FILE_ASSOCIATIONS | ||
<key>NSHighResolutionCapable</key> | ||
<string>true</string> | ||
<key>NSSupportsAutomaticGraphicsSwitching</key> | ||
<true/> | ||
</dict> | ||
</plist> |