- 积分
- 430
- 最后登录
- 2024-4-24
- 精华
- 0
- 阅读权限
- 30
- 主题
- 53
- UID
- 2454394
- 帖子
- 1031
- PB币
- 1419
- 威望
- 3
- 贡献
- 0
- 技术
- 31
- 活跃
- 2810
- UID
- 2454394
- 帖子
- 1031
- PB币
- 1419
- 贡献
- 0
- 技术
- 31
- 活跃
- 2810
|
本帖最后由 caoxuanlkl 于 2022-7-1 16:40 编辑
折腾 WSA 时本地安装 SubsystemForAndroid.Msixbundle 得用 Powershell 命令,
懒得敲,为了以后方便,直接弄个右键菜单。
- Windows Registry Editor Version 5.00
- ;Msixbundle 右键添加"用 Powershell 安装"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.msixbundle\shell\Add-Appx]
- "MUIVerb"="用 Powershell 安装"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.msixbundle\shell\Add-Appx\command]
- @="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe Add-AppxPackage \"%1\""
复制代码 于是乎把其它几个格式也添加了
- ;Appx 右键添加"用 Powershell 安装"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.appx\shell\Add-Appx]
- "MUIVerb"="用 Powershell 安装"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.appx\shell\Add-Appx\command]
- @="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe Add-AppxPackage \"%1\""
- ;AppxBundle 右键添加"用 Powershell 安装"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.appxbundle\shell\Add-Appx]
- "MUIVerb"="用 Powershell 安装"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.appxbundle\shell\Add-Appx\command]
- @="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe Add-AppxPackage \"%1\""
- ;Msix 右键添加"用 Powershell 安装"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.msix\shell\Add-Appx]
- "MUIVerb"="用 Powershell 安装"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.msix\shell\Add-Appx\command]
- @="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe Add-AppxPackage \"%1\""
复制代码
DesktopApplnstaller :看不到我看不到我看不到我......
添加”用 Powershell 安装“.zip
(631 Bytes, 下载次数: 39)
|
-
2
查看全部评分
-
|