allow-nwjs-game.bat
· 459 B · Batchfile
Исходник
@echo off
echo "Delete reg to allow Electron/NW.js..."
reg delete "HKEY_LOCAL_MACHINE\Software\Policies\Chromium\ExtensionAllowedTypes" /f
reg delete "HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ExtensionAllowedTypes" /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\ExtensionAllowedTypes" /f
if %errorlevel%==0 (
echo ExtensionAllowedTypes policy deleted.
) else (
echo ExtensionAllowedTypes policy deletion failed!
)
pause
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 |