contrib: use a zip archive for the MacOS sample app folder

Git cannot track empty folders, use an a zip archive for this.
This commit is contained in:
Antoine Poinsot 2023-08-14 11:52:13 +02:00
parent 0e71137f8c
commit 8a7c283269
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304
5 changed files with 1 additions and 46 deletions

Binary file not shown.

View File

@ -1,44 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<!-- Based on https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html#//apple_ref/doc/uid/10000123i-CH101-SW5 -->
<!-- See also https://github.com/bitcoin/bitcoin/blob/master/share/qt/Info.plist.in as an example. -->
<dict>
<key>CFBundleName</key>
<string>Liana</string>
<key>CFBundleDisplayName</key>
<string>Liana</string>
<key>CFBundleIdentifier</key>
<string>com.wizardsardine.liana</string>
<key>CFBundleVersion</key>
<string>VERSION_PLACEHOLDER</string>
<key>CFBundleShortVersionString</key>
<string>VERSION_PLACEHOLDER</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleExecutable</key>
<string>Liana</string>
<key>LSMinimumSystemVersion</key>
<string>10.15.0</string>
<key>CFBundleIconFile</key>
<string>Liana.icns</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.finance</string>
</dict>
</plist>

View File

@ -1 +0,0 @@
APPL????

View File

@ -61,7 +61,7 @@ TARGET_DIR="$BUILD_DIR" ./contrib/reproducible/docker/docker-build.sh
tar -czf "$MAC_ARCHIVE" "$MAC_DIR_NAME" tar -czf "$MAC_ARCHIVE" "$MAC_DIR_NAME"
cp "$MAC_ARCHIVE" "$RELEASE_DIR" cp "$MAC_ARCHIVE" "$RELEASE_DIR"
cp -r ../contrib/release/macos/Liana.app ./ unzip ../contrib/release/macos/Liana.app.zip ./
sed -i "s/VERSION_PLACEHOLDER/$VERSION/g" ./Liana.app/Contents/Info.plist sed -i "s/VERSION_PLACEHOLDER/$VERSION/g" ./Liana.app/Contents/Info.plist
cp "$BUILD_DIR/gui/x86_64-apple-darwin/release/liana-gui" ./Liana.app/Contents/MacOS/Liana cp "$BUILD_DIR/gui/x86_64-apple-darwin/release/liana-gui" ./Liana.app/Contents/MacOS/Liana
zip -ry Liana-noncodesigned.zip Liana.app zip -ry Liana-noncodesigned.zip Liana.app