@multiplatform.one/desktop 9.17.0 → 10.1.0
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/cjs/dialog/index.cjs +37 -41
- package/dist/cjs/dialog/index.native.cjs +59 -0
- package/dist/cjs/dialog/index.native.js +38 -41
- package/dist/cjs/dialog/index.native.js.map +1 -1
- package/dist/cjs/dialog/index.tauri.cjs +58 -62
- package/dist/cjs/dialog/index.tauri.native.cjs +72 -0
- package/dist/cjs/dialog/index.tauri.native.js +58 -61
- package/dist/cjs/dialog/index.tauri.native.js.map +1 -1
- package/dist/cjs/fs/index.cjs +35 -39
- package/dist/cjs/fs/index.native.cjs +48 -0
- package/dist/cjs/fs/index.native.js +35 -38
- package/dist/cjs/fs/index.native.js.map +1 -1
- package/dist/cjs/fs/index.tauri.cjs +35 -39
- package/dist/cjs/fs/index.tauri.native.cjs +49 -0
- package/dist/cjs/fs/index.tauri.native.js +35 -38
- package/dist/cjs/fs/index.tauri.native.js.map +1 -1
- package/dist/cjs/index.cjs +9 -11
- package/dist/cjs/index.native.cjs +23 -0
- package/dist/cjs/index.native.js +9 -10
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/paths/index.cjs +31 -35
- package/dist/cjs/paths/index.native.cjs +50 -0
- package/dist/cjs/paths/index.native.js +37 -40
- package/dist/cjs/paths/index.native.js.map +1 -1
- package/dist/cjs/paths/index.tauri.cjs +29 -41
- package/dist/cjs/paths/index.tauri.native.cjs +49 -0
- package/dist/cjs/paths/index.tauri.native.js +35 -46
- package/dist/cjs/paths/index.tauri.native.js.map +1 -1
- package/dist/cjs/updater/index.cjs +23 -27
- package/dist/cjs/updater/index.native.cjs +36 -0
- package/dist/cjs/updater/index.native.js +23 -26
- package/dist/cjs/updater/index.native.js.map +1 -1
- package/dist/cjs/updater/index.tauri.cjs +74 -87
- package/dist/cjs/updater/index.tauri.native.cjs +95 -0
- package/dist/cjs/updater/index.tauri.native.js +76 -88
- package/dist/cjs/updater/index.tauri.native.js.map +1 -1
- package/dist/esm/dialog/index.mjs +24 -23
- package/dist/esm/dialog/index.mjs.map +1 -1
- package/dist/esm/dialog/index.native.js +25 -24
- package/dist/esm/dialog/index.native.js.map +1 -1
- package/dist/esm/dialog/index.tauri.mjs +47 -45
- package/dist/esm/dialog/index.tauri.mjs.map +1 -1
- package/dist/esm/dialog/index.tauri.native.js +47 -45
- package/dist/esm/dialog/index.tauri.native.js.map +1 -1
- package/dist/esm/fs/index.mjs +22 -21
- package/dist/esm/fs/index.mjs.map +1 -1
- package/dist/esm/fs/index.native.js +22 -21
- package/dist/esm/fs/index.native.js.map +1 -1
- package/dist/esm/fs/index.tauri.mjs +24 -22
- package/dist/esm/fs/index.tauri.mjs.map +1 -1
- package/dist/esm/fs/index.tauri.native.js +24 -22
- package/dist/esm/fs/index.tauri.native.js.map +1 -1
- package/dist/esm/index.mjs +7 -5
- package/dist/esm/index.native.js +7 -5
- package/dist/esm/paths/index.mjs +18 -17
- package/dist/esm/paths/index.mjs.map +1 -1
- package/dist/esm/paths/index.native.js +24 -23
- package/dist/esm/paths/index.native.js.map +1 -1
- package/dist/esm/paths/index.tauri.mjs +17 -23
- package/dist/esm/paths/index.tauri.mjs.map +1 -1
- package/dist/esm/paths/index.tauri.native.js +23 -29
- package/dist/esm/paths/index.tauri.native.js.map +1 -1
- package/dist/esm/updater/index.mjs +10 -9
- package/dist/esm/updater/index.mjs.map +1 -1
- package/dist/esm/updater/index.native.js +10 -9
- package/dist/esm/updater/index.native.js.map +1 -1
- package/dist/esm/updater/index.tauri.mjs +58 -61
- package/dist/esm/updater/index.tauri.mjs.map +1 -1
- package/dist/esm/updater/index.tauri.native.js +60 -63
- package/dist/esm/updater/index.tauri.native.js.map +1 -1
- package/package.json +2 -2
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/index.native.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.native.js","names":[],"sources":["cjs/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./dialog/index\"), module.exports);\n__reExport(index_exports, require(\"./fs/index\"), module.exports);\n__reExport(index_exports, require(\"./paths/index\"), module.exports);\n__reExport(index_exports, require(\"./updater/index\"), module.exports);\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,cAAc,QAAQ,KAAK,kBAAkB,YAAY,QAAQ,KAAK,SAAS,GAAG,gBAAgB,YAAY,cAAc,KAAK,SAAS;AAC9I,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,OAAO,UAAU,aAAa,aAAa;AAC3C,WAAW,eAAe,QAAQ,0BAAgB,GAAG,OAAO,OAAO;AACnE,WAAW,eAAe,QAAQ,sBAAY,GAAG,OAAO,OAAO;AAC/D,WAAW,eAAe,QAAQ,yBAAe,GAAG,OAAO,OAAO;AAClE,WAAW,eAAe,QAAQ,2BAAiB,GAAG,OAAO,OAAO"}
|
package/dist/cjs/paths/index.cjs
CHANGED
|
@@ -3,44 +3,40 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
10
|
};
|
|
11
11
|
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
19
|
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: true
|
|
22
|
-
}), mod);
|
|
20
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
21
|
var paths_exports = {};
|
|
24
|
-
__export(paths_exports, {
|
|
25
|
-
paths: () => paths
|
|
26
|
-
});
|
|
22
|
+
__export(paths_exports, { paths: () => paths });
|
|
27
23
|
module.exports = __toCommonJS(paths_exports);
|
|
28
24
|
const paths = {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
};
|
|
25
|
+
async getAppPath() {
|
|
26
|
+
return "/";
|
|
27
|
+
},
|
|
28
|
+
async getPath(_name) {
|
|
29
|
+
return "/";
|
|
30
|
+
},
|
|
31
|
+
async join(...segments) {
|
|
32
|
+
return segments.join("/");
|
|
33
|
+
},
|
|
34
|
+
async resolve(...segments) {
|
|
35
|
+
return segments.join("/");
|
|
36
|
+
},
|
|
37
|
+
async dirname(path) {
|
|
38
|
+
const parts = path.split("/");
|
|
39
|
+
parts.pop();
|
|
40
|
+
return parts.join("/") || "/";
|
|
41
|
+
}
|
|
42
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
|
+
var paths_exports = {};
|
|
24
|
+
__export(paths_exports, { paths: () => paths });
|
|
25
|
+
module.exports = __toCommonJS(paths_exports);
|
|
26
|
+
var paths = {
|
|
27
|
+
async getAppPath() {
|
|
28
|
+
return "/";
|
|
29
|
+
},
|
|
30
|
+
async getPath(_name) {
|
|
31
|
+
return "/";
|
|
32
|
+
},
|
|
33
|
+
async join() {
|
|
34
|
+
for (var _len = arguments.length, segments = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
35
|
+
segments[_key] = arguments[_key];
|
|
36
|
+
}
|
|
37
|
+
return segments.join("/");
|
|
38
|
+
},
|
|
39
|
+
async resolve() {
|
|
40
|
+
for (var _len = arguments.length, segments = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
41
|
+
segments[_key] = arguments[_key];
|
|
42
|
+
}
|
|
43
|
+
return segments.join("/");
|
|
44
|
+
},
|
|
45
|
+
async dirname(path) {
|
|
46
|
+
var parts = path.split("/");
|
|
47
|
+
parts.pop();
|
|
48
|
+
return parts.join("/") || "/";
|
|
49
|
+
}
|
|
50
|
+
};
|
|
@@ -5,51 +5,48 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
12
|
};
|
|
13
13
|
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
21
|
};
|
|
22
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
-
value: true
|
|
24
|
-
}), mod);
|
|
22
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25
23
|
var paths_exports = {};
|
|
26
|
-
__export(paths_exports, {
|
|
27
|
-
paths: () => paths
|
|
28
|
-
});
|
|
24
|
+
__export(paths_exports, { paths: () => paths });
|
|
29
25
|
module.exports = __toCommonJS(paths_exports);
|
|
30
26
|
var paths = {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
27
|
+
async getAppPath() {
|
|
28
|
+
return "/";
|
|
29
|
+
},
|
|
30
|
+
async getPath(_name) {
|
|
31
|
+
return "/";
|
|
32
|
+
},
|
|
33
|
+
async join() {
|
|
34
|
+
for (var _len = arguments.length, segments = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
35
|
+
segments[_key] = arguments[_key];
|
|
36
|
+
}
|
|
37
|
+
return segments.join("/");
|
|
38
|
+
},
|
|
39
|
+
async resolve() {
|
|
40
|
+
for (var _len = arguments.length, segments = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
41
|
+
segments[_key] = arguments[_key];
|
|
42
|
+
}
|
|
43
|
+
return segments.join("/");
|
|
44
|
+
},
|
|
45
|
+
async dirname(path) {
|
|
46
|
+
var parts = path.split("/");
|
|
47
|
+
parts.pop();
|
|
48
|
+
return parts.join("/") || "/";
|
|
49
|
+
}
|
|
54
50
|
};
|
|
51
|
+
|
|
55
52
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.native.js","names":[],"sources":["cjs/paths/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar paths_exports = {};\n__export(paths_exports, {\n paths: () => paths\n});\nmodule.exports = __toCommonJS(paths_exports);\nvar paths = {\n async getAppPath() {\n return \"/\";\n },\n async getPath(_name) {\n return \"/\";\n },\n async join() {\n for (var _len = arguments.length, segments = new Array(_len), _key = 0; _key < _len; _key++) {\n segments[_key] = arguments[_key];\n }\n return segments.join(\"/\");\n },\n async resolve() {\n for (var _len = arguments.length, segments = new Array(_len), _key = 0; _key < _len; _key++) {\n segments[_key] = arguments[_key];\n }\n return segments.join(\"/\");\n },\n async dirname(path) {\n var parts = path.split(\"/\");\n parts.pop();\n return parts.join(\"/\") || \"/\";\n }\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,SAAS,eAAe,EACtB,aAAa,MACf,CAAC;AACD,OAAO,UAAU,aAAa,aAAa;AAC3C,IAAI,QAAQ;CACV,MAAM,aAAa;EACjB,OAAO;CACT;CACA,MAAM,QAAQ,OAAO;EACnB,OAAO;CACT;CACA,MAAM,OAAO;EACX,KAAK,IAAI,OAAO,UAAU,QAAQ,WAAW,IAAI,MAAM,IAAI,GAAG,OAAO,GAAG,OAAO,MAAM,QAAQ;GAC3F,SAAS,QAAQ,UAAU;EAC7B;EACA,OAAO,SAAS,KAAK,GAAG;CAC1B;CACA,MAAM,UAAU;EACd,KAAK,IAAI,OAAO,UAAU,QAAQ,WAAW,IAAI,MAAM,IAAI,GAAG,OAAO,GAAG,OAAO,MAAM,QAAQ;GAC3F,SAAS,QAAQ,UAAU;EAC7B;EACA,OAAO,SAAS,KAAK,GAAG;CAC1B;CACA,MAAM,QAAQ,MAAM;EAClB,IAAI,QAAQ,KAAK,MAAM,GAAG;EAC1B,MAAM,IAAI;EACV,OAAO,MAAM,KAAK,GAAG,KAAK;CAC5B;AACF"}
|
|
@@ -3,51 +3,39 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
10
|
};
|
|
11
11
|
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
19
|
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: true
|
|
22
|
-
}), mod);
|
|
20
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
21
|
var index_tauri_exports = {};
|
|
24
|
-
__export(index_tauri_exports, {
|
|
25
|
-
paths: () => paths
|
|
26
|
-
});
|
|
22
|
+
__export(index_tauri_exports, { paths: () => paths });
|
|
27
23
|
module.exports = __toCommonJS(index_tauri_exports);
|
|
28
24
|
var import_core = require("@tauri-apps/api/core");
|
|
29
25
|
const paths = {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
});
|
|
47
|
-
},
|
|
48
|
-
async dirname(path) {
|
|
49
|
-
return (0, import_core.invoke)("dirname", {
|
|
50
|
-
path
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
};
|
|
26
|
+
async getAppPath() {
|
|
27
|
+
return (0, import_core.invoke)("get_app_path");
|
|
28
|
+
},
|
|
29
|
+
async getPath(name) {
|
|
30
|
+
return (0, import_core.invoke)("get_path", { name });
|
|
31
|
+
},
|
|
32
|
+
async join(...segments) {
|
|
33
|
+
return (0, import_core.invoke)("join_path", { segments });
|
|
34
|
+
},
|
|
35
|
+
async resolve(...segments) {
|
|
36
|
+
return (0, import_core.invoke)("resolve_path", { segments });
|
|
37
|
+
},
|
|
38
|
+
async dirname(path) {
|
|
39
|
+
return (0, import_core.invoke)("dirname", { path });
|
|
40
|
+
}
|
|
41
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
|
+
var index_tauri_exports = {};
|
|
24
|
+
__export(index_tauri_exports, { paths: () => paths });
|
|
25
|
+
module.exports = __toCommonJS(index_tauri_exports);
|
|
26
|
+
var import_core = require("@tauri-apps/api/core");
|
|
27
|
+
var paths = {
|
|
28
|
+
async getAppPath() {
|
|
29
|
+
return (0, import_core.invoke)("get_app_path");
|
|
30
|
+
},
|
|
31
|
+
async getPath(name) {
|
|
32
|
+
return (0, import_core.invoke)("get_path", { name });
|
|
33
|
+
},
|
|
34
|
+
async join() {
|
|
35
|
+
for (var _len = arguments.length, segments = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
36
|
+
segments[_key] = arguments[_key];
|
|
37
|
+
}
|
|
38
|
+
return (0, import_core.invoke)("join_path", { segments });
|
|
39
|
+
},
|
|
40
|
+
async resolve() {
|
|
41
|
+
for (var _len = arguments.length, segments = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
42
|
+
segments[_key] = arguments[_key];
|
|
43
|
+
}
|
|
44
|
+
return (0, import_core.invoke)("resolve_path", { segments });
|
|
45
|
+
},
|
|
46
|
+
async dirname(path) {
|
|
47
|
+
return (0, import_core.invoke)("dirname", { path });
|
|
48
|
+
}
|
|
49
|
+
};
|
|
@@ -5,58 +5,47 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
12
|
};
|
|
13
13
|
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
21
|
};
|
|
22
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
-
value: true
|
|
24
|
-
}), mod);
|
|
22
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25
23
|
var index_tauri_exports = {};
|
|
26
|
-
__export(index_tauri_exports, {
|
|
27
|
-
paths: () => paths
|
|
28
|
-
});
|
|
24
|
+
__export(index_tauri_exports, { paths: () => paths });
|
|
29
25
|
module.exports = __toCommonJS(index_tauri_exports);
|
|
30
26
|
var import_core = require("@tauri-apps/api/core");
|
|
31
27
|
var paths = {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
segments
|
|
54
|
-
});
|
|
55
|
-
},
|
|
56
|
-
async dirname(path) {
|
|
57
|
-
return (0, import_core.invoke)("dirname", {
|
|
58
|
-
path
|
|
59
|
-
});
|
|
60
|
-
}
|
|
28
|
+
async getAppPath() {
|
|
29
|
+
return (0, import_core.invoke)("get_app_path");
|
|
30
|
+
},
|
|
31
|
+
async getPath(name) {
|
|
32
|
+
return (0, import_core.invoke)("get_path", { name });
|
|
33
|
+
},
|
|
34
|
+
async join() {
|
|
35
|
+
for (var _len = arguments.length, segments = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
36
|
+
segments[_key] = arguments[_key];
|
|
37
|
+
}
|
|
38
|
+
return (0, import_core.invoke)("join_path", { segments });
|
|
39
|
+
},
|
|
40
|
+
async resolve() {
|
|
41
|
+
for (var _len = arguments.length, segments = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
42
|
+
segments[_key] = arguments[_key];
|
|
43
|
+
}
|
|
44
|
+
return (0, import_core.invoke)("resolve_path", { segments });
|
|
45
|
+
},
|
|
46
|
+
async dirname(path) {
|
|
47
|
+
return (0, import_core.invoke)("dirname", { path });
|
|
48
|
+
}
|
|
61
49
|
};
|
|
50
|
+
|
|
62
51
|
//# sourceMappingURL=index.tauri.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.tauri.native.js","names":[],"sources":["cjs/paths/index.tauri.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_tauri_exports = {};\n__export(index_tauri_exports, {\n paths: () => paths\n});\nmodule.exports = __toCommonJS(index_tauri_exports);\nvar import_core = require(\"@tauri-apps/api/core\");\nvar paths = {\n async getAppPath() {\n return (0, import_core.invoke)(\"get_app_path\");\n },\n async getPath(name) {\n return (0, import_core.invoke)(\"get_path\", {\n name\n });\n },\n async join() {\n for (var _len = arguments.length, segments = new Array(_len), _key = 0; _key < _len; _key++) {\n segments[_key] = arguments[_key];\n }\n return (0, import_core.invoke)(\"join_path\", {\n segments\n });\n },\n async resolve() {\n for (var _len = arguments.length, segments = new Array(_len), _key = 0; _key < _len; _key++) {\n segments[_key] = arguments[_key];\n }\n return (0, import_core.invoke)(\"resolve_path\", {\n segments\n });\n },\n async dirname(path) {\n return (0, import_core.invoke)(\"dirname\", {\n path\n });\n }\n};\n//# sourceMappingURL=index.tauri.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,sBAAsB,CAAC;AAC3B,SAAS,qBAAqB,EAC5B,aAAa,MACf,CAAC;AACD,OAAO,UAAU,aAAa,mBAAmB;AACjD,IAAI,cAAc,QAAQ,sBAAsB;AAChD,IAAI,QAAQ;CACV,MAAM,aAAa;EACjB,QAAQ,GAAG,YAAY,OAAM,CAAE,cAAc;CAC/C;CACA,MAAM,QAAQ,MAAM;EAClB,QAAQ,GAAG,YAAY,OAAM,CAAE,YAAY,EACzC,KACF,CAAC;CACH;CACA,MAAM,OAAO;EACX,KAAK,IAAI,OAAO,UAAU,QAAQ,WAAW,IAAI,MAAM,IAAI,GAAG,OAAO,GAAG,OAAO,MAAM,QAAQ;GAC3F,SAAS,QAAQ,UAAU;EAC7B;EACA,QAAQ,GAAG,YAAY,OAAM,CAAE,aAAa,EAC1C,SACF,CAAC;CACH;CACA,MAAM,UAAU;EACd,KAAK,IAAI,OAAO,UAAU,QAAQ,WAAW,IAAI,MAAM,IAAI,GAAG,OAAO,GAAG,OAAO,MAAM,QAAQ;GAC3F,SAAS,QAAQ,UAAU;EAC7B;EACA,QAAQ,GAAG,YAAY,OAAM,CAAE,gBAAgB,EAC7C,SACF,CAAC;CACH;CACA,MAAM,QAAQ,MAAM;EAClB,QAAQ,GAAG,YAAY,OAAM,CAAE,WAAW,EACxC,KACF,CAAC;CACH;AACF"}
|
|
@@ -3,36 +3,32 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
10
|
};
|
|
11
11
|
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
19
|
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: true
|
|
22
|
-
}), mod);
|
|
20
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
21
|
var updater_exports = {};
|
|
24
|
-
__export(updater_exports, {
|
|
25
|
-
updater: () => updater
|
|
26
|
-
});
|
|
22
|
+
__export(updater_exports, { updater: () => updater });
|
|
27
23
|
module.exports = __toCommonJS(updater_exports);
|
|
28
24
|
const updater = {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
};
|
|
25
|
+
async checkForUpdates() {
|
|
26
|
+
return null;
|
|
27
|
+
},
|
|
28
|
+
async downloadAndInstall() {
|
|
29
|
+
return false;
|
|
30
|
+
},
|
|
31
|
+
isSupported() {
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
|
+
var updater_exports = {};
|
|
24
|
+
__export(updater_exports, { updater: () => updater });
|
|
25
|
+
module.exports = __toCommonJS(updater_exports);
|
|
26
|
+
var updater = {
|
|
27
|
+
async checkForUpdates() {
|
|
28
|
+
return null;
|
|
29
|
+
},
|
|
30
|
+
async downloadAndInstall() {
|
|
31
|
+
return false;
|
|
32
|
+
},
|
|
33
|
+
isSupported() {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
};
|