Skip to content

Commit 6f2054d

Browse files
committed
build: set icon, remove distpath for spec file, allow high resolution (#9)
1 parent 2240204 commit 6f2054d

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

build-recipes/PyJibe.icns

55.6 KB
Binary file not shown.

build-recipes/macos_PyJibe.spec

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,9 @@ coll = COLLECT(exe,
4242
name='PyJibe')
4343
app = BUNDLE(coll,
4444
name='PyJibe.app',
45-
icon=None,
46-
bundle_identifier=None)
45+
icon='PyJibe.icns',
46+
bundle_identifier=None,
47+
info_plist = {
48+
'NSHighResolutionCapable' : 'True',
49+
}
50+
)

build-recipes/macos_build_app.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ else
2525
fi
2626

2727
SPEC="./macos_${NAME}.spec"
28-
APP="./dist_app/${NAME}.app"
29-
DMG="./dist_app/${NAMEVERSION}.dmg"
30-
PKG="./dist_app/${NAME}.pkg"
31-
TMP="./dist_app/pack.temp.dmg"
28+
APP="./dist/${NAME}.app"
29+
DMG="./dist/${NAMEVERSION}.dmg"
30+
PKG="./dist/${NAME}.pkg"
31+
TMP="./dist/pack.temp.dmg"
3232

3333
# cleanup from previous builds
3434
rm -rf ./build
3535
rm -rf ./dist_app
3636

3737
pip install -r macos_build_requirements.txt
3838

39-
pyinstaller -y --log-level=WARN --distpath="./dist_app" ${SPEC}
39+
pyinstaller -y --log-level=WARN ${SPEC}
4040

4141
# Test the binary by executing it with --version argument
4242
echo ""

0 commit comments

Comments
 (0)