Skip to content

installer: rust-explorer on its own, "Replace Explorer" is the switch - #148

Open
Tkyoxx wants to merge 2 commits into
Lemxy:mainfrom
Tkyoxx:pr/2-explorer-standalone
Open

Tkyoxx wants to merge 2 commits into
Lemxy:mainfrom
Tkyoxx:pr/2-explorer-standalone

Conversation

@Tkyoxx

@Tkyoxx Tkyoxx commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Stacked on #144. Until that one is merged this branch also carries its commit, so the diff below is bigger than this PR. Its own change is 1 commit; I will rebase it as soon as #144 is in.

What

  • The rust-explorer row installs the file manager only (folder / drive verbs, Start menu shortcut). Explorer stays the shell; no service tweaks, no rs-overlay task, no AutoRestartShell change. It no longer needs topbar.
  • "Replace Explorer" in topbar's settings panel is the shell part (ticks topbar and rust-explorer). Switching it off later gives the session back to Explorer and keeps the file manager ("Will be changed", confirm says so).
  • Giving the shell back runs before anything else in the same run, so topbar is never removed while it is the only bar; bar_uninstall also gives the shell back first (command line included).
  • Command line: install|update rust-explorer [--shell|--no-shell].
  • The v0.5.7 rs-overlay start (schtasks /run, shortcut fallback) is kept.

Test

  • selection.rs unit tests (plan with changed options, step order, the shell wish needing both plugins).
  • On a VM: install rust-explorer alone (Explorer stays, folders open in rust-explorer); switch Replace Explorer on (topbar comes along, Explorer ends); switch it off (Explorer back, file manager stays); untick topbar while rust-explorer is the shell (shell goes back first, then the bar).

- winrust-common: Lang::Es and Lang::ALL; t!/tf! take an optional es: arm
  after zh: (or after pt: in calls without zh:), and any language left out
  shows the English text, so nothing is ever blank or a raw key.
- No lang.txt: the Windows UI language when WinRust has it, else English.
- lang() re-reads lang.txt at most once a second and set_lang broadcasts
  style::msg(), so open windows switch without a restart: topbar now listens
  for the broadcast, rust-settings rebuilds its pages and rust-explorer its
  column headers and navigation pane when the language moved. The "restart
  the programs" notes say the switch is immediate now.
- The installer list, rust-settings and the bar's language page take their
  languages from Lang::ALL (Spanish included); --lang accepts es.
- Spanish for every t!/tf! call (1,246), the installer table, the Run box
  commands and the Start button menu, plus the few strings still English-only
  in rust-explorer.
- rs-launcher's counts gave "2 registry entrys" and Portuguese had no plural
  at all: every language now spells out its singular and plural.
…a switch

rust-explorer used to be the file manager and the Explorer replacement in one
step, so it could not be installed without topbar. Now:

- Its row installs the file manager only: folder/drive verbs and the Start
  menu shortcut. Explorer stays the shell with its own desktop and taskbar; no
  service tweaks, no rs-overlay task, no AutoRestartShell change.
- "Replace Explorer" in topbar's settings panel is the shell part. Turning it
  on ticks topbar and rust-explorer; unticking either turns it off. Turning it
  off later hands the session back to Explorer and keeps the file manager.
- An installed rust-explorer whose switch moved shows "Will be changed" and is
  installed again; giving the shell back runs before anything else in the
  same run, so topbar is never removed while it is the only bar.
- Express never moves the shell; a plain update keeps the current mode.
- Uninstalling topbar while rust-explorer is the shell gives the shell back to
  Explorer first (command line included).
- Command line: install/update rust-explorer [--shell|--no-shell]; --shell
  pulls topbar in when it is missing.
- The upstream rs-overlay start (schtasks /run, shortcut as the fallback) is
  kept as is, it just lives in the shell part now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant