Add Liquid Glass icon and sign the whole app bundle (#1216)
@@ -25,20 +25,26 @@ universal_binaries:
|
|||||||
- name_template: tart.app/Contents/MacOS/tart
|
- name_template: tart.app/Contents/MacOS/tart
|
||||||
replace: true
|
replace: true
|
||||||
hooks:
|
hooks:
|
||||||
post: gon gon.hcl
|
post:
|
||||||
|
- mkdir -p dist/tart_darwin_all/tart.app/Contents/Resources
|
||||||
|
- cp Resources/embedded.provisionprofile dist/tart_darwin_all/tart.app/Contents/
|
||||||
|
- cp Resources/Info.plist dist/tart_darwin_all/tart.app/Contents/
|
||||||
|
- cp "Resources/actool/UPW Tart.icns" "Resources/actool/Assets.car" dist/tart_darwin_all/tart.app/Contents/Resources/
|
||||||
|
- gon gon.hcl
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- name_template: "{{ .ProjectName }}"
|
- name_template: "{{ .ProjectName }}"
|
||||||
files:
|
files:
|
||||||
- src: Resources/embedded.provisionprofile
|
- src: dist/tart_darwin_all/tart.app/Contents/Info.plist
|
||||||
dst: tart.app/Contents
|
dst: tart.app/Contents/Info.plist
|
||||||
strip_parent: true
|
- src: dist/tart_darwin_all/tart.app/Contents/embedded.provisionprofile
|
||||||
- src: Resources/Info.plist
|
dst: tart.app/Contents/embedded.provisionprofile
|
||||||
dst: tart.app/Contents
|
- src: dist/tart_darwin_all/tart.app/Contents/Resources/UPW Tart.icns
|
||||||
strip_parent: true
|
dst: tart.app/Contents/Resources/UPW Tart.icns
|
||||||
- src: Resources/AppIcon.png
|
- src: dist/tart_darwin_all/tart.app/Contents/Resources/Assets.car
|
||||||
dst: tart.app/Contents/Resources
|
dst: tart.app/Contents/Resources/Assets.car
|
||||||
strip_parent: true
|
- src: dist/tart_darwin_all/tart.app/Contents/_CodeSignature/CodeResources
|
||||||
|
dst: tart.app/Contents/_CodeSignature/CodeResources
|
||||||
- LICENSE
|
- LICENSE
|
||||||
|
|
||||||
release:
|
release:
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 120 KiB |
@@ -7,15 +7,17 @@
|
|||||||
<key>CFBundleDisplayName</key>
|
<key>CFBundleDisplayName</key>
|
||||||
<string>Tart</string>
|
<string>Tart</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>org.cirruslabs.tart</string>
|
<string>com.github.cirruslabs.tart</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>tart</string>
|
<string>tart</string>
|
||||||
<key>LSApplicationCategoryType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>public.app-category.developer-tools</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleIconFiles</key>
|
<key>LSApplicationCategoryType</key>
|
||||||
<array>
|
<string>public.app-category.developer-tools</string>
|
||||||
<string>AppIcon.png</string>
|
<key>CFBundleIconFile</key>
|
||||||
</array>
|
<string>UPW Tart</string>
|
||||||
|
<key>CFBundleIconName</key>
|
||||||
|
<string>UPW Tart</string>
|
||||||
<key>NSAppTransportSecurity</key>
|
<key>NSAppTransportSecurity</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>NSAllowsArbitraryLoads</key>
|
<key>NSAllowsArbitraryLoads</key>
|
||||||
|
|||||||
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 106 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 42 KiB |
@@ -0,0 +1,140 @@
|
|||||||
|
{
|
||||||
|
"fill" : "automatic",
|
||||||
|
"groups" : [
|
||||||
|
{
|
||||||
|
"blend-mode" : "normal",
|
||||||
|
"blur-material" : 0.5,
|
||||||
|
"layers" : [
|
||||||
|
{
|
||||||
|
"hidden" : false,
|
||||||
|
"image-name-specializations" : [
|
||||||
|
{
|
||||||
|
"value" : "4.4-–-layer.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "square",
|
||||||
|
"value" : "UPW Tart L4.png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name" : "UPW Tart L4"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"opacity" : 1,
|
||||||
|
"shadow" : {
|
||||||
|
"kind" : "neutral",
|
||||||
|
"opacity" : 1
|
||||||
|
},
|
||||||
|
"specular" : true,
|
||||||
|
"translucency" : {
|
||||||
|
"enabled" : true,
|
||||||
|
"value" : 0.25
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"layers" : [
|
||||||
|
{
|
||||||
|
"image-name-specializations" : [
|
||||||
|
{
|
||||||
|
"value" : "3.3-–-layer.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "square",
|
||||||
|
"value" : "UPW Tart L3.png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name" : "UPW Tart L3",
|
||||||
|
"position-specializations" : [
|
||||||
|
{
|
||||||
|
"idiom" : "square",
|
||||||
|
"value" : {
|
||||||
|
"scale" : 1,
|
||||||
|
"translation-in-points" : [
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"shadow" : {
|
||||||
|
"kind" : "none",
|
||||||
|
"opacity" : 1
|
||||||
|
},
|
||||||
|
"specular" : false,
|
||||||
|
"translucency" : {
|
||||||
|
"enabled" : true,
|
||||||
|
"value" : 0.25
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"blur-material" : null,
|
||||||
|
"layers" : [
|
||||||
|
{
|
||||||
|
"image-name-specializations" : [
|
||||||
|
{
|
||||||
|
"value" : "2.2-–-layer.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "square",
|
||||||
|
"value" : "UPW Tart L2.png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name" : "UPW Tart L2"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"position-specializations" : [
|
||||||
|
{
|
||||||
|
"idiom" : "square",
|
||||||
|
"value" : {
|
||||||
|
"scale" : 1,
|
||||||
|
"translation-in-points" : [
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"shadow" : {
|
||||||
|
"kind" : "none",
|
||||||
|
"opacity" : 1
|
||||||
|
},
|
||||||
|
"specular" : true,
|
||||||
|
"translucency" : {
|
||||||
|
"enabled" : true,
|
||||||
|
"value" : 0.25
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"layers" : [
|
||||||
|
{
|
||||||
|
"image-name-specializations" : [
|
||||||
|
{
|
||||||
|
"value" : "1.1-–-layer.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "square",
|
||||||
|
"value" : "UPW Tart L1.png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name" : "UPW Tart L1"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"shadow" : {
|
||||||
|
"kind" : "layer-color",
|
||||||
|
"opacity" : 0.5
|
||||||
|
},
|
||||||
|
"specular" : true,
|
||||||
|
"translucency" : {
|
||||||
|
"enabled" : true,
|
||||||
|
"value" : 0.25
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"supported-platforms" : {
|
||||||
|
"circles" : [
|
||||||
|
"watchOS"
|
||||||
|
],
|
||||||
|
"squares" : "shared"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
<?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>CFBundleIconFile</key>
|
||||||
|
<string>UPW Tart</string>
|
||||||
|
<key>CFBundleIconName</key>
|
||||||
|
<string>UPW Tart</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Set shell options to enable fail-fast behavior
|
||||||
|
#
|
||||||
|
# * -e: fail the script when an error occurs or command fails
|
||||||
|
# * -u: fail the script when attempting to reference unset parameters
|
||||||
|
# * -o pipefail: by default an exit status of a pipeline is that of its
|
||||||
|
# last command, this fails the pipe early if an error in
|
||||||
|
# any of its commands occurs
|
||||||
|
#
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
OUTPUT_PATH="Resources/actool"
|
||||||
|
PLIST_PATH="$OUTPUT_PATH/Info.plist"
|
||||||
|
|
||||||
|
rm -rf "${OUTPUT_PATH}"
|
||||||
|
mkdir -p "${OUTPUT_PATH}"
|
||||||
|
|
||||||
|
actool "Resources/UPW Tart.icon" \
|
||||||
|
--compile "${OUTPUT_PATH}" \
|
||||||
|
--output-format human-readable-text \
|
||||||
|
--notices \
|
||||||
|
--warnings \
|
||||||
|
--errors \
|
||||||
|
--app-icon "UPW Tart" \
|
||||||
|
--output-partial-info-plist $PLIST_PATH \
|
||||||
|
--include-all-app-icons \
|
||||||
|
--target-device mac \
|
||||||
|
--minimum-deployment-target 13.0 \
|
||||||
|
--platform macosx
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
source = [ "dist/tart_darwin_all/tart.app/Contents/MacOS/tart" ]
|
source = [ "dist/tart_darwin_all/tart.app" ]
|
||||||
bundle_id = "com.github.cirruslabs.tart"
|
bundle_id = "com.github.cirruslabs.tart"
|
||||||
|
|
||||||
apple_id {
|
apple_id {
|
||||||
|
|||||||
@@ -6,13 +6,14 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
swift build --product tart
|
swift build --product tart
|
||||||
codesign --sign - --entitlements Resources/tart-dev.entitlements --force .build/debug/tart
|
|
||||||
|
|
||||||
rm -Rf .build/tart.app/
|
rm -Rf .build/tart.app/
|
||||||
mkdir -p .build/tart.app/Contents/MacOS .build/tart.app/Contents/Resources
|
mkdir -p .build/tart.app/Contents/MacOS .build/tart.app/Contents/Resources
|
||||||
cp -c .build/debug/tart .build/tart.app/Contents/MacOS/tart
|
cp -c .build/debug/tart .build/tart.app/Contents/MacOS/tart
|
||||||
cp -c Resources/embedded.provisionprofile .build/tart.app/Contents/embedded.provisionprofile
|
cp -c Resources/embedded.provisionprofile .build/tart.app/Contents/embedded.provisionprofile
|
||||||
cp -c Resources/Info.plist .build/tart.app/Contents/Info.plist
|
cp -c Resources/Info.plist .build/tart.app/Contents/Info.plist
|
||||||
cp -c Resources/AppIcon.png .build/tart.app/Contents/Resources
|
cp -c "Resources/actool/UPW Tart.icns" "Resources/actool/Assets.car" .build/tart.app/Contents/Resources/
|
||||||
|
|
||||||
|
codesign --sign - --entitlements Resources/tart-dev.entitlements --force .build/tart.app
|
||||||
|
|
||||||
.build/tart.app/Contents/MacOS/tart "$@"
|
.build/tart.app/Contents/MacOS/tart "$@"
|
||||||
|
|||||||