Skip to content

Pengwin: support migration from WLinux, improve WSL launch behavior, and update branding & terminal profiles#814

Merged
crramirez merged 2 commits intomasterfrom
ftr/new-logo-current-dir-new-name
Feb 2, 2026
Merged

Pengwin: support migration from WLinux, improve WSL launch behavior, and update branding & terminal profiles#814
crramirez merged 2 commits intomasterfrom
ftr/new-logo-current-dir-new-name

Conversation

@crramirez
Copy link
Collaborator

This pull request introduces several key improvements and updates aimed at enhancing distribution registration, user experience, and branding for the Pengwin WSL distribution. The most significant changes include supporting migration from the old distribution name ("WLinux") to the new name ("Pengwin"), improving the launch behavior when started from different directories, updating branding elements, and refining user creation logic.

Distribution registration and migration:

  • Updated the WslApiLoader class and related logic to support both the new distribution name (Pengwin) and the old name (WLinux), allowing seamless migration for existing users. The loader now checks for registration under both names and updates the internal reference if the old name is found. (DistroLauncher/WslApiLoader.cpp, DistroLauncher/WslApiLoader.h, DistroLauncher/DistroLauncher.cpp, DistroLauncher/DistributionInfo.h) [1] [2] [3] [4] [5] [6]

User experience improvements:

  • Modified the launch behavior so that if the launcher is started from a directory other than System32 (e.g., via "Open with Terminal" or the command line), the WSL session starts in the current working directory, improving usability. (DistroLauncher/DistroLauncher.cpp) [1] [2]
  • Removed the custom logic for changing the default user in /etc/wsl.conf, simplifying the process and relying solely on the standard WSL APIs. (DistroLauncher/DistributionInfo.cpp, DistroLauncher/DistributionInfo.h, DistroLauncher/DistroLauncher.cpp) [1] [2] [3]

Branding and manifest updates:

  • Updated the app manifest to reflect the new version (26.2.1.0), changed the background color to black, and ensured all references use the new "Pengwin" branding. (Pengwin/Package.appxmanifest) [1] [2]

Terminal profile and settings updates:

  • Updated the Windows Terminal profile JSON to add a new profile for the latest Pengwin version, set the old profile as hidden, and introduced new terminal features such as showMarksOnScrollbar, autoMarkPrompts, and WSL-specific settings. (x64/pengwin.json) [1] [2]

Miscellaneous improvements:

  • Changed the user creation command to use the --comment flag instead of --gecos for clarity and consistency. (DistroLauncher/DistributionInfo.cpp)

…le paths, improve directory handling, introduce additional features, and refresh assets and app manifest.
Copilot AI review requested due to automatic review settings February 2, 2026 20:13
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes the Pengwin WSL distribution by enabling migration from the legacy "WLinux" name, improving the user experience when launching from different directories, and updating branding to reflect the current version and visual identity.

Changes:

  • Added support for detecting and migrating from the old "WLinux" distribution name to "Pengwin"
  • Improved launch behavior to use the current working directory when started outside of System32
  • Updated branding (version to 26.2.1.0, background color to black) and Windows Terminal profile configuration

Reviewed changes

Copilot reviewed 7 out of 60 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
DistroLauncher/WslApiLoader.h Added old distribution name parameter and changed registration check to non-const
DistroLauncher/WslApiLoader.cpp Implemented migration logic to check for both old and new distribution names
DistroLauncher/DistroLauncher.cpp Added current directory detection for improved launch behavior and simplified user configuration
DistroLauncher/DistributionInfo.h Updated distribution name constants and removed obsolete wsl.conf function
DistroLauncher/DistributionInfo.cpp Changed user creation flag from --gecos to --comment
Pengwin/Package.appxmanifest Updated version number and background color
x64/pengwin.json Added new terminal profile and hid the old one

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@crramirez
Copy link
Collaborator Author

@copilot open a new pull request to apply changes based on the comments in this thread use spaces for identation

Copy link

Copilot AI commented Feb 2, 2026

@crramirez I've opened a new pull request, #815, to work on those changes. Once the pull request is ready, I'll request review from you.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@crramirez crramirez merged commit a3ce99c into master Feb 2, 2026
@crramirez crramirez deleted the ftr/new-logo-current-dir-new-name branch February 2, 2026 21:28
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.

3 participants