🎈 Sync 2026-10-28 12:40:08

This commit is contained in:
github-actions[bot] committed 2026-10-28 12:40:08 +08:00
1 parent d42296f292
commit cfb89528fa
20 files changed
+1459 -766

No files matched your search

+6 -5
View File
@@ -1518,11 +1518,6 @@ function to_move(app_name,file)
}
end
local flag = sys.call('busybox pgrep -af "passwall2/.*'.. app_name ..'" >/dev/null')
if flag == 0 then
sys.call("/etc/init.d/passwall2 stop")
end
local old_app_size = 0
if fs.access(app_path) then
old_app_size = get_file_space(app_path)
@@ -1538,6 +1533,12 @@ function to_move(app_name,file)
end
end
-- Complete preflight before stopping an otherwise working proxy.
local flag = sys.call('busybox pgrep -af "passwall2/.*'.. app_name ..'" >/dev/null')
if flag == 0 then
sys.call("/etc/init.d/passwall2 stop")
end
result = exec("/bin/mv", { "-f", bin_path, app_path }, nil, command_timeout) == 0
sys.call(cmd_rm_tmp)