pull/2599/head
Mikael Finstad 9 months ago
parent 251101818d
commit 25110122ef
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -9,8 +9,6 @@ import { githubLink, homepage } from './constants.js';
// eslint-disable-next-line import/prefer-default-export
export function getAboutPanelOptions() {
const showVersion = !isStoreBuild;
const appVersion = app.getVersion();
const aboutPanelLines = [
@ -29,7 +27,7 @@ export function getAboutPanelOptions() {
// https://github.com/mifi/lossless-cut/issues/1537
if (isLinux) {
aboutPanelOptions.applicationVersion = appVersion;
} else if (!showVersion) {
} else if (isStoreBuild) {
// https://github.com/mifi/lossless-cut/issues/1882
aboutPanelOptions.applicationVersion = `${process.windowsStore ? 'Microsoft Store' : 'App Store'} edition, based on GitHub v${appVersion}`;
}

Loading…
Cancel
Save