Skip to content

Commit

Permalink
Update CapooSourceLUA
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyCapoo authored Dec 5, 2024
1 parent 49b4cf8 commit 2be4b31
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CapooSourceLUA
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ while running do
else
running = false
Sendtolog()
end
end
elseif choicelog == 2 then
c()
elseif choicelog == 3 then
Expand All @@ -448,7 +448,11 @@ if not SkyCapoofileExists(SkyCapoofilename) then
file:write(loguser[1])
file:close()
gg.toast("用戶名稱已設定: " .. loguser[1])
gg.sleep(600)
local file = io.open(SkyCapoofilename, "r")
username = file:read("*a")
file:close()
gg.toast("歡迎使用, 用戶: " .. username)
dologin()
else
gg.alert("未設定用戶名稱,輔助退出")
gg.exit()
Expand Down

0 comments on commit 2be4b31

Please sign in to comment.