@agent-orcha/trayconsolejs 0.1.0 → 0.1.1
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/dist/index.js +3 -0
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -21,6 +21,9 @@ function resolveIcon(icon) {
|
|
|
21
21
|
return readFileSync(path);
|
|
22
22
|
}
|
|
23
23
|
function getBinaryPath() {
|
|
24
|
+
// Allow explicit override (e.g. for SEA builds where the binary is extracted elsewhere)
|
|
25
|
+
if (process.env.TRAYCONSOLE_BIN)
|
|
26
|
+
return process.env.TRAYCONSOLE_BIN;
|
|
24
27
|
const key = `${process.platform}-${process.arch}`;
|
|
25
28
|
if (process.env.DEV)
|
|
26
29
|
return join(__dirname, '..', 'binaries', key, 'bin', BIN_NAME);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-orcha/trayconsolejs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Cross-platform system tray + log console window for Node.js",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"typescript": "^5.7"
|
|
27
27
|
},
|
|
28
28
|
"optionalDependencies": {
|
|
29
|
-
"@agent-orcha/trayconsole-linux-x64": "0.1.
|
|
30
|
-
"@agent-orcha/trayconsole-linux-arm64": "0.1.
|
|
31
|
-
"@agent-orcha/trayconsole-darwin-x64": "0.1.
|
|
32
|
-
"@agent-orcha/trayconsole-darwin-arm64": "0.1.
|
|
33
|
-
"@agent-orcha/trayconsole-win32-x64": "0.1.
|
|
34
|
-
"@agent-orcha/trayconsole-win32-arm64": "0.1.
|
|
29
|
+
"@agent-orcha/trayconsole-linux-x64": "0.1.1",
|
|
30
|
+
"@agent-orcha/trayconsole-linux-arm64": "0.1.1",
|
|
31
|
+
"@agent-orcha/trayconsole-darwin-x64": "0.1.1",
|
|
32
|
+
"@agent-orcha/trayconsole-darwin-arm64": "0.1.1",
|
|
33
|
+
"@agent-orcha/trayconsole-win32-x64": "0.1.1",
|
|
34
|
+
"@agent-orcha/trayconsole-win32-arm64": "0.1.1"
|
|
35
35
|
}
|
|
36
36
|
}
|