Last active 1731735365

https://blog.vinfall.com/posts/2024/08/browser-customize-chromium/#配置插件

Revision 2df17d5f30be1fecee5fa9bc8e1fc479157a563f

allow-nwjs-game.bat Raw
1@echo off
2echo "Delete reg to allow Electron/NW.js..."
3
4reg delete "HKEY_LOCAL_MACHINE\Software\Policies\Chromium\ExtensionAllowedTypes" /f
5reg delete "HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ExtensionAllowedTypes" /f
6reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\ExtensionAllowedTypes" /f
7if %errorlevel%==0 (
8 echo ExtensionAllowedTypes policy deleted.
9) else (
10 echo ExtensionAllowedTypes policy deletion failed!
11)
12
13pause