Skip to content

The swiss army knife of lossless video/audio editing

simplify

Mikael Finstad25110122ef72
diff --git a/src/main/aboutPanel.ts b/src/main/aboutPanel.ts
index 43a29edd..f81df3df 100644
--- a/src/main/aboutPanel.ts
+++ b/src/main/aboutPanel.ts
@@ -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}`;
}