[MM-46533] Remove buildConfig item and add webpack flags for onboarding screens and GPU acceleration (#2241)
* [MM-46533] Remove buildConfig item and add webpack flags for onboarding screens and GPU acceleration * REVERT ME * Use contexts instead * Revert "REVERT ME" This reverts commit 1e75779623f1c5eb2ce3a64e0c39cd4a8cf7ada7.
This commit is contained in:
@@ -86,7 +86,10 @@ export function handleOpenTab(event: IpcMainEvent, serverName: string, tabName:
|
||||
}
|
||||
|
||||
export function handleMainWindowIsShown() {
|
||||
const showWelcomeScreen = !Config.skipOnboardingScreens && !Config.teams.length;
|
||||
// eslint-disable-next-line no-undef
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
const showWelcomeScreen = !(Boolean(__SKIP_ONBOARDING_SCREENS__) || Config.teams.length);
|
||||
const mainWindow = WindowManager.getMainWindow();
|
||||
|
||||
if (mainWindow) {
|
||||
|
Reference in New Issue
Block a user