Skip to content

mini-oled-dock 1.8.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 22:22
· 3 commits to main since this release
9b30fb8

Changes since 1.7.0.

This release turns the dock into a small suite. Two apps arrive, both marked Beta: Tasks (a process list that knows how to close and end apps safely) and Folio (a file browser). The dock gets a Suite page and a Safety page in Settings, entries that open the apps, and the recovery tools behind them. Everything new is a beta or off by default; what the dock does on its own without being asked is listed under its own heading.

The apps (Beta)

The apps are separate programs, tasks.exe and files.exe, that run at your own level, not elevated. They are published as assets of this release with a manifest, suite.json, that lists them with their SHA-256 and sizes, and are marked Beta in it. dock.exe stays the only program you have to download.

Tasks lists every process on the PC, grouped the way the dock names them: Apps, Background and Part of Windows, with CPU, memory and I/O columns, a live refresh (0.5, 1, 2 or 5 seconds, or paused) and a Grouped, Tree or List view. It has search, standard and compact rows, an always-on-top switch, a keyboard sheet and screen-reader support. A row's menu offers Close (asks the app to close), End (ends the app and its processes), End process tree and End now. Processes Windows needs (critical or protected ones, the shell, the dock itself, anything that needs administrator rights) are refused with the reason, never ended. After an app was ended, the row offers Reopen when Tasks can start it again at your own level; an app that ran elevated or at low integrity gets no Reopen. The order of rows is held for a moment while you aim at a row.

Folio browses folders in tabs: a sidebar (Pinned, This PC, Network), a details list with sortable columns, a path bar with completion, Back, Forward and Up, hidden items and file extensions switches, compact spacing, a context menu with Open, Open in a new tab or window, Open with, Pin to Quick access, Copy as path and Properties, and a status line. Text typed in the path bar that is not a path runs the way the Run box does, in the current folder, started by the system and never as a same-named file of that folder; a path on a network share is not looked up while you type. Both apps show the dock's look and language (the dock writes suite\theme.json; Italian comes from lang\it.lang when installed).

Folio does not change your files in this beta. Rename, New folder, Delete and Undo exist, but every one of them is refused outside a test folder and says "Changes are off in this preview build"; Cut, Copy and Paste say "Not available in this beta: use File Explorer". Use File Explorer for those. Places Folio cannot list (Recycle Bin, the Network folder, phones) open in File Explorer.

In the dock

  • Settings, Suite shows each app (installed or not, its version, Beta), a switch (off means no Start entry and no menu items for it), Open, and the Ctrl+Shift+Esc option below. suite_tasks and suite_files in config.json are the two switches (both true).
  • Menu entries. The dock menu (right click on empty space of the bar) lists Tasks and Folio, and the system metrics menu lists Tasks, each with a Beta tag and only when the app is installed and switched on. The app menu of a running app has Show in Tasks. Windows Task Manager stays in the menus.
  • Start menu entries. The elevated dock keeps one shortcut per installed, switched-on app in the all-users Start menu Programs folder, with its own app id so the taskbar groups its windows. Switching an app off removes only the shortcut it made.
  • Ctrl+Shift+Esc for Tasks (takeover_ctrl_shift_esc, off by default). When on, the chord opens Tasks (or brings it to the front) instead of Windows Task Manager; pressed again while Tasks is in front it opens Windows Task Manager. If Tasks does not answer, Windows Task Manager opens and the incident is recorded; twice in a row pauses the takeover for ten minutes. While Tasks is Beta the option cannot be turned on (the Suite page says "Available when Tasks leaves beta"); the same holds with Administrator protection on and on a Windows build not verified for it. Nothing in this release changes the chord unless you turn it on, and you cannot yet.
  • Settings, Safety shows the installed and the previous version with Roll back, the incidents of this run, the problems found in config.json (a wrong key and its line, last good value kept), the changes the suite made to Windows with Undo all, and how to recover if the dock does not start.
  • Languages. The dock reads lang\it.lang from the install folder when it is there, with the Italian built into the exe as the fallback; the language file is published with the release and checked against the dock's version.

What changes without you asking

  • The dock brings the apps in. Once per start and after every successful update check, the dock starts dock.exe --suite-sync --network in a child of its own. It reads suite.json from the same release, checks every file against the manifest and against GitHub's SHA-256 of the asset, and swaps tasks.exe, files.exe and lang\it.lang into the install folder with a journal, so a crash in the middle is repaired at the next sync. It keeps an app only when that app passed a self-test at your own level; otherwise the old copy comes back. Nothing is installed that is not listed and verified. Settings, Safety says when the last sync did not finish.
  • --install is stricter. The install copies the exe into the admin-only folder first and works on that copy; a hash of what was copied must match what was downloaded. dock.exe --install --from <folder> installs offline from a folder holding the release's files; its suite.json has to match the release's published digest, so it needs the network once, and the exe in the folder has to be the one running. The logon task, the watchdog and the update guard are checked to run the installed exe from the admin-only folder.
  • Changes the suite makes to Windows are journaled (the logon task, the Add/Remove Programs entry, the Start shortcuts, takeovers): each one is written to a journal before it is made so Undo all, --recover and --uninstall can put it back, and only what the suite changed and nobody has changed since. %ProgramData%\mini-oled-dock\journal\ is now used; an update journal, update.jnl, sits beside it.
  • --uninstall --remove undoes the journaled changes first, then removes the files as in 1.7.0.
  • The release has more assets: tasks.exe, files.exe, lang-it.lang and suite.json next to dock.exe.

New command line modes

  • dock.exe --recover [--dry-run] (as administrator): asks the dock to exit, gives Windows its taskbar back, reverts an unfinished suite update, undoes the suite's changes (yours too, through your own level), and leaves the dock in safe mode: the logon start does nothing until you start the dock by hand. --dry-run says the steps and changes nothing.
  • dock.exe --undo-user [--signal <nonce>], --suite-sync [--network] and --update-fetch <tag> are the dock's own helpers. --install --from <folder> is above. In 1.7.0 these answered "not available in this build".

Security fixes in this release

  • Starting by a path that was checked. An elevated dock now holds the exe it checked until it starts it, so no folder above it can be renamed or replaced in between, and it starts its children and its watchdog only by the final path of that held file. A path that the Windows path parser would read as another one (a folder or file name ending in a dot or a space), a mount folder, a volume with no drive letter and a network share are refused: the dock then runs without its watchdog and leaves the taskbar alone, as when a watchdog cannot start. Before, a dock run elevated from a download folder could be made to start another file with its rights.
  • A plain --install copies only the running image. It hashes the running exe through the file it was started from (never a file put at its path after the start) and refuses anything else; the copy in the install folder is checked before it replaces anything. --install --from <folder> takes the apps' manifest only when its SHA-256 equals the suite.json the release of this version publishes (so it needs the network once), and stages only bytes it checked in the admin-only update folder.
  • Folio no longer looks up a UNC, WebDAV or mapped-drive path while you type, does not follow a junction or symbolic link for its completions or for the icons of programs inside it, and runs a word typed in the path bar through the system, never as a same-named file of the current folder.
  • Tasks reads from the system, not from the program, who an app runs as when you end it. Reopen is offered only for an app at normal level (or a packaged app) and only when Tasks itself runs at normal level; an elevated app, a low-integrity one, and every app when Tasks itself was started as administrator, get no Reopen, so an ended app cannot come back with more rights than it had.
  • The language file is read by the dock and the apps only when it carries the suite version they belong to.

Known limits

  • Tasks and Folio are betas. Folio cannot change a real file yet; Ctrl+Shift+Esc cannot be switched on yet; Tasks lists processes only (no performance, startup or services pages), and Folio has no copy, move or paste.
  • Tasks cannot end a process that needs administrator rights (it says so and points to Windows Task Manager).
  • When Folio cannot watch a folder for changes it says "Live updates limited" and F5 refreshes.
  • The suite's apps arrive only through the dock's sync, which needs the network and GitHub; a PC that cannot reach GitHub keeps the dock alone ("Not installed yet" on the Suite page).
  • The limits of 1.7.0 and 1.6.0 not repeated above still hold, among them: the Windows shell reads a few files a program of yours could plant for the elevated dock (notification icons, the volume mixer, the tray), and Windows 11 only.

Live checks

Not yet run.

Install / update

Requires Windows 11. Download dock.exe and run it from a terminal:

.\dock.exe --install

It asks for administrator rights, replaces the installed dock and restarts it. Settings are kept. Or use Settings, Updates, Update now from a running 1.4.2 or later. The apps follow on the dock's next sync.


SHA256 of dock.exe: c5b623db0149cdd32dad985b530faa00e4b95d65fd47414b8b08059776836606