File tree Expand file tree Collapse file tree 5 files changed +199
-287
lines changed Expand file tree Collapse file tree 5 files changed +199
-287
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ ipython_config.py
85
85
# pyenv
86
86
# For a library or package, you might want to ignore these files since the code is
87
87
# intended to run in multiple environments; otherwise, check them in:
88
- # .python-version
88
+ .python-version
89
89
90
90
# pipenv
91
91
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
@@ -161,14 +161,8 @@ cython_debug/
161
161
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
162
162
# .idea/
163
163
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 /
172
166
173
167
# persistent storage
174
168
settings.json
Original file line number Diff line number Diff line change 1
1
[ ![ 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/ )
4
2
[ ![ 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 )
5
3
6
4
# NVDA Voicemeeter
@@ -29,19 +27,17 @@ cd nvda-voicemeeter
29
27
pip install .
30
28
```
31
29
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:
35
31
36
32
├── ` controllerClient/ `
37
33
38
34
  ;  ;  ;  ;  ;  ;  ;  ; ├── ` x64/ `
39
35
40
-   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; ├── nvdaControllerClient64 .dll
36
+   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; ├── nvdaControllerClient .dll
41
37
42
38
  ;  ;  ;  ;  ;  ;  ;  ; ├── ` x86/ `
43
39
44
-   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; ├── nvdaControllerClient32 .dll
40
+   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; ├── nvdaControllerClient .dll
45
41
46
42
#### ` From Releases `
47
43
@@ -56,7 +52,7 @@ import voicemeeterlib
56
52
57
53
import nvda_voicemeeter
58
54
59
- KIND_ID = " potato"
55
+ KIND_ID = ' potato'
60
56
61
57
with voicemeeterlib.api(KIND_ID ) as vm:
62
58
with nvda_voicemeeter.draw(KIND_ID , vm) as window:
Original file line number Diff line number Diff line change @@ -2,18 +2,21 @@ function Compress-Builds {
2
2
$target = Join-Path - Path $PSScriptRoot - ChildPath " dist"
3
3
@ (" basic" , " banana" , " potato" ) | ForEach-Object {
4
4
Compress-Archive - Path $ (Join-Path - Path $target - ChildPath $_ ) - DestinationPath $ (Join-Path - Path $target - ChildPath " ${_} .zip" ) - Force
5
- }
5
+ }
6
6
}
7
7
8
8
function Get-Builds {
9
9
@ (" 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
+ }
12
16
}
13
17
14
18
function main {
15
19
Get-Builds
16
-
17
20
Compress-Builds
18
21
}
19
22
You can’t perform that action at this time.
0 commit comments