minor bump

update README with example bits in config
This commit is contained in:
Onyx and Iris 2025-01-24 00:49:55 +00:00
parent 5534381981
commit d95a2280c6
3 changed files with 24 additions and 28 deletions

View File

@ -15,30 +15,24 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11']
os: [ubuntu-latest]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Set up PDM
- run: echo -e "pre-commit\nscons\nmarkdown">requirements.txt uses: pdm-project/setup-pdm@v4
- name: Set up Python
uses: actions/setup-python@v4
with: with:
python-version: 3.9 python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip wheel pdm sync -d -G build
pip install -r requirements.txt
sudo apt-get update -y
sudo apt-get install -y gettext
- name: Code checks
run: export SKIP=no-commit-to-branch; pre-commit run --all
- name: building addon - name: building addon
run: scons run: pdm run scons
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:

View File

@ -85,6 +85,7 @@ example:
```json ```json
{ {
"voicemeeter": "banana", "voicemeeter": "banana",
"bits": 64,
"keybinds": { "keybinds": {
"NVDA+alt+k": "strip_mode", "NVDA+alt+k": "strip_mode",
"NVDA+alt+l": "bus_mode", "NVDA+alt+l": "bus_mode",
@ -120,6 +121,7 @@ example:
Would make the following changes: Would make the following changes:
- load the plugin in `banana` mode (default is potato) - load the plugin in `banana` mode (default is potato)
- override the bits of Voicemeeter GUI to 64 (default is 32)
- change the `strip_mode` and `bus_mode` binds to `NVDA+alt+k` and `NVDA+alt+l` respectively - change the `strip_mode` and `bus_mode` binds to `NVDA+alt+k` and `NVDA+alt+l` respectively
- change the `announce_voicemeeter_version` bind to `NVDA+shift+z` - change the `announce_voicemeeter_version` bind to `NVDA+shift+z`
- changes the bus assignment binds to `NVDA+control+number` - changes the bus assignment binds to `NVDA+control+number`

View File

@ -1,6 +1,6 @@
[project] [project]
name = "nvda-addon-voicemeeter" name = "nvda-addon-voicemeeter"
version = "1.0.0" version = "1.1.0"
description = "A GUI-less NVDA Addon for Voicemeeter using the Remote API" description = "A GUI-less NVDA Addon for Voicemeeter using the Remote API"
authors = [ authors = [
{name = "Onyx and Iris", email = "code@onyxandiris.online"}, {name = "Onyx and Iris", email = "code@onyxandiris.online"},
@ -51,8 +51,8 @@ exclude = [
line-length = 120 line-length = 120
indent-width = 4 indent-width = 4
# Assume Python 3.10 # Assume Python 3.11
target-version = "py310" target-version = "py311"
[tool.ruff.lint] [tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default. # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.