mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 09:00:26 +00:00
macos dist fixes
This commit is contained in:
parent
97ff085e15
commit
227559a7df
2 changed files with 49 additions and 1 deletions
2
dist/jpackage.gradle
vendored
2
dist/jpackage.gradle
vendored
|
@ -119,7 +119,7 @@ task prepareMacOSInfo(type: DefaultTask) {
|
||||||
doLast {
|
doLast {
|
||||||
file("${project.layout.buildDirectory.get()}/macos_resources").mkdirs()
|
file("${project.layout.buildDirectory.get()}/macos_resources").mkdirs()
|
||||||
copy {
|
copy {
|
||||||
from replaceVariablesInFile("$projectDir/misc/mac/Info.plist",
|
from replaceVariablesInFile("$projectDir/jpackage/Info.plist",
|
||||||
Map.of('__NAME__',
|
Map.of('__NAME__',
|
||||||
rootProject.productName,
|
rootProject.productName,
|
||||||
'__VERSION__',
|
'__VERSION__',
|
||||||
|
|
48
dist/jpackage/Info.plist
vendored
Normal file
48
dist/jpackage/Info.plist
vendored
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleAllowMixedLocalizations</key>
|
||||||
|
<true/>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>xpiped</string>
|
||||||
|
<key>CFBundleIconFile</key>
|
||||||
|
<string>xpiped.icns</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>__BUNDLE__</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>__NAME__</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>APPL</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleURLTypes</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleURLName</key>
|
||||||
|
<string>io.xpipe.URLScheme</string>
|
||||||
|
<key>CFBundleURLSchemes</key>
|
||||||
|
<array>
|
||||||
|
<string>xpipe</string>
|
||||||
|
<string>ssh</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>LSApplicationCategoryType</key>
|
||||||
|
<string>public.app-category.developer-tools</string>
|
||||||
|
<key>LSMinimumSystemVersion</key>
|
||||||
|
<string>10.11</string>
|
||||||
|
<key>NSHighResolutionCapable</key>
|
||||||
|
<string>true</string>
|
||||||
|
<key>NSHumanReadableCopyright</key>
|
||||||
|
<string>Copyright (C) 2024</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>__VERSION__</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>__VERSION__</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
Loading…
Reference in a new issue