[PR #15051] [MERGED] Add "portable mode", where settings load from the install path #30381

Open
opened 2026-01-31 09:40:29 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/15051
Author: @DHowett
Created: 3/27/2023
Status: Merged
Merged: 3/31/2023
Merged by: @DHowett

Base: mainHead: dev/duhowett/portable-mode


📝 Commits (6)

  • 3e63c91 Start on portable mode
  • b543096 Add some cute UI explaining portable mode
  • 932c4c8 Display a different app name if portable mode
  • dc13d7b ah, fix the cute UI
  • aac4f43 aka, tsm
  • 05d7b30 Only check Portable if !Packaged

📊 Changes

10 files changed (+72 additions, -10 deletions)

View changed files

📝 .github/actions/spelling/expect/expect.txt (+1 -0)
📝 src/cascadia/TerminalSettingsEditor/MainPage.xaml (+24 -7)
📝 src/cascadia/TerminalSettingsEditor/Resources/en-US/Resources.resw (+13 -1)
📝 src/cascadia/TerminalSettingsModel/CascadiaSettings.cpp (+1 -1)
📝 src/cascadia/TerminalSettingsModel/CascadiaSettings.h (+1 -0)
📝 src/cascadia/TerminalSettingsModel/CascadiaSettings.idl (+1 -0)
📝 src/cascadia/TerminalSettingsModel/CascadiaSettingsSerialization.cpp (+6 -1)
📝 src/cascadia/TerminalSettingsModel/FileUtils.cpp (+20 -0)
📝 src/cascadia/TerminalSettingsModel/FileUtils.h (+1 -0)
📝 src/cascadia/TerminalSettingsModel/Resources/en-US/Resources.resw (+4 -0)

📄 Description

This pull request implements portable mode for Windows Terminal, which
will make side by side deployment of different versions generally more
feasible.

Portable mode was specified in #15032.

There are three broad categories of changes in this PR:

  1. Changes to settings loading.
  2. A new indicator in the settings UI plus a link to the portable mode
    docs.
  3. A new application display name, Terminal (Portable), which users
    will hopefully include in their bug reports.

It's surprisingly small for how big a deal it is!

Related to #15034
Closes #1386


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/15051 **Author:** [@DHowett](https://github.com/DHowett) **Created:** 3/27/2023 **Status:** ✅ Merged **Merged:** 3/31/2023 **Merged by:** [@DHowett](https://github.com/DHowett) **Base:** `main` ← **Head:** `dev/duhowett/portable-mode` --- ### 📝 Commits (6) - [`3e63c91`](https://github.com/microsoft/terminal/commit/3e63c91508810aa529af6746839ea3b37f066b8a) Start on portable mode - [`b543096`](https://github.com/microsoft/terminal/commit/b543096ec678a9b84e5fb18e95418b68bb855af5) Add some cute UI explaining portable mode - [`932c4c8`](https://github.com/microsoft/terminal/commit/932c4c89b5c44296017a9655c11009965d3f7ca3) Display a different app name if portable mode - [`dc13d7b`](https://github.com/microsoft/terminal/commit/dc13d7bc2eccd19a8b83759d761210aee39a3e72) ah, fix the cute UI - [`aac4f43`](https://github.com/microsoft/terminal/commit/aac4f4380273fddf25f47096f45a3f21a4d1b375) aka, tsm - [`05d7b30`](https://github.com/microsoft/terminal/commit/05d7b30142ec3f89e971b0b5cc12e629ae7482b4) Only check Portable if !Packaged ### 📊 Changes **10 files changed** (+72 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `.github/actions/spelling/expect/expect.txt` (+1 -0) 📝 `src/cascadia/TerminalSettingsEditor/MainPage.xaml` (+24 -7) 📝 `src/cascadia/TerminalSettingsEditor/Resources/en-US/Resources.resw` (+13 -1) 📝 `src/cascadia/TerminalSettingsModel/CascadiaSettings.cpp` (+1 -1) 📝 `src/cascadia/TerminalSettingsModel/CascadiaSettings.h` (+1 -0) 📝 `src/cascadia/TerminalSettingsModel/CascadiaSettings.idl` (+1 -0) 📝 `src/cascadia/TerminalSettingsModel/CascadiaSettingsSerialization.cpp` (+6 -1) 📝 `src/cascadia/TerminalSettingsModel/FileUtils.cpp` (+20 -0) 📝 `src/cascadia/TerminalSettingsModel/FileUtils.h` (+1 -0) 📝 `src/cascadia/TerminalSettingsModel/Resources/en-US/Resources.resw` (+4 -0) </details> ### 📄 Description This pull request implements portable mode for Windows Terminal, which will make side by side deployment of different versions generally more feasible. Portable mode was specified in #15032. There are three broad categories of changes in this PR: 1. Changes to settings loading. 2. A new indicator in the settings UI plus a link to the portable mode docs. 3. A new application display name, `Terminal (Portable)`, which users will hopefully include in their bug reports. It's surprisingly small for how big a deal it is! Related to #15034 Closes #1386 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:40:29 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30381