mirror of
https://github.com/whyour/qinglong.git
synced 2026-11-02 15:27:58 +08:00
fix: validate ARMv6 upgrades and publish rolling development bundles
This commit is contained in:
@@ -6,7 +6,9 @@ const path = require('node:path');
|
||||
const { spawnSync } = require('node:child_process');
|
||||
|
||||
const startup = fs.readFileSync('shell/start-simplify.sh', 'utf8');
|
||||
const preparation = startup.slice(
|
||||
const runtimeLoader = fs.readFileSync('shell/share.sh', 'utf8')
|
||||
.match(/^load_node_runtime_args\(\) \{[\s\S]*?^\}/m)[0];
|
||||
const preparation = `${runtimeLoader}\ndir_root="$QL_DIR"\n` + startup.slice(
|
||||
startup.indexOf('\nfix_config\n'),
|
||||
startup.indexOf('log_with_style "INFO" "$(t \'🔄'),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user