used b64 encoded background image and made a working build

This commit is contained in:
Julian Scharrenbach 2026-03-05 08:56:23 +01:00
parent f3c704f733
commit 5a69aa3b84
5 changed files with 56 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
idea/
*.txt
build/

4
b64.py Normal file
View File

@ -0,0 +1,4 @@
import base64
with open("C:/Users/ScharrenbacJ/workdir/ameland_journal/background.jpg", "rb") as f:
print(base64.b64encode(f.read()).decode("ascii"))

BIN
dist/journal.exe vendored Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

38
journal.spec Normal file
View File

@ -0,0 +1,38 @@
# -*- mode: python ; coding: utf-8 -*-
a = Analysis(
['journal.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
optimize=0,
)
pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
name='journal',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)