Update gitignore (sorry)

This commit is contained in:
olcxja 2026-05-10 14:02:17 +02:00
commit cca8b02fea
6604 changed files with 1219661 additions and 4 deletions

View file

@ -0,0 +1,27 @@
/// <reference types="node" />
import { GithubOptions, UpdateInfo } from "builder-util-runtime";
import { OutgoingHttpHeaders, RequestOptions } from "http";
import { AppUpdater } from "../AppUpdater";
import { URL } from "url";
import { BaseGitHubProvider } from "./GitHubProvider";
import { ResolvedUpdateFileInfo } from "../main";
import { ProviderRuntimeOptions } from "./Provider";
export interface PrivateGitHubUpdateInfo extends UpdateInfo {
assets: Array<Asset>;
}
export declare class PrivateGitHubProvider extends BaseGitHubProvider<PrivateGitHubUpdateInfo> {
private readonly updater;
private readonly token;
constructor(options: GithubOptions, updater: AppUpdater, token: string, runtimeOptions: ProviderRuntimeOptions);
protected createRequestOptions(url: URL, headers?: OutgoingHttpHeaders | null): RequestOptions;
getLatestVersion(): Promise<PrivateGitHubUpdateInfo>;
get fileExtraDownloadHeaders(): OutgoingHttpHeaders | null;
private configureHeaders;
private getLatestVersionInfo;
private get basePath();
resolveFiles(updateInfo: PrivateGitHubUpdateInfo): Array<ResolvedUpdateFileInfo>;
}
export interface Asset {
name: string;
url: string;
}