@agora-build/audictl 0.1.1 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/install.js +3 -1
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# @agora-build/audictl
|
|
2
2
|
|
|
3
|
-
Manage macOS audio devices from
|
|
4
|
-
replacement for the audio-device half of Audio MIDI Setup.
|
|
3
|
+
Manage macOS and Linux audio devices from a scriptable, agent-friendly CLI.
|
|
5
4
|
|
|
6
5
|
```sh
|
|
7
6
|
npm install -g @agora-build/audictl
|
|
@@ -9,7 +8,7 @@ audictl list
|
|
|
9
8
|
```
|
|
10
9
|
|
|
11
10
|
The postinstall step downloads the prebuilt binary for your platform from
|
|
12
|
-
[GitHub Releases](https://github.com/Agora-Build/audictl/releases).
|
|
11
|
+
[GitHub Releases](https://github.com/Agora-Build/audictl/releases).
|
|
13
12
|
|
|
14
13
|
Alternative install without npm:
|
|
15
14
|
|
package/install.js
CHANGED
|
@@ -21,12 +21,14 @@ function getPlatformKey() {
|
|
|
21
21
|
const map = {
|
|
22
22
|
"darwin-x64": "darwin-x86_64",
|
|
23
23
|
"darwin-arm64": "darwin-aarch64",
|
|
24
|
+
"linux-x64": "linux-x86_64",
|
|
25
|
+
"linux-arm64": "linux-aarch64",
|
|
24
26
|
};
|
|
25
27
|
|
|
26
28
|
const key = `${platform}-${arch}`;
|
|
27
29
|
if (!map[key]) {
|
|
28
30
|
console.error(`Unsupported platform: ${key}`);
|
|
29
|
-
console.error("
|
|
31
|
+
console.error("Supported platforms: macOS and Linux on x64 or arm64.");
|
|
30
32
|
process.exit(1);
|
|
31
33
|
}
|
|
32
34
|
return map[key];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agora-build/audictl",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Manage macOS audio devices from
|
|
3
|
+
"version": "0.1.4",
|
|
4
|
+
"description": "Manage macOS and Linux audio devices from a scriptable, agent-friendly CLI.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"audictl": "bin/audictl"
|
|
7
7
|
},
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
},
|
|
20
20
|
"keywords": [
|
|
21
21
|
"macos",
|
|
22
|
+
"linux",
|
|
23
|
+
"pipewire",
|
|
22
24
|
"audio",
|
|
23
25
|
"coreaudio",
|
|
24
26
|
"aggregate-device",
|
|
@@ -34,7 +36,8 @@
|
|
|
34
36
|
},
|
|
35
37
|
"homepage": "https://github.com/Agora-Build/audictl#readme",
|
|
36
38
|
"os": [
|
|
37
|
-
"darwin"
|
|
39
|
+
"darwin",
|
|
40
|
+
"linux"
|
|
38
41
|
],
|
|
39
42
|
"cpu": [
|
|
40
43
|
"x64",
|