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,11 +1,22 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getS3LikeProviderBaseUrl = exports.githubUrl = void 0;
exports.githubUrl = githubUrl;
exports.githubTagPrefix = githubTagPrefix;
exports.getS3LikeProviderBaseUrl = getS3LikeProviderBaseUrl;
/** @private */
function githubUrl(options, defaultHost = "github.com") {
return `${options.protocol || "https"}://${options.host || defaultHost}`;
}
exports.githubUrl = githubUrl;
function githubTagPrefix(options) {
var _a;
if (options.tagNamePrefix) {
return options.tagNamePrefix;
}
if ((_a = options.vPrefixedTagName) !== null && _a !== void 0 ? _a : true) {
return "v";
}
return "";
}
function getS3LikeProviderBaseUrl(configuration) {
const provider = configuration.provider;
if (provider === "s3") {
@ -16,10 +27,12 @@ function getS3LikeProviderBaseUrl(configuration) {
}
throw new Error(`Not supported provider: ${provider}`);
}
exports.getS3LikeProviderBaseUrl = getS3LikeProviderBaseUrl;
function s3Url(options) {
let url;
if (options.endpoint != null) {
if (options.accelerate == true) {
url = `https://${options.bucket}.s3-accelerate.amazonaws.com`;
}
else if (options.endpoint != null) {
url = `${options.endpoint}/${options.bucket}`;
}
else if (options.bucket.includes(".")) {