Skip to content

Commit

Permalink
aaaaaaaaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
zxlhhyccc committed Nov 30, 2024
1 parent c988fdb commit 7b2e5c7
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions luci-app-ssr-plus/root/usr/share/shadowsocksr/update.lua
Original file line number Diff line number Diff line change
Expand Up @@ -188,15 +188,14 @@ local function update(url, file, type, file2)
local decode = apple:read("*a")
if not decode:find("apple") then
decode = base64_dec(decode)
else
apple:close()
-- 写回applechina
apple = io.open("/tmp/ssr-update.tmp", "w")
apple:write(decode)
apple:close()
if new_appledns and new_appledns ~= "" then
generate_apple(type)
end
end
apple:close()
-- 写回applechina
apple = io.open("/tmp/ssr-update.tmp", "w")
apple:write(decode)
apple:close()
if new_appledns and new_appledns ~= "" then
generate_apple(type)
end
end
if type == "ad_data" then
Expand Down

0 comments on commit 7b2e5c7

Please sign in to comment.