From d95a2280c657b553a70c922d0ee5f4b96de7f206 Mon Sep 17 00:00:00 2001 From: Onyx and Iris Date: Fri, 24 Jan 2025 00:49:55 +0000 Subject: [PATCH] minor bump update README with example bits in config --- .github/workflows/build_addon.yml | 44 +++++++++++++------------------ README.md | 2 ++ pyproject.toml | 6 ++--- 3 files changed, 24 insertions(+), 28 deletions(-) diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index a310b60..24d7d20 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -15,35 +15,29 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.11'] + os: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - name: Set up PDM + uses: pdm-project/setup-pdm@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + pdm sync -d -G build - - run: echo -e "pre-commit\nscons\nmarkdown">requirements.txt + - name: building addon + run: pdm run scons - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: 3.9 - cache: 'pip' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip wheel - 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 - run: scons - - - uses: actions/upload-artifact@v3 - with: - name: packaged_addon - path: ./*.nvda-addon + - uses: actions/upload-artifact@v3 + with: + name: packaged_addon + path: ./*.nvda-addon upload_release: runs-on: ubuntu-latest diff --git a/README.md b/README.md index 9dd916d..b2c6b61 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,7 @@ example: ```json { "voicemeeter": "banana", + "bits": 64, "keybinds": { "NVDA+alt+k": "strip_mode", "NVDA+alt+l": "bus_mode", @@ -120,6 +121,7 @@ example: Would make the following changes: - 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 `announce_voicemeeter_version` bind to `NVDA+shift+z` - changes the bus assignment binds to `NVDA+control+number` diff --git a/pyproject.toml b/pyproject.toml index edaa0f5..abec450 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nvda-addon-voicemeeter" -version = "1.0.0" +version = "1.1.0" description = "A GUI-less NVDA Addon for Voicemeeter using the Remote API" authors = [ {name = "Onyx and Iris", email = "code@onyxandiris.online"}, @@ -51,8 +51,8 @@ exclude = [ line-length = 120 indent-width = 4 -# Assume Python 3.10 -target-version = "py310" +# Assume Python 3.11 +target-version = "py311" [tool.ruff.lint] # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.