From d9f6b5ad580f9aea06bd2c567d6cfa0e8c1dd6ce Mon Sep 17 00:00:00 2001 From: Dvel Date: Thu, 10 Aug 2023 15:56:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20cold=5Fword=5Fdrop=20Windows=20=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=20fix=20#432?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/cold_word_drop/processor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/cold_word_drop/processor.lua b/lua/cold_word_drop/processor.lua index d3c2936..ac370a0 100644 --- a/lua/cold_word_drop/processor.lua +++ b/lua/cold_word_drop/processor.lua @@ -16,7 +16,7 @@ local tbls = { local function get_record_filername(record_type) local user_distribute_name = rime_api:get_distribution_name() if user_distribute_name == '小狼毫' then - return string.format("%%APPDATA%%\\Rime\\lua\\cold_word_record\\%s_words.lua", record_type) + return string.format("%s\\Rime\\lua\\cold_word_drop\\%s_words.lua", os.getenv("APPDATA"), record_type) end local system = io.popen("uname -s"):read("*l")