readd changes

- change uninstall function call
- remove winget install code
- add edge install function call

- remove reg keys causing cursed open with contect menu
- remove edge policy keys
- remove edge keys
- remove edgeupdate keys
- add install edg logics
This commit is contained in:
MyDrift
2024-08-08 21:13:09 +02:00
parent 1945fe288d
commit 928c68f47c
2 changed files with 37 additions and 10 deletions

View File

@ -2561,15 +2561,10 @@
"panel": "1",
"Order": "a029_",
"InvokeScript": [
"
Uninstall-WinUtilEdgeBrowser
"
"Uninstall-WinUtilEdgeBrowser -action \"Uninstall\""
],
"UndoScript": [
"
Write-Host \"Install Microsoft Edge\"
Start-Process -FilePath winget -ArgumentList \"install --force -e --accept-source-agreements --accept-package-agreements --silent Microsoft.Edge \" -NoNewWindow -Wait
"
"Uninstall-WinUtilEdgeBrowser -action \"Install\""
],
"link": "https://christitustech.github.io/winutil/dev/tweaks/z--Advanced-Tweaks---CAUTION/RemoveEdge"
},