mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 22:55:46 +01:00
Add app icon (#49)
This commit is contained in:
parent
e267ade613
commit
9ab09e89b6
4 changed files with 8 additions and 6 deletions
10
Buzz.spec
10
Buzz.spec
|
|
@ -1,4 +1,6 @@
|
|||
# -*- mode: python ; coding: utf-8 -*-
|
||||
import os
|
||||
|
||||
from PyInstaller.utils.hooks import collect_data_files, copy_metadata
|
||||
|
||||
datas = []
|
||||
|
|
@ -38,6 +40,7 @@ exe = EXE(
|
|||
pyz,
|
||||
a.scripts,
|
||||
[],
|
||||
icon='./assets/buzz.ico',
|
||||
exclude_binaries=True,
|
||||
name='Buzz',
|
||||
debug=True,
|
||||
|
|
@ -64,11 +67,10 @@ coll = COLLECT(
|
|||
app = BUNDLE(
|
||||
coll,
|
||||
name='Buzz.app',
|
||||
icon=None,
|
||||
bundle_identifier=None,
|
||||
version='0.0.1',
|
||||
icon='./assets/buzz.icns',
|
||||
bundle_identifier='com.chidiwilliams.buzz',
|
||||
version=os.getenv('BUZZ_VERSION', '0.0.1'),
|
||||
info_plist={
|
||||
'NSPrincipalClass': 'NSApplication',
|
||||
'NSMicrophoneUsageDescription': 'Please provide microphone access to continue'
|
||||
}
|
||||
)
|
||||
|
|
|
|||
4
Makefile
4
Makefile
|
|
@ -75,11 +75,11 @@ dmg_mac:
|
|||
ditto -x -k "${mac_zip_path}" dist/dmg
|
||||
create-dmg \
|
||||
--volname "Buzz" \
|
||||
--volicon "dist/Buzz.app/Contents/Resources/icon-windowed.icns" \
|
||||
--volicon "./assets/buzz.icns" \
|
||||
--window-pos 200 120 \
|
||||
--window-size 600 300 \
|
||||
--icon-size 100 \
|
||||
--icon "dist/Buzz.app/Contents/Resources/icon-windowed.icns" 175 120 \
|
||||
--icon "./assets/buzz.icns" 175 120 \
|
||||
--hide-extension "Buzz.app" \
|
||||
--app-drop-link 425 120 \
|
||||
--codesign "$$BUZZ_CODESIGN_IDENTITY" \
|
||||
|
|
|
|||
BIN
assets/buzz.icns
Normal file
BIN
assets/buzz.icns
Normal file
Binary file not shown.
BIN
assets/buzz.ico
Normal file
BIN
assets/buzz.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 279 KiB |
Loading…
Add table
Add a link
Reference in a new issue