Skip to content

Commit 055e92a

Browse files
committed
bump to major version 1.0.0
1 parent 32b3ec8 commit 055e92a

File tree

5 files changed

+199
-287
lines changed

5 files changed

+199
-287
lines changed

.gitignore

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ ipython_config.py
8585
# pyenv
8686
# For a library or package, you might want to ignore these files since the code is
8787
# intended to run in multiple environments; otherwise, check them in:
88-
# .python-version
88+
.python-version
8989

9090
# pipenv
9191
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
@@ -161,14 +161,8 @@ cython_debug/
161161
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
162162
#.idea/
163163

164-
# nvda files
165-
controllerClient/*
166-
!.gitkeep
167-
168-
# build files
169-
basic.py
170-
banana.py
171-
potato.py
164+
# spec files
165+
spec/
172166

173167
# persistent storage
174168
settings.json

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
[![pdm-managed](https://img.shields.io/badge/pdm-managed-blueviolet)](https://pdm.fming.dev)
2-
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
3-
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)
42
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
53

64
# NVDA Voicemeeter
@@ -29,19 +27,17 @@ cd nvda-voicemeeter
2927
pip install .
3028
```
3129

32-
Then download the [Controller Client][controller_client] and place the dll files into the directory `controllerClient`.
33-
34-
Your directory structure should look like this:
30+
The [Controller Client][controller_client] files are included with the source files. If you decide to download them yourself make sure you keep the directory structure as follows:
3531

3632
├── `controllerClient/`
3733

3834
        ├── `x64/`
3935

40-
                ├── nvdaControllerClient64.dll
36+
                ├── nvdaControllerClient.dll
4137

4238
        ├── `x86/`
4339

44-
                ├── nvdaControllerClient32.dll
40+
                ├── nvdaControllerClient.dll
4541

4642
#### `From Releases`
4743

@@ -56,7 +52,7 @@ import voicemeeterlib
5652

5753
import nvda_voicemeeter
5854

59-
KIND_ID = "potato"
55+
KIND_ID = 'potato'
6056

6157
with voicemeeterlib.api(KIND_ID) as vm:
6258
with nvda_voicemeeter.draw(KIND_ID, vm) as window:

build.ps1

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,21 @@ function Compress-Builds {
22
$target = Join-Path -Path $PSScriptRoot -ChildPath "dist"
33
@("basic", "banana", "potato") | ForEach-Object {
44
Compress-Archive -Path $(Join-Path -Path $target -ChildPath $_) -DestinationPath $(Join-Path -Path $target -ChildPath "${_}.zip") -Force
5-
}
5+
}
66
}
77

88
function Get-Builds {
99
@("basic", "banana", "potato") | ForEach-Object {
10-
pdm run pyinstaller "${_}.spec" --noconfirm
11-
}
10+
$specName = $_
11+
12+
Write-Host "building $specName"
13+
14+
pdm run pyinstaller --noconfirm --distpath (Join-Path -Path "dist" -ChildPath $specName) (Join-Path -Path "spec" -ChildPath "${specName}.spec")
15+
}
1216
}
1317

1418
function main {
1519
Get-Builds
16-
1720
Compress-Builds
1821
}
1922

0 commit comments

Comments
 (0)