From 693737e4890217babe2658feef953e1c7d0cd23c Mon Sep 17 00:00:00 2001 From: DrevilYT Date: Mon, 25 Dec 2023 17:10:22 +0800 Subject: [PATCH] New v1.4 uninstaller --- uninstall/DrevOS_Uninstall.ps1 | 13 +++++++++++++ uninstall/DrevOS_UninstallCleanup.ps1 | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 uninstall/DrevOS_Uninstall.ps1 create mode 100644 uninstall/DrevOS_UninstallCleanup.ps1 diff --git a/uninstall/DrevOS_Uninstall.ps1 b/uninstall/DrevOS_Uninstall.ps1 new file mode 100644 index 0000000..adb9ef0 --- /dev/null +++ b/uninstall/DrevOS_Uninstall.ps1 @@ -0,0 +1,13 @@ +echo Uninstall DrevOS and revert your computer back to default Windows? +echo Press enter to continue. +pause +cd $env:USERPROFILE\AppData\Roaming\Microsoft\Windows\Themes +del TranscodedWallpaper +ren TranscodedWallpaper_default TranscodedWallpaper +taskkill /f /im explorer.exe +start explorer.exe +curl -L -o revert.reg "https://drev.evils.in/DrevOS/oem/revert.reg" +start revert.reg +curl -L -o DrevOS_UninstallCleanup.ps1 "https://drev.evils.in/DrevOS/uninstall/DrevOS_UninstallCleanup.ps1" +start DrevOS_UninstallCleanup.ps1 +exit \ No newline at end of file diff --git a/uninstall/DrevOS_UninstallCleanup.ps1 b/uninstall/DrevOS_UninstallCleanup.ps1 new file mode 100644 index 0000000..59e5da9 --- /dev/null +++ b/uninstall/DrevOS_UninstallCleanup.ps1 @@ -0,0 +1,3 @@ +cd $env:USERPROFILE\Desktop +Remove-Item $env:USERPROFILE\Desktop\DrevOS_Tools* -Recurse -Force +exit \ No newline at end of file