From de04d14bf43b82a39da4754fba37efe1514b43bf Mon Sep 17 00:00:00 2001 From: Qijia Liu Date: Mon, 9 Sep 2024 23:49:13 -0400 Subject: [PATCH] install lua with chinese-addons; drop Ctrl+Shift_L override --- .github/workflows/ci.yml | 2 +- package.py | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b0d670a..d735105 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,7 @@ jobs: - name: Build Pinyin edition run: | - python package.py 拼音版 chinese-addons pinyin true + python package.py 拼音版 chinese-addons,lua pinyin true mv build/src/Fcitx5Installer.zip Fcitx5-Pinyin.zip rm -rf build diff --git a/package.py b/package.py index 488417e..671ac01 100644 --- a/package.py +++ b/package.py @@ -128,11 +128,6 @@ def generate_profile(): f.write(PROFILE_HEADER.format(input_methods[0]) + body + PROFILE_TAIL) -CONTRL_SHIFT_SWITCH = ''' -[Hotkey/TriggerKeys] -0=Control+Shift_L -''' - ACTIVE_BY_DEFAULT = ''' [Behavior] ActiveByDefault=True @@ -148,7 +143,6 @@ def generate_config(): if sys.argv[4] != 'true': return with open(f'{CONFIG_DIR}/config', 'w') as f: - f.write(CONTRL_SHIFT_SWITCH) f.write(ACTIVE_BY_DEFAULT)