Skip to content

Commit 64d562d

Browse files
authored
[1.1.0] Added icons (#20)
1 parent 1ca85a0 commit 64d562d

22 files changed

Lines changed: 1177 additions & 714 deletions

.github/workflows/build-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
mkdir -p jb_updater-bundle
5252
cp jb_updater/jb_updater jb_updater-bundle/
5353
cp jb_updater/jb_updater_gui jb_updater-bundle/
54+
cp jb_updater/assets/jb_updater.svg jb_updater-bundle/
5455
tar -czf jb_updater-bundle-linux-x86_64.tar.gz -C jb_updater-bundle .
5556
- uses: actions/upload-artifact@v4
5657
with:
@@ -146,13 +147,14 @@ jobs:
146147
cd ..
147148
zip -ry jb_updater-bundle-macos-${ARCH}.zip jb_updater-bundle
148149
149-
# .app bundle with dylibs inside
150+
# .app bundle with dylibs + icon inside
150151
APP_ROOT="JBUpdater.app/Contents"
151152
mkdir -p "$APP_ROOT/MacOS" "$APP_ROOT/Resources"
152153
cp jb_updater/jb_updater_gui "$APP_ROOT/MacOS/"
153154
cp jb_updater/jb_updater "$APP_ROOT/MacOS/"
154155
cp jb_updater/libcrypto.3.dylib "$APP_ROOT/MacOS/"
155156
cp jb_updater/libssl.3.dylib "$APP_ROOT/MacOS/"
157+
cp jb_updater/assets/jb_updater.icns "$APP_ROOT/Resources/"
156158
157159
cat > "$APP_ROOT/Info.plist" <<'PLIST'
158160
<?xml version="1.0" encoding="UTF-8"?>
@@ -162,6 +164,7 @@ jobs:
162164
<key>CFBundleIdentifier</key><string>com.example.jb-updater</string>
163165
<key>CFBundleVersion</key><string>1.0</string>
164166
<key>CFBundleExecutable</key><string>jb_updater_gui</string>
167+
<key>CFBundleIconFile</key><string>jb_updater</string>
165168
<key>LSMinimumSystemVersion</key><string>11.0</string>
166169
<key>NSHighResolutionCapable</key><true/>
167170
</dict></plist>

jb_updater/assets/jb_updater.icns

93 KB
Binary file not shown.

jb_updater/assets/jb_updater.ico

279 KB
Binary file not shown.

jb_updater/assets/jb_updater.svg

Lines changed: 5 additions & 0 deletions
Loading
2.64 KB
Loading
447 Bytes
Loading
5.21 KB
Loading
720 Bytes
Loading
921 Bytes
Loading
10.9 KB
Loading

0 commit comments

Comments
 (0)