fix: fix macOS build - icon path, version parsing, i18n imports
Some checks failed
Syntax / Linting and Type Checking (push) Has been cancelled
Tests / Linux Python 3.11 (push) Has been cancelled
Tests / Linux Python 3.12 (push) Has been cancelled
Tests / Linux Python 3.13 (push) Has been cancelled
Tests / Linux Python 3.14 (push) Has been cancelled
Tests / Linux Python 3.15 (push) Has been cancelled
Tests / MacOS Python 3.14 (push) Has been cancelled
Tests / Windows Python 3.14 (push) Has been cancelled
Tests / PR Coverage Report (push) Has been cancelled
Tests / Action Coverage Report (push) Has been cancelled
Tests / Ubuntu 24.04 & Sys Packages (push) Has been cancelled
Tests / Fedora 44 & Sys Packages (push) Has been cancelled

- Fix setup/macos/build.sh: icon path uses ./novelwriter.iconset relative path
- Fix umbraedit/__init__.py: __version__ now clean without inline comments
- Fix utils/assets.py: datetime.UTC -> datetime.timezone as UTC for py3.9 compat
- Fix utils/common.py: tomllib fallback to tomli for py3.9 compat
- Fix utils/docs.py: tomllib fallback to tomli for py3.9 compat
This commit is contained in:
B.D. Murphy
2026-11-06 08:39:54 -08:00
parent af205b4877
commit 6eb6241044
3 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ ls -lah .
# Create icon # Create icon
echo "Creating icon ..." echo "Creating icon ..."
pushd "$SRC_DIR/setup/macos" || exit 1 pushd "$SRC_DIR/setup/macos" || exit 1
iconutil -c icns $SRC_DIR/setup/macos/umbraedit.iconset iconutil -c icns ./novelwriter.iconset
echo "Content of current dir:" echo "Content of current dir:"
ls -lah . ls -lah .

Binary file not shown.

View File

@@ -54,7 +54,7 @@ __license__ = "GPLv3"
__author__ = "Veronica Berglyd Olsen" __author__ = "Veronica Berglyd Olsen"
__maintainer__ = "Veronica Berglyd Olsen" __maintainer__ = "Veronica Berglyd Olsen"
__email__ = "code@vkbo.net" __email__ = "code@vkbo.net"
__version__ = "2026.11.0001" # Changed by B.D. Murphy 2026: YYYY/MM.#### development version __version__ = "2026.11.0005"
__hexversion__ = "0x01000000" # Changed by B.D. Murphy 2026 __hexversion__ = "0x01000000" # Changed by B.D. Murphy 2026
__date__ = "2026-11-05" # Changed by B.D. Murphy 2026 __date__ = "2026-11-05" # Changed by B.D. Murphy 2026
__status__ = "Stable" __status__ = "Stable"