2020-03-11 01:12:07 +00:00
|
|
|
diff --git a/node_modules/open/index.js b/node_modules/open/index.js
|
2023-05-02 15:46:32 +00:00
|
|
|
index 13147d0..ff161dd 100644
|
2020-03-11 01:12:07 +00:00
|
|
|
--- a/node_modules/open/index.js
|
|
|
|
+++ b/node_modules/open/index.js
|
2023-05-02 15:46:32 +00:00
|
|
|
@@ -10,7 +10,10 @@ const pAccess = promisify(fs.access);
|
|
|
|
const pReadFile = promisify(fs.readFile);
|
2020-03-11 01:12:07 +00:00
|
|
|
|
|
|
|
// Path to included `xdg-open`.
|
|
|
|
-const localXdgOpenPath = path.join(__dirname, 'xdg-open');
|
|
|
|
+const localXdgOpenPath = process.pkg
|
|
|
|
+ ? path.join(path.dirname(process.execPath), 'xdg-open')
|
|
|
|
+ : path.join(__dirname, 'xdg-open');
|
2023-05-02 15:46:32 +00:00
|
|
|
+
|
2020-03-11 01:12:07 +00:00
|
|
|
|
2023-05-02 15:46:32 +00:00
|
|
|
/**
|
|
|
|
Get the mount point for fixed drives in WSL.
|