Windows port, part 3b: the desktop app compresses on Windows, Windows settings, single instance and toasts (W3 part 2) #34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "windows-w3b"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Windows port, phase W3, part 2: the desktop app does its work on Windows. It builds on #32 (W3 part 1) and is independent of #33 (CI and AccessKit); both touch
scripts/windows/system-dlls.txtand the docs, so whichever merges second gets a small conflict.Compress, decompress and analyze from the app (
src/wofrun/,src/gui/worker/wof_step.rs)Shared run logic: the Windows run logic moved from the command line into the library (
wofrun), so the app andogcshare it:stored_withand the record rules, and files left for later;ogc's output is unchanged.The app's worker runs it per game, with progress, cancel, pause for a running game and the history. It never elevates.
Card states (plan §6):
These facts survive a restart through an
Fline inanalysis.tsv, which is written only on Windows; Linux's file is byte-identical.Exact sizes after compressing (no "≈"), and the sidebar names the engine and the chosen algorithm ("NTFS · XPRESS8K").
Windows settings
level=wof:xpress8kingui.conf.schtasks /Run, and the algorithm for new games.AppsUseLightThemewhere libadwaita does not.AddFontResourceExW(FR_PRIVATE). Under Wine the Chakra Petch headings lose some glyphs either way; that is Wine's rasterizer. A real PC will tell.App shell (
src/gui/windows_shell/,src/gui/notification.rs)NON_UNIQUE, plus a mutexLocal\OpenGameCompressor-<hash of SID>.--show-page=history) within a 10 s deadline and exits; both ends have read timeouts.LevelXStudios.OpenGameCompressor. On first start the portable app registers the AUMID and anopengamecompressor:URI scheme under HKCU, which the uninstaller removes.Tests
cargo test --all-featureswith Broadway andOGC_TEST_REQUIRE_BTRFS=1(1533 passed, 0 failed).check.shandwine-test.sh;check-gui.shandbuild-gui.sh;gui-test.sh: the app's Windows parts under Wine, including the real mutex, pipe and registry;gui-smoke.sh: a second start forwards to the running app, and the sidebar reads "NTFS · XPRESS8K".Not verified yet (needs a real Windows PC)
schtasks /Runand real task dates in other locales.