Refactor configuration management: migrate to per-user storage, update encryption handling, and enhance versioning in CI

This commit is contained in:
SitiWeb
2026-01-23 17:17:25 +01:00
parent 43c5bdac8c
commit 428e3306a0
11 changed files with 570 additions and 279 deletions

View File

@@ -31,6 +31,21 @@ jobs:
python -m pip install -r requirements.txt
python -m pip install pyinstaller
- name: Stamp version (dev builds)
if: startsWith(github.ref, 'refs/heads/')
shell: pwsh
run: |
$sha = "${{ github.sha }}".Substring(0,7)
Set-Content -Path version.py -Value "__version__ = `"0.0.0.dev0+$sha`"`n" -Encoding utf8
- name: Stamp version (tag builds)
if: startsWith(github.ref, 'refs/tags/v')
shell: pwsh
run: |
$tag = "${{ github.ref_name }}"
$ver = ($tag -replace '^v','')
Set-Content -Path version.py -Value "__version__ = `"$ver`"`n" -Encoding utf8
- name: Build (PyInstaller spec)
shell: pwsh
run: |