Add: 2026-05-29-熔岩之海与云鲸之梦
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
@echo off
|
||||
chcp 65001 >nul
|
||||
title 码枪堂启动器
|
||||
color 0A
|
||||
|
||||
echo.
|
||||
echo ╔══════════════════════════════════════╗
|
||||
echo ║ 码枪堂 启动器 v1.0 ║
|
||||
echo ╚══════════════════════════════════════╝
|
||||
echo.
|
||||
|
||||
cd /d "D:\共享\extracted_files\$PLUGINSDIR\app-64\resources\decompiled_code"
|
||||
|
||||
:: 检查 node_modules
|
||||
if not exist "node_modules\electron" (
|
||||
echo [!] Electron 未安装,正在安装...
|
||||
call npm install electron --save-dev
|
||||
)
|
||||
|
||||
echo [√] 依赖检查完成
|
||||
echo.
|
||||
echo [*] 正在启动码枪堂...
|
||||
echo.
|
||||
|
||||
npx electron .
|
||||
|
||||
if errorlevel 1 (
|
||||
echo.
|
||||
echo [×] 启动失败!
|
||||
echo 请检查 Node.js 是否正确安装
|
||||
pause
|
||||
)
|
||||
Reference in New Issue
Block a user