This commit is contained in:
V
2023-06-26 00:41:52 +02:00
parent 4abce9d084
commit 477ecbb4ba
11 changed files with 12 additions and 34 deletions

View File

@@ -15,6 +15,7 @@ import { autoStart } from "./autoStart";
import { DATA_DIR } from "./constants";
import { createWindows } from "./mainWindow";
import { Settings } from "./settings";
import { makeLinksOpenExternally } from "./utils/makeLinksOpenExternally";
interface Data {
minimizeToTray: boolean;
@@ -33,6 +34,8 @@ export function createFirstLaunchTour() {
width: 550
});
makeLinksOpenExternally(win);
win.loadFile(join(VIEW_DIR, "first-launch.html"));
win.webContents.addListener("console-message", (_e, _l, msg) => {
if (msg === "cancel") return app.exit();