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
44
.github/workflows/build_addon.yml
vendored
44
.github/workflows/build_addon.yml
vendored
@ -15,35 +15,29 @@ 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
|
||||||
|
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/upload-artifact@v3
|
||||||
uses: actions/setup-python@v4
|
with:
|
||||||
with:
|
name: packaged_addon
|
||||||
python-version: 3.9
|
path: ./*.nvda-addon
|
||||||
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
|
|
||||||
|
|
||||||
upload_release:
|
upload_release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -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`
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user