balena-cli/patches/opn-cli++opn+4.0.2.patch
Pagan Gazzard 3d2e109e7f Update dependencies
Update balena-sdk from 12.26.7 to 12.29.1

Change-type: minor
2020-03-12 18:03:10 +00:00

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) {