Skip to content

Commit

Permalink
fix: avoid deploy every startup
Browse files Browse the repository at this point in the history
  • Loading branch information
amorphobia committed Sep 16, 2024
1 parent 8963dcb commit 42ce82f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rabbit.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ RabbitMain(args) {

local m := (args.Length == 0) ? RABBIT_PARTIAL_MAINTENANCE : args[1]
if m != RABBIT_NO_MAINTENANCE {
SetDefaultKeyboard(layout)
Deploy()
if rime.start_maintenance(m == RABBIT_FULL_MAINTENANCE)
rime.join_maintenance_thread()
} else {
TrayTip()
TrayTip("维护完成", RABBIT_IME_NAME)
Expand Down

0 comments on commit 42ce82f

Please sign in to comment.