update electron to v43
All checks were successful
Android Build / publish (push) Successful in 55s
Linux Build / publish (push) Successful in 1m6s

This commit is contained in:
olcxja 2026-07-09 22:38:33 +02:00
commit fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions

View file

@ -1,16 +1,15 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRepositoryInfo = void 0;
const promise_1 = require("builder-util/out/promise");
exports.getRepositoryInfo = getRepositoryInfo;
const builder_util_1 = require("builder-util");
const fs_extra_1 = require("fs-extra");
const hosted_git_info_1 = require("hosted-git-info");
const path = require("path");
function getRepositoryInfo(projectDir, metadata, devMetadata) {
return _getInfo(projectDir, (devMetadata == null ? null : devMetadata.repository) || (metadata == null ? null : metadata.repository));
}
exports.getRepositoryInfo = getRepositoryInfo;
async function getGitUrlFromGitConfig(projectDir) {
const data = await promise_1.orNullIfFileNotExist(fs_extra_1.readFile(path.join(projectDir, ".git", "config"), "utf8"));
const data = await (0, builder_util_1.orNullIfFileNotExist)((0, fs_extra_1.readFile)(path.join(projectDir, ".git", "config"), "utf8"));
if (data == null) {
return null;
}
@ -51,7 +50,7 @@ async function _getInfo(projectDir, repo) {
return url == null ? null : parseRepositoryUrl(url);
}
function parseRepositoryUrl(url) {
const info = hosted_git_info_1.fromUrl(url);
const info = (0, hosted_git_info_1.fromUrl)(url);
if (info == null) {
return null;
}