mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-24 07:46:39 +00:00
5f552cf9a8
Change-type: patch
15 lines
461 B
Diff
15 lines
461 B
Diff
diff --git a/node_modules/opn/index.js b/node_modules/opn/index.js
|
|
index 13dcb66..16c5b2a 100644
|
|
--- a/node_modules/opn/index.js
|
|
+++ b/node_modules/opn/index.js
|
|
@@ -52,6 +52,9 @@ module.exports = function (target, opts) {
|
|
cmd = opts.app;
|
|
} else {
|
|
cmd = path.join(__dirname, 'xdg-open');
|
|
+ cmd = process.pkg
|
|
+ ? path.join(path.dirname(process.execPath), 'xdg-open-402')
|
|
+ : path.join(__dirname, 'xdg-open');
|
|
}
|
|
|
|
if (appArgs.length > 0) {
|