Improve defaults, Add Rich Presence to first launch confi

This commit is contained in:
V
2023-06-22 15:55:04 +02:00
parent c31eb8154b
commit f58ed485a9
2 changed files with 19 additions and 3 deletions

View File

@@ -21,6 +21,7 @@ interface Data {
discordBranch: "stable" | "canary" | "ptb";
autoStart: boolean;
importSettings: boolean;
richPresence: boolean;
}
export function createFirstLaunchTour() {
@@ -28,7 +29,7 @@ export function createFirstLaunchTour() {
...SplashProps,
frame: true,
autoHideMenuBar: true,
height: 420,
height: 470,
width: 550
});
@@ -42,6 +43,7 @@ export function createFirstLaunchTour() {
Settings.store.minimizeToTray = data.minimizeToTray;
Settings.store.discordBranch = data.discordBranch;
Settings.store.firstLaunch = false;
Settings.store.arRPC = data.richPresence;
if (data.autoStart) autoStart.enable();