25 lines
580 B
Plaintext
25 lines
580 B
Plaintext
import pathlib
|
|
import platform
|
|
from comictaggerlib.ctversion import __version__
|
|
|
|
app = "ComicTagger"
|
|
exe = app.casefold()
|
|
ver = platform.mac_ver()
|
|
os_version = f"osx-{ver[0]}-{ver[2]}"
|
|
app_name = f"{app}.app"
|
|
final_name = f"{app}-{__version__}-{os_version}"
|
|
path = pathlib.Path(f"dist/{app_name}")
|
|
zip_file = pathlib.Path(f"dist/{final_name}.zip")
|
|
|
|
format = 'ULMO'
|
|
files = (str(path),)
|
|
|
|
symlinks = {'Applications': '/Applications'}
|
|
|
|
icon = pathlib.Path().cwd() / 'build-tools' / 'mac' / 'volume.icns'
|
|
|
|
icon_locations = {
|
|
app_name: (100, 100),
|
|
'Applications': (300, 100)
|
|
}
|