welsonjs/bootstrap.bat

27 lines
934 B
Batchfile
Raw Permalink Normal View History

2024-07-27 12:30:07 +00:00
REM bootstrap.bat
REM WelsonJS 0.2.7
REM https://github.com/gnh1201/welsonjs
2021-09-21 11:59:57 +00:00
@echo off
pushd %~dp0
2024-07-22 19:26:38 +00:00
echo [*] Starting pre-configure script...
echo [*] Registering HTA file association...
reg import app\assets\reg\Default_HTA.reg
echo [*] Unlocking the performance limit of MSHTML...
reg add "HKCU\Software\Microsoft\Internet Explorer\Styles" /f
reg add "HKCU\Software\Microsoft\Internet Explorer\Styles" /v "MaxScriptStatements" /t REG_DWORD /d 0xFFFFFFFF /f
rem echo [*] Registering AutoItX component...
rem regsvr32 /s "%PROGRAMFILES(X86)%\AutoIt3\AutoItX\AutoItX3.dll"
rem regsvr32 /s "%PROGRAMFILES(X86)%\AutoIt3\AutoItX\AutoItX3_x64.dll"
2024-08-15 08:47:29 +00:00
echo [*] Registering WelsonJS.Toolkit component...
%WINDIR%\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /codebase bin\x86\WelsonJS.Toolkit.dll
2024-08-07 02:58:00 +00:00
REM %WINDIR%\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe /codebase bin\x64\WelsonJS.Toolkit.dll
2024-07-22 19:26:38 +00:00
echo [*] Done.
2021-09-21 11:59:57 +00:00
cscript app.js bootstrap