mirror of
https://github.com/owu/wsl-dashboard.git
synced 2026-04-24 22:55:48 +03:00
[PR #13] feat: Comprehensive Port & Enhancement of WSL Management Features #11
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wsl-dashboard#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/owu/wsl-dashboard/pull/13
Author: @constansino
Created: 2/5/2026
Status: 🔄 Open
Base:
main← Head:feat/enhanced-wsl-management📝 Commits (1)
8591c5cfeat: port and enhance management features from wsl2-distro-manager📊 Changes
22 files changed (+1111 additions, -98 deletions)
View changed files
➕
PR_DESCRIPTION.md(+38 -0)📝
src/ui/app.slint(+46 -6)📝
src/ui/components/dialogs/clone_dialog.slint(+11 -3)📝
src/ui/components/dialogs/information_dialog.slint(+132 -71)📝
src/ui/components/dialogs/settings_dialog.slint(+85 -6)📝
src/ui/components/distro_card.slint(+11 -0)📝
src/ui/components/modal_manager.slint(+23 -5)📝
src/ui/handlers/distro/clone.rs(+10 -2)📝
src/ui/handlers/distro/manage.rs(+99 -2)📝
src/ui/handlers/settings.rs(+97 -0)📝
src/ui/theme.slint(+2 -0)📝
src/ui/views/main_view.slint(+4 -0)📝
src/ui/views/settings_view.slint(+145 -1)📝
src/utils/mod.rs(+2 -1)➕
src/utils/shortcut.rs(+32 -0)📝
src/wsl/executor.rs(+36 -0)📝
src/wsl/models.rs(+11 -0)➕
src/wsl/ops/distro_config.rs(+83 -0)➕
src/wsl/ops/global_config.rs(+58 -0)📝
src/wsl/ops/info.rs(+91 -1)...and 2 more files
📄 Description
WSL Dashboard 功能增强 PR 说明
本 PR 旨在将
wsl2-distro-manager中的核心深度管理功能移植并增强到wsl-dashboard中,显著提升了工具的专业性与便利性,同时保持了 Rust/Slint 的极致性能。🌟 新增功能概览
1. 深度配置管理 (System Configuration)
systemd,generateHosts,generateResolvConf,Interop,appendWindowsPath。2. 磁盘维护专家 (Disk Maintenance)
diskpart逻辑,在实例停止时安全压缩虚拟磁盘文件,释放物理硬盘空间。3. 全局资源控制 (.wslconfig)
.wslconfig的管理界面。nat和mirrored(镜像) 模式间切换。4. 实时运行看板 (Runtime Insights)
5. Windows 底层环境检测
6. 交互便利性增强
.lnk文件。🛠️ 技术实现
wsl::ops模块,新增了对注册表、.wslconfig文件、/etc/wsl.conf文件的安全读写逻辑。diskpart压缩和快捷方式创建等 Windows 原生操作。本更新在功能上已完全覆盖并超越了同类 Flutter 开发的工具,使
wsl-dashboard成为目前市面上最强大的 WSL 桌面管理工具之一。🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.