|
|
|
|
@ -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}`;
|
|
|
|
|
}
|
|
|
|
|
|