From a87b3a28af8763e24b3f4ae23687c40f506eb3a3 Mon Sep 17 00:00:00 2001 From: ysard Date: Thu, 3 Jan 2019 13:38:59 +0100 Subject: [PATCH 1/2] Fix shared profiles paths on network; Close #24 --- modules/trayservice.jsm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/trayservice.jsm b/modules/trayservice.jsm index 8a27395..9013168 100644 --- a/modules/trayservice.jsm +++ b/modules/trayservice.jsm @@ -41,7 +41,9 @@ function fixPath(path) { } // fix path for windows - if (/^\/[A-Z]:\//.test(path)) { // detect if this is broken windows path: '\C:\xxx' + // detect if this is broken windows path: '\C:\xxx' + // or a network path: '\\network\drive\' + if (/^\/[A-Z]:\//.test(path) || /^\/{3}/.test(path)) { path = path.substring(1, path.length); // remove leading slash path = path.replace(/\//g, '\\'); // also convert slash to backslash } From b42fc089b949f597523951b8e8d72a9d707ef6a0 Mon Sep 17 00:00:00 2001 From: ysard Date: Thu, 3 Jan 2019 13:40:21 +0100 Subject: [PATCH 2/2] Bump 1.4.8 --- install.rdf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.rdf b/install.rdf index 8aa5c20..8d3340b 100644 --- a/install.rdf +++ b/install.rdf @@ -2,7 +2,7 @@ mintray-reanimated@ysard - 1.4.7 + 1.4.8 true true 2