mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-06-11 11:06:27 +00:00
Compare commits
2 Commits
2026.06.10
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fdac0a6d14 | ||
|
|
2aa9afaa2c |
7
.github/CONTRIBUTING.md
vendored
7
.github/CONTRIBUTING.md
vendored
@@ -192,12 +192,13 @@ Add your feature to the `"Features"` array in `Config/Features.json`:
|
|||||||
"ToolTip": "Detailed explanation of what this feature does and its impact.",
|
"ToolTip": "Detailed explanation of what this feature does and its impact.",
|
||||||
"Category": "Privacy & Suggested Content",
|
"Category": "Privacy & Suggested Content",
|
||||||
"Priority": 1,
|
"Priority": 1,
|
||||||
"Action": "Disable",
|
|
||||||
"RegistryKey": "Disable_YourFeature.reg",
|
"RegistryKey": "Disable_YourFeature.reg",
|
||||||
"ApplyText": "Disabling your feature...",
|
"ApplyText": "Disabling your feature",
|
||||||
"UndoAction": "Enable",
|
"UndoLabel": "Short description for the undo",
|
||||||
|
"ApplyUndoText": "Enabling your feature",
|
||||||
"RegistryUndoKey": "Enable_YourFeature.reg",
|
"RegistryUndoKey": "Enable_YourFeature.reg",
|
||||||
"RequiresReboot": false,
|
"RequiresReboot": false,
|
||||||
|
"DisableWhenApplied": false,
|
||||||
"MinVersion": null,
|
"MinVersion": null,
|
||||||
"MaxVersion": null
|
"MaxVersion": null
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -25,7 +25,7 @@ function RemoveApps {
|
|||||||
& $script:ApplySubStepCallback "Removing apps ($appIndex/$appCount)" $appIndex $appCount
|
& $script:ApplySubStepCallback "Removing apps ($appIndex/$appCount)" $appIndex $appCount
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Host "Attempting to remove $app..."
|
Write-Host "Removing $app"
|
||||||
|
|
||||||
# Use WinGet only to remove OneDrive and Edge
|
# Use WinGet only to remove OneDrive and Edge
|
||||||
if (($app -eq "Microsoft.OneDrive") -or ($edgeIds -contains $app)) {
|
if (($app -eq "Microsoft.OneDrive") -or ($edgeIds -contains $app)) {
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ function ExecuteParameter {
|
|||||||
|
|
||||||
# If feature has RegistryKey and ApplyText, use dynamic ImportRegistryFile
|
# If feature has RegistryKey and ApplyText, use dynamic ImportRegistryFile
|
||||||
if ($feature -and $feature.RegistryKey -and $feature.ApplyText) {
|
if ($feature -and $feature.RegistryKey -and $feature.ApplyText) {
|
||||||
ImportRegistryFile "> $($feature.ApplyText)" $feature.RegistryKey
|
ImportRegistryFile "> $($feature.ApplyText)..." $feature.RegistryKey
|
||||||
|
|
||||||
# Handle special cases that have additional logic after ImportRegistryFile
|
# Handle special cases that have additional logic after ImportRegistryFile
|
||||||
switch ($paramKey) {
|
switch ($paramKey) {
|
||||||
|
|||||||
Reference in New Issue
Block a user