mirror of
https://github.com/onyx-and-iris/nvda-addon-voicemeeter.git
synced 2025-02-22 12:55:08 +00:00
minor bump
update README with example bits in config
This commit is contained in:
parent
5534381981
commit
d95a2280c6
42
.github/workflows/build_addon.yml
vendored
42
.github/workflows/build_addon.yml
vendored
@ -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 }}
|
||||
|
||||
- run: echo -e "pre-commit\nscons\nmarkdown">requirements.txt
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pdm sync -d -G build
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
cache: 'pip'
|
||||
- name: building addon
|
||||
run: pdm run scons
|
||||
|
||||
- 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
|
||||
|
@ -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`
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user