Przeglądaj źródła

chore(build-scripts): delete unused pack-linux.js packaging script file

sw 4 tygodni temu
rodzic
commit
fe9746876c
1 zmienionych plików z 0 dodań i 18 usunięć
  1. 0 18
      .build/pack-linux.js

+ 0 - 18
.build/pack-linux.js

@@ -1,18 +0,0 @@
-const { execSync } = require('child_process');
-const { exit } = require('process');
-
-function run(cmd) {
-  console.log(`\n>>> ${cmd}`);
-  try {
-    execSync(cmd, { stdio: 'inherit', cwd: process.cwd() });
-  } catch (e) {
-    console.error(`命令失败: ${cmd}`, e.message);
-    exit(1);
-  }
-}
-
-run('npm run build:h5');
-run('npm run prebuild:arm:linux');
-run('npm run build:electron:linux');
-
-console.log('\n✅ 全部构建完成');