Commit Graph
13 Commits
Author SHA1 Message Date
lzrdblzzrd c0a47bc99b feat: closed box with right wall and padded rows 2026-10-04 20:10:09 +03:00
lzrdblzzrd ef0dc08bcd feat: START box for launch lines and blank line between boxes 2026-10-04 20:05:40 +03:00
lzrdblzzrd e391138337 feat: grouped box-drawing log with game-mode sections
One box per scan, strict group order PROMOTE -> DEMOTE -> SKIP -> BLOCK, header sized to the longest row. Game trigger outcome folds into the GAME MODE ON head line instead of duplicating a PROMOTE row; mode exit renders a GAME MODE OFF head with restored rows in the usual groups.
2026-10-04 19:56:46 +03:00
lzrdblzzrd 4600cc0862 refactor: single-file stealth build without tray, tables or tests
Keep the fixed scan and priority core in one main.go: PID+creation identity, query-only snapshots with write-only upgrades, single-attempt blocklists, external-change baselines, inherited-IDLE adoption and plain %TEMP% line logging. Drop the tray UI, icons, pretty tables, rotation and test scaffolding.
2026-10-04 19:30:54 +03:00
lzrdblzzrd 4880aa46dc feat: add tray control, priority restoration and session logging 2026-10-04 19:00:59 +03:00
lzrdblzzrd 4f8f6218ad Rewrite: improve process handling and restoration 2026-08-08 14:08:38 +03:00
lzrdblzzrd bf37dd6974 Update README: fix defaults (game-mem=2G), remove SKIP RESTORE, add GAME DETECT, update game mode description 2026-06-23 11:20:55 +03:00
lzrdblzzrd 565b751195 Rewrite game mode: two-pass scan, priority restoration, LimitedInformation access
- Use PROCESS_QUERY_LIMITED_INFORMATION instead of PROCESS_QUERY_INFORMATION
  to open processes (fixes Access Denied for KeePassXC, HD-Player, etc.)
- Separate query handle from set handle: trySetPrio reopens with
  PROCESS_SET_INFORMATION only when needed
- Two-pass scan: pass 1 collects RSS and detects game processes,
  pass 2 applies priorities with correct hasGame state
- Game mode saves original priorities in gameSaved map, restores them
  on GAME MODE OFF (not just NORMAL)
- Demote ALL non-game processes to IDLE in game mode (not just promoted)
- 50ms delay between priority changes for smooth transitions
- Replace isAlive/procName with pidMap from allProcs snapshot
- Replace mutex/MessageBox single-instance with killOtherInstances
- Defaults: -mem=512M, -game-mem=4G
- Fix double CloseHandle and handle leak in trySetPrio
- Update README with new defaults and game mode restoration behavior
2026-06-22 17:24:21 +03:00
lzrdblzzrd b5885791fa Fix process entry struct, add demote logic, block protected processes, improve logging 2026-06-21 15:11:15 +03:00
lzrdblzzrd d4da33ca5e fix: ErrorAlreadyExists 1832->183, wrap syscall errors, signal handling, mutex cleanup, log sync 2026-06-20 23:41:59 +03:00
lzrdblzzrd d0cafe1332 log: move log file to temp directory with fallback 2026-06-19 21:39:45 +03:00
lzrdblzzrd c3cb8ae847 rewrite: single file, zero deps, Windows API, logging, CLI flags 2026-06-19 21:37:01 +03:00
lzrdblzzrd 0876ff81db Initial commit 2023-01-15 03:25:23 +03:00