forked from olcxjas-softworks/LarpixClient
update electron to v43
This commit is contained in:
parent
68ac0beedf
commit
fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions
15
electron/node_modules/app-builder-lib/out/util/pathManager.js
generated
vendored
15
electron/node_modules/app-builder-lib/out/util/pathManager.js
generated
vendored
|
|
@ -1,14 +1,23 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.getVendorPath = exports.getTemplatePath = void 0;
|
||||
exports.parseUrl = void 0;
|
||||
exports.getTemplatePath = getTemplatePath;
|
||||
exports.getVendorPath = getVendorPath;
|
||||
const path = require("path");
|
||||
const root = path.join(__dirname, "..", "..");
|
||||
function getTemplatePath(file) {
|
||||
return path.join(root, "templates", file);
|
||||
}
|
||||
exports.getTemplatePath = getTemplatePath;
|
||||
function getVendorPath(file) {
|
||||
return file == null ? path.join(root, "vendor") : path.join(root, "vendor", file);
|
||||
}
|
||||
exports.getVendorPath = getVendorPath;
|
||||
const parseUrl = (url) => {
|
||||
try {
|
||||
return new URL(url);
|
||||
}
|
||||
catch {
|
||||
return undefined;
|
||||
}
|
||||
};
|
||||
exports.parseUrl = parseUrl;
|
||||
//# sourceMappingURL=pathManager.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue