Skip to content

Commit

Permalink
Add God Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
GChuf committed Jan 11, 2022
1 parent 17f3c73 commit 95b5522
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions RCWM/files/GodMode.reg
@@ -0,0 +1,14 @@
Windows Registry Editor Version 5.00

;GodMode

[HKEY_CLASSES_ROOT\Directory\Background\shell\GodMode]
@="God Mode"
"NoWorkingDirectory"=""
"Icon"="rcwmimg.dll,-17"

[HKEY_CLASSES_ROOT\Directory\Background\shell\GodMode\command]
@="explorer C:\\windows\\system32\\RCWM\\GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}"
"IsolatedCommand"="explorer C:\\windows\\system32\\RCWM\\GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}"

; end
4 changes: 4 additions & 0 deletions RCWM/install.cmd
Expand Up @@ -205,6 +205,10 @@ IF %pwsh% LSS 5 (
) ELSE ( start /w regedit /s pwrshell.reg )
)

color a
choice /C yn /M "* Do you want to add God Mode "
if %errorlevel% == 1 ( start /w regedit /s GodMode.reg && md C:\windows\system32\RCWM\GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} >NUL)

color a
choice /C yn /M "* Do you want to add Take Ownership to files and directories"
if %errorlevel% == 1 ( start /w regedit /s TakeOwn.reg )
Expand Down

0 comments on commit 95b5522

Please sign in to comment.