Skip to content

Commit

Permalink
install lua with chinese-addons; drop Ctrl+Shift_L override
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj committed Sep 10, 2024
1 parent c71d0c3 commit de04d14
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)


Expand Down

0 comments on commit de04d14

Please sign in to comment.