From cc8cd0409826e0846254981235147468adc3fdac Mon Sep 17 00:00:00 2001 From: Xuesong Peng Date: Sat, 21 Sep 2024 16:14:06 +0800 Subject: [PATCH] fix: rabbit's config might not be deployed If delete "rabbit.yaml" in staging dir but do no deployment, it will not build "rabbit.yaml" again on startup. Librime will include "rabbit.yaml" and "rabbit.custom.yaml" in partially maintenance only if it's in staging dir. --- Rabbit.ahk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Rabbit.ahk b/Rabbit.ahk index 790306b..b55f6c5 100644 --- a/Rabbit.ahk +++ b/Rabbit.ahk @@ -56,6 +56,8 @@ RabbitMain(args) { local first_run := !FileExist(RabbitUserDataPath() . "\default.custom.yaml") || !FileExist(RabbitUserDataPath() . "\rabbit.custom.yaml") || !FileExist(RabbitUserDataPath() . "\user.yaml") + || !FileExist(RabbitUserDataPath() . "\installation.yaml") + || !FileExist(RabbitUserDataPath() . "\build\rabbit.yaml") ; in staging dir rabbit_traits := CreateTraits() global rime