mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
feat(desktop): sign every Windows release artifact (#1548)
This commit is contained in:
1 parent
873c203b5d
commit
6e66c92dca
89 files changed
+2408
-2740
No files matched your search
@@ -6,7 +6,6 @@ import DeveloperMode from '@app/features/devtools/state/DeveloperMode';
|
||||
import {UNKNOWN_DESCRIPTOR} from '@app/features/i18n/utils/CommonMessageDescriptors';
|
||||
import {
|
||||
formatClientBuildInfo,
|
||||
formatDesktopBuildVariantLabel,
|
||||
formatReleaseChannelLabel,
|
||||
getClientInfo,
|
||||
getClientInfoSync,
|
||||
@@ -84,12 +83,7 @@ export const ClientInfo = observer(() => {
|
||||
const buildVersion = Config.PUBLIC_BUILD_VERSION || 'dev';
|
||||
const desktopReleaseChannel = desktopChannel ? formatReleaseChannelLabel(desktopChannel) : null;
|
||||
const primaryDesktopReleaseChannel = desktopReleaseChannel ?? releaseChannel;
|
||||
const desktopBuildVariant =
|
||||
clientInfo.desktopBuildVariant && clientInfo.desktopBuildVariant !== 'default'
|
||||
? formatDesktopBuildVariantLabel(clientInfo.desktopBuildVariant)
|
||||
: null;
|
||||
const desktopVersionLabel =
|
||||
desktopVersion && desktopBuildVariant ? `${desktopVersion} (${desktopBuildVariant})` : desktopVersion;
|
||||
const desktopVersionLabel = desktopVersion;
|
||||
const desktopBuildLabel = desktopVersion
|
||||
? i18n._(DESKTOP_BUILD_DESCRIPTOR, {
|
||||
desktopChannel: primaryDesktopReleaseChannel,
|
||||
|
||||
@@ -126,7 +126,6 @@ class Updater {
|
||||
currentVersion: string | null = null;
|
||||
channel: string | null = null;
|
||||
private desktopArch: string | null = null;
|
||||
private desktopBuildVariant: string | null = null;
|
||||
private isNative: boolean;
|
||||
private backgroundCheckStarted = false;
|
||||
private backgroundCheckInterval: number | null = null;
|
||||
@@ -234,10 +233,6 @@ class Updater {
|
||||
return getUpdaterDisplayVersion(this.snapshot);
|
||||
}
|
||||
|
||||
get buildVariant(): string | null {
|
||||
return this.desktopBuildVariant;
|
||||
}
|
||||
|
||||
private transition(event: UpdaterMachineEvent): void {
|
||||
runInAction(() => {
|
||||
this.snapshot = transitionUpdaterMachineSnapshot(this.snapshot, event);
|
||||
@@ -258,7 +253,6 @@ class Updater {
|
||||
runInAction(() => {
|
||||
this.currentVersion = info.desktopVersion ?? null;
|
||||
this.channel = info.desktopChannel ?? null;
|
||||
this.desktopBuildVariant = info.desktopBuildVariant ?? null;
|
||||
this.desktopArch = info.desktopArch ?? info.arch ?? null;
|
||||
});
|
||||
} catch (error) {
|
||||
|
||||
Reference in new issue
Block a user