Skip to content

Latest commit

 

History

History
241 lines (197 loc) · 11.1 KB

CHANGELOG.md

File metadata and controls

241 lines (197 loc) · 11.1 KB

Changelog

What changed for the person running the program, one section per release, newest first. Each line is something you can see or do; the commits behind it are listed on the release page, under For the curious, and the reasoning is in the design record. The shape is Keep a Changelog: Added, Changed, Fixed, Removed.

Each released section is headed with its version and the date of its release commit, so this file reads on its own; the release page has the rest. The release workflow takes the section for the tag it is given and refuses to publish without one, or without its date. AGENTS.md says how a section is written.

Fixed

  • The log writes Windows paths as Windows does, with single backslashes, where its details doubled them; a command's arguments read as typed.
  • Windows PowerShell and schtasks.exe are started from Windows' system folder, never found by name: a copy unpacked in Downloads could run a program of that name lying beside it.
  • A command's program given as a name alone is looked for in Windows' folders, then PATH, never beside this program: with the FanControl recipe, a copy unpacked in Downloads could run a schtasks.exe lying beside it at every game start and stop.
  • The DLLs the program needs are loaded from Windows' system folder only: a copy unpacked in Downloads loaded an msi.dll lying beside it.
  • The program no longer needs the Visual C++ Redistributable: the C runtime is built in.

0.5.0 - 2026-11-16

Windows' Startup list starts the watcher now, with a switch in Settings, instead of a scheduled task that Office's updates could end; the startup commands are renamed, and every release file is attested.

Added

  • Each release file comes with GitHub's attestation that the release workflow built it from the tagged commit: gh attestation verify <file> --repo Geeooff/GameModeExecutor.
  • The watcher appears in Settings, Apps → Startup, as GameModeExecutor watcher, with a switch to stop it starting at logon.

Changed

  • Windows starts the watcher at logon from your Run key instead of a scheduled task, a few seconds later than the task did. Office's updates ended what the task started, the watcher among them, and spared what the Run key started over a month of them. An upgrade removes the old task and keeps the configuration it named.
  • install-task and uninstall-task are now add-to-startup and remove-from-startup. The old names work until 1.0.0.

Removed

  • The 15-second delay after logon, and --delay with it: accepted and ignored until 1.0.0.

Fixed

  • purge removes its folders even when they are marked read-only, as a folder copied back from a OneDrive backup is.

0.4.0 - 2026-10-17

One log file a day, a Start menu entry to bring the watcher back, stop commands caught up after a shutdown or a failure, a warning when the watcher was ended mid-game, less memory kept, and shorter documentation.

Added

  • GameModeExecutor in the Start menu, from the installer: starts the watcher again after Quit.
  • The recipes as their own zip on each release.
  • The FanControl recipe links FanControl's site and GitHub, and its scripts have a .cmd to double-click, which works even where Windows refuses scripts.
  • A warning at start when the last watcher ended mid-game without stopping: Task Manager, a crash, a power cut.

Changed

  • One log file a day, gamemode-executor.YYYY-MM-DD.log, seven kept or log_days. The day changes at midnight UTC; lines keep local time. Open log opens today's.
  • Naming a game from the graphics card no longer leaves 3.5 MB in the watcher.
  • Edit configuration, Open log and Documentation no longer leave 1.2 MB or more in the watcher.
  • At a logoff or shutdown mid-game, no stop command is tried (Windows refuses them then) and no warning is written; they run at the next logon, as before.
  • The documentation is shorter: each page says what you need once.

Fixed

  • purge leaves nothing behind: the uninstall's own log lines and the updates folder go too.
  • A game still loading twenty seconds in no longer keeps its launcher's name: the watcher asks again every twenty seconds, two minutes at most.
  • Windows ending the session is written in the log at the default level, so a shutdown no longer looks like a vanished watcher.
  • A stop command that fails when a game ends, as at a shutdown, runs again at the next start instead of leaving the gaming configuration on.

Removed

  • The Writing your own recipe: the starter configuration and the reference already list every key and placeholder.

0.3.0 - 2026-09-23

The configuration applies as you save it, a broken one says so, the games you marked yourself in the Game Bar are followed too, and the watcher costs a twelfth of what it did at rest.

Added

  • The watcher reads config.toml again whenever you save it, within a second: no more stopping and restarting it after a change. A game in progress is not disturbed, and the commands that run when it ends are the ones you just saved. log_dir is the one setting that waits for the next start; the log says so.
  • A configuration that cannot be used shows as a red, slashed icon, a silent notification with the error glyph says what is wrong in full — the line number, the parser's words and what it expected — and the first line of the icon's menu keeps the short of it. Nothing runs until it is fixed; Edit configuration opens the file, and saving a good one brings the icon back, with a notification saying the watcher is watching again — also when the fix came while the watcher was stopped.
  • Games you marked yourself with Remember this is a game in the Game Bar are detected like any other, from their launch — or from the moment you tick the box, in the middle of a game. Windows does not start, for those, the signal the program used to watch alone, which is why they went unnoticed.
  • At start, the log says which of the games you marked Microsoft's own list now knows, so you can untick them and let Windows recognise them itself. status lists the games you marked and says the same.

Changed

  • Looking for a game while none runs costs about a twelfth of what it did: at rest the watcher now uses 0.026 % of one processor core, against 0.324 % for 0.2.0, measured nine minutes each on the same machine.
  • The watcher starts whatever the configuration file says, rather than exiting with a code and no icon when the file is wrong at logon. validate still reports the exit codes 3 and 4 for scripts.

Fixed

  • A misspelt log_level — "debg" — used to be accepted and to leave a log with nothing but errors in it, as if the program had gone quiet. It is now a configuration error like any other, named in the icon's menu.

0.2.0 - 2026-09-18

The program updates itself from the icon, and a game session survives it.

Added

  • Check for updates, in the icon's menu: asks GitHub whether a newer release exists — the only time the program ever connects to anything, and only when you click. The answer comes as a silent notification and waits in the menu: Up to date, or Download and install beside What changed, which opens the release page.
  • Download and install fetches the new release, checks it against the checksums the release publishes, and installs it — the installer for an installed copy, the zip for one unpacked by hand. The icon disappears for a second and comes back on the new version, which says so with a notification at its first start.
  • Updating in the middle of a game keeps your commands out of it: the old watcher hands the game session to the new one, which picks it up where it was. Nothing runs twice, and your gaming configuration is never switched off and on again mid-game.
  • gamemode-executor update does the same from a terminal; update --check only asks.
  • gamemode-executor stop --handover stops the watcher and leaves an open game session to the next one, for anyone restarting it by hand during a game.
  • The log gains an update category: every request, every verdict and every step of an install, with the reason when something fails.

Changed

  • The installer and the zip now carry the same four files: the two executables, LICENSE.txt and README.txt. The zip no longer ships a copy of the documentation; the readme links the pages and the recipes for the exact build you have.
  • Upgrading with the installer no longer closes a game session: the new watcher resumes it.
  • The recipes say to restart the watcher after copying a configuration — stop, then install-task — which an installed copy needs to read the new file.
  • The release page says where the program was measured, Windows 11, and what Windows 10 shares with it, rather than claiming both.

0.1.0 - 2026-09-18

The first release. Runs the executables you configure when a game starts and when it stops, on Windows' own signal that a game is running.

Added

  • Detection through the Game Bar presence writer Windows starts for a game and stops when it is gone: no list of games to maintain, nothing polled while you play.
  • A configuration file, config.toml, naming the commands to run on each edge, in series or in parallel, with placeholders for the game's name and path; validate to check it, trigger start|stop to try the commands without a game.
  • The game's name in the log and in the placeholders, refined a little way into the session by asking the GPU which process is really drawing.
  • A notification area icon — grey without a game, green with one — with a menu: edit the configuration, open the log, open the documentation for the exact build running, quit.
  • A windowless twin, gamemode-executorw.exe, started at logon by a task install-task registers; the console executable is the one you type commands into.
  • Recovery after a logoff, shutdown or crash mid-game: the stop commands run at the next start, so you are not left on a gaming configuration.
  • A log for two readers: plain sentences at info, the technical detail as fields at debug.
  • A per-user installer, .msi, that needs no administrator rights, writes a starter configuration if you have none, registers the logon task and starts the watcher; a .zip for anyone who would rather not run an installer. Uninstalling removes the executables and the task and leaves your configuration; purge removes every trace on request.
  • Recipes with ready-made configurations: fan profiles with FanControl, including the scheduled tasks a program that needs administrator rights requires, and a Windows power plan.