Skip to content

Commit 49a22b6

Browse files
committed
Update dev version
* Update keyboard * Edit GitHub Actions
1 parent dbaf92a commit 49a22b6

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

.github/workflows/dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
run: |
3131
python -m pip install --upgrade pip wheel
3232
pip install -r dev_requirements.txt
33+
pip install -e .
3334
3435
# Screen tests
3536
- name: Test Screen Size

.github/workflows/stable.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
run: |
3131
python -m pip install --upgrade pip wheel
3232
pip install -r dev_requirements.txt
33+
pip install -e .
3334
3435
# Screen tests
3536
- name: Test Screen Size

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,5 @@ dmypy.json
121121
.idea/AutoControl.iml
122122
.idea/misc.xml
123123
.idea/workspace.xml
124+
.claude/settings.local.json
125+
/.claude/

je_auto_control/wrapper/auto_control_keyboard.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,11 @@ def write(write_string: str, is_shift: bool = False) -> Optional[str]:
143143
for single_char in write_string:
144144
key = keyboard_keys_table.get(single_char)
145145
if key is not None:
146-
record_write_chars.append(type_keyboard(key, is_shift, skip_record=True))
146+
type_keyboard(key, is_shift, skip_record=True)
147+
record_write_chars.append(single_char)
147148
elif single_char.isspace():
148-
record_write_chars.append(type_keyboard("space", is_shift, skip_record=True))
149+
type_keyboard("space", is_shift, skip_record=True)
150+
record_write_chars.append(single_char)
149151
else:
150152
autocontrol_logger.error(f"write failed: {keyboard_write_cant_find_error_message}, char={single_char}")
151153
raise AutoControlKeyboardException(keyboard_write_cant_find_error_message)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66

77
[project]
88
name = "je_auto_control_dev"
9-
version = "0.0.134"
9+
version = "0.0.135"
1010
authors = [
1111
{ name = "JE-Chen", email = "jechenmailman@gmail.com" },
1212
]

0 commit comments

Comments
 (0)