Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: notification title on windows #2139

Merged
merged 2 commits into from
Sep 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import assert from 'node:assert';
import logger from './logger.js';
import menu from './menu.js';
import * as configStore from './configStore.js';
import { isLinux } from './util.js';
import { isLinux, isWindows } from './util.js';
import { appName, copyrightYear } from './common.js';
import attachContextMenu from './contextMenu.js';
import HttpServer from './httpServer.js';
Expand Down Expand Up @@ -70,6 +70,10 @@ const appVersion = app.getVersion();

app.name = appName;

if (isWindows) {
app.setAppUserModelId(appName);
mifi marked this conversation as resolved.
Show resolved Hide resolved
}

const isStoreBuild = process.windowsStore || process.mas;

const showVersion = !isStoreBuild;
Expand Down