-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
68 additions
and
255 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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
*.dmg | ||
*.pkg | ||
.DS_Store | ||
*.swiftmodule | ||
*.app | ||
|
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
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,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<installer-gui-script minSpecVersion="1"> | ||
<pkg-ref id="dev.ensan.inputmethod.azooKeyMac"/> | ||
<title>azooKey</title> | ||
<options customize="never" require-scripts="false" hostArchitectures="x86_64,arm64"/> | ||
<choices-outline> | ||
<line choice="default"> | ||
<line choice="dev.ensan.inputmethod.azooKeyMac"/> | ||
</line> | ||
</choices-outline> | ||
<choice id="default"/> | ||
<choice id="dev.ensan.inputmethod.azooKeyMac" visible="false"> | ||
<pkg-ref id="dev.ensan.inputmethod.azooKeyMac"/> | ||
</choice> | ||
<pkg-ref id="dev.ensan.inputmethod.azooKeyMac" version="0" onConclusion="none">azooKey-tmp.pkg</pkg-ref> | ||
</installer-gui-script> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,27 @@ | ||
<?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"> | ||
<array> | ||
<dict> | ||
<key>BundleHasStrictIdentifier</key> | ||
<true/> | ||
<key>BundleIsRelocatable</key> | ||
<false/> | ||
<key>BundleIsVersionChecked</key> | ||
<true/> | ||
<key>BundleOverwriteAction</key> | ||
<string>upgrade</string> | ||
<key>ChildBundles</key> | ||
<array> | ||
<dict> | ||
<key>BundleOverwriteAction</key> | ||
<string></string> | ||
<key>RootRelativeBundlePath</key> | ||
<string>azooKeyMac.app/Contents/Resources/AzooKeyKanakanjiConverter_KanaKanjiConverterModuleWithDefaultDictionary.bundle</string> | ||
</dict> | ||
</array> | ||
<key>RootRelativeBundlePath</key> | ||
<string>azooKeyMac.app</string> | ||
</dict> | ||
</array> | ||
</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,22 @@ | ||
set -e | ||
|
||
|
||
# Suppose we have build/azooKeyMac.app | ||
# Use this script to create a plist package for distribution | ||
# pkgbuild --analyze --root ./build/ pkg.plist | ||
|
||
# Create a temporary package | ||
pkgbuild --root ./build/ \ | ||
--component-plist pkg.plist --identifier dev.ensan.inputmethod.azooKeyMac \ | ||
--version 0 \ | ||
--install-location /Library/Input\ Methods \ | ||
azooKey-tmp.pkg | ||
|
||
# Create a distribution file | ||
# productbuild --synthesize --package azooKey-tmp.pkg distribution.xml | ||
|
||
# Build the final package | ||
productbuild --distribution distribution.xml --package-path . azooKey-release.pkg | ||
|
||
# Clean up | ||
rm azooKey-tmp.pkg |