From f7a9b5163a37fbc14c062b436bf2e340d5c521be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=BA=90=E5=9D=A4?= Date: Thu, 21 Jul 2022 17:05:38 +0800 Subject: [PATCH] fix a fatal error on start --- ScreenZ/ScreenZ/ScreenZApp.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ScreenZ/ScreenZ/ScreenZApp.swift b/ScreenZ/ScreenZ/ScreenZApp.swift index 7763b10..e269277 100644 --- a/ScreenZ/ScreenZ/ScreenZApp.swift +++ b/ScreenZ/ScreenZ/ScreenZApp.swift @@ -40,10 +40,10 @@ class AppDelegate: NSObject, NSApplicationDelegate { func applicationDidFinishLaunching(_ aNotification: Notification) { + constructFirstTime() constructMenu() constructWallpaper() constructPlayer(Bundle.main.url(forResource: "demo", withExtension: "mp4")!) - constructFirstTime() //constructAutoStart() }