Files
black-screen/Black Screen Dim.spec
Hermes Agent dc2f754f86 Optimize startup: show black overlay first, dim brightness in a background thread; switch to one-folder PyInstaller build (no on-launch extraction)
- black screen now appears immediately (window creation), while the slow
  screen-brightness-control WMI queries (get+set) run in a daemon thread and
  are invisible behind the black overlay
- one-folder COLLECT build removes the ~2-3s one-file archive extraction
2026-09-16 16:39:20 +02:00

45 lines
822 B
RPMSpec

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