Fixing slight bugs specific to macosx. TODO: Put native menu for MacOS like in AccountFree.

This commit is contained in:
Adsooi 2021-06-22 18:47:10 +02:00
parent f639fb6fd8
commit 7be5722311
3 changed files with 2 additions and 2 deletions

View file

@ -99,7 +99,7 @@ def run():
"freebsd": get_linux_theme(), "freebsd": get_linux_theme(),
"win32": "universal" if os_release == "10" else "fusion", "win32": "universal" if os_release == "10" else "fusion",
"cygwin": "fusion", "cygwin": "fusion",
"darwin": "imagine" "darwin": "default"
}[platform] }[platform]
app = QApplication(argv) app = QApplication(argv)

View file

@ -3,7 +3,7 @@
rm $(find . -name "*.qmlc") rm $(find . -name "*.qmlc")
rm $(find . -name "*.pyc") rm $(find . -name "*.pyc")
python3 -m pip install -U pyinstaller python3 -m pip install -U pyinstaller
iconutil -c icns "mac/logarithmplotter.iconset" \ iconutil -c icns "mac/logarithmplotter.iconset"
pyinstaller --add-data "LogarithmPlotter/qml:qml" \ pyinstaller --add-data "LogarithmPlotter/qml:qml" \
--add-data "LICENSE.md:." \ --add-data "LICENSE.md:." \
--add-data "README.md:." \ --add-data "README.md:." \

Binary file not shown.