File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import Foundation
22
33enum AppVersion {
4- static let current = " 0.0.2 "
4+ static let current = " 0.0.3 "
55}
Original file line number Diff line number Diff line change 1515 <key >CFBundlePackageType </key >
1616 <string >APPL </string >
1717 <key >CFBundleShortVersionString </key >
18- <string >0.0.2 </string >
18+ <string >0.0.3 </string >
1919 <key >CFBundleVersion </key >
20- <string >0.0.2 </string >
20+ <string >0.0.3 </string >
21+ <key >CFBundleIconFile </key >
22+ <string >AppIcon </string >
2123 <key >LSMinimumSystemVersion </key >
2224 <string >13.0 </string >
2325 <key >LSUIElement </key >
Original file line number Diff line number Diff line change 33<plist version =" 1.0" >
44<dict >
55 <key >files</key >
6- <dict />
6+ <dict >
7+ <key >Resources/AppIcon.icns</key >
8+ <data >
9+ A26n3NegkpM+PZ1E8OeTMccr1D0=
10+ </data >
11+ <key >Resources/StatusBarIcon.png</key >
12+ <data >
13+ zWKqczdTTCt3BlFKHHxNtd/kZEk=
14+ </data >
15+ </dict >
716 <key >files2</key >
8- <dict />
17+ <dict >
18+ <key >Resources/AppIcon.icns</key >
19+ <dict >
20+ <key >hash2</key >
21+ <data >
22+ yIJllQzual6GMig02Wff8dRAJLnNudEP1BzJreGxPUk=
23+ </data >
24+ </dict >
25+ <key >Resources/StatusBarIcon.png</key >
26+ <dict >
27+ <key >hash2</key >
28+ <data >
29+ BdN5yGxhlJBVMPZoZL3xlDk317aDejW0mKICqLpV8z0=
30+ </data >
31+ </dict >
32+ </dict >
933 <key >rules</key >
1034 <dict >
1135 <key >^Resources/</key >
Original file line number Diff line number Diff line change @@ -23,6 +23,15 @@ mkdir -p "$MACOS_DIR" "$RESOURCES_DIR"
2323cp " $ROOT_DIR /.build/release/$EXECUTABLE_NAME " " $MACOS_DIR /$EXECUTABLE_NAME "
2424chmod +x " $MACOS_DIR /$EXECUTABLE_NAME "
2525
26+ # Copy icon resources
27+ if [ -f " $ROOT_DIR /assets/AppIcon.icns" ]; then
28+ cp " $ROOT_DIR /assets/AppIcon.icns" " $RESOURCES_DIR /AppIcon.icns"
29+ fi
30+
31+ if [ -f " $ROOT_DIR /assets/StatusBarIcon.png" ]; then
32+ cp " $ROOT_DIR /assets/StatusBarIcon.png" " $RESOURCES_DIR /StatusBarIcon.png"
33+ fi
34+
2635cat > " $PLIST_PATH " << PLIST
2736<?xml version="1.0" encoding="UTF-8"?>
2837<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
@@ -44,6 +53,8 @@ cat > "$PLIST_PATH" <<PLIST
4453 <string>${VERSION} </string>
4554 <key>CFBundleVersion</key>
4655 <string>${VERSION} </string>
56+ <key>CFBundleIconFile</key>
57+ <string>AppIcon</string>
4758 <key>LSMinimumSystemVersion</key>
4859 <string>13.0</string>
4960 <key>LSUIElement</key>
You can’t perform that action at this time.
0 commit comments