Update Phone Link Application ID in config/tweaks.json.
Pull Request
Title
Update Phone Link Application ID in config/tweaks.json.
Type of Change
- [ ] New feature
- [x] Bug fix
- [ ] Documentation update
- [ ] Refactoring
- [ ] Hotfix
- [ ] Security patch
- [ ] UI/UX improvement
Description
Change ID Microsoft.WindowsPhone to Microsoft.YourPhone and remove invalid ID Microsoft.CommsPhone in the WPFTweaksDeBloat function. This fixes an issue where Phone Link was not getting uninstalled correctly when debloating the system using the Remove ALL MS Store Apps tweak.
Testing
Tested the change locally by running the compiled script and confirming that the Phone Link (Your Phone) application was correctly removed.
Impact
This change ensures the WPFTweaksDeBloat function uninstalls the correct Phone Link application and eliminates the redundant Microsoft.CommsPhone entry.
Issue related to PR
None.
Additional Information
None.
Checklist
- [x] My code adheres to the coding and style guidelines of the project.
- [x] I have performed a self-review of my own code.
- [ ] I have commented my code, particularly in hard-to-understand areas.
- [ ] I have made corresponding changes to the documentation.
- [x] My changes generate no errors/warnings/merge conflicts.
I just looked in WinGet and none of them seem to be any packages.
I just looked in WinGet and none of them seem to be any packages.
Hello, @Real-MullaC!
I double-checked, and the application ID you mentioned is part of the WPFTweaksDeBloat function. Microsoft.YourPhone is not an installable app; it's a system-level app meant to be removed when you select "Remove All MS Store Apps" in the "Tweaks" tab. I hope this clarifies things!
I just looked in WinGet and none of them seem to be any packages.
Hello, @Real-MullaC!
I double-checked, and the application ID you mentioned is part of the WPFTweaksDeBloat function. Microsoft.YourPhone is not an installable app; it's a system-level app meant to be removed when you select "Remove All MS Store Apps" in the "Tweaks" tab. I hope this clarifies things!
The tweaks file is used to run Winget commands to install and unistall apps. And I have had a look and none of the variables you entered and deleted are within WinGet.
Hi @Real-MullaC,
The application IDs you’re asking about are handled by the WPFTweaksDeBloat function in the script. This function is used for removing unwanted apps and is not related to package managers like WinGet, Chocolatey, or Scoop. These IDs are part of the debloat process and are not standalone installable packages.
To clarify:
- The
tweaks.jsonfile, particularly in theWPFTweaksDeBloatsection, is used to run commands that uninstall apps throughRemove-AppxPackage. The IDs you're inquiring about are managed by this function for the debloat functionality. - For installing software, the configurations are found in
applications.json, which is separate from the debloat script (WPFTweaksDeBloat) intweaks.json.
I’ve attached the relevant output of Get-AppxPackage to help illustrate this.
Get-AppxPackage output showing that Your Phone is a system-level app.
I hope this helps further clarify things!
If you looked more closely into the fellow scripts you will find Winget is used for them. To uninstall the packages.
Hi @Real-MullaC,
I understand your point, but I’d like to clarify that WinGet is not used for uninstalling .appx/.appxbundle or .msix/.msixbundle packages. The WPFTweaksDeBloat function in this script operates through PowerShell commands like Remove-AppxPackage/Remove-AppxProvisionedPackage to handle these types of packages, which are not managed by WinGet.
For uninstalling applications managed by WinGet, the tool is indeed utilized, but this does not apply to .appx/.appxbundle or .msix/.msixbundle files, which are handled separately using the Appx PowerShell module.
Given the complexity of this subject, I think it would be best if another reviewer with more knowledge of the project takes a look at the changes.