Vinfall revised this gist . Go to revision
1 file changed, 13 insertions
allow-nwjs-game.bat(file created)
@@ -0,0 +1,13 @@ | |||
1 | + | @echo off | |
2 | + | echo "Delete reg to allow Electron/NW.js..." | |
3 | + | ||
4 | + | reg delete "HKEY_LOCAL_MACHINE\Software\Policies\Chromium\ExtensionAllowedTypes" /f | |
5 | + | reg delete "HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ExtensionAllowedTypes" /f | |
6 | + | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\ExtensionAllowedTypes" /f | |
7 | + | if %errorlevel%==0 ( | |
8 | + | echo ExtensionAllowedTypes policy deleted. | |
9 | + | ) else ( | |
10 | + | echo ExtensionAllowedTypes policy deletion failed! | |
11 | + | ) | |
12 | + | ||
13 | + | pause |
Newer
Older