feat: reversed initialization module order when running the app for the first time

This commit is contained in:
Serhiy Mytrovtsiy
2023-04-28 21:04:00 +02:00
parent d08e8be203
commit 1875ccaffd

View File

@@ -62,7 +62,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
self.parseVersion()
SMCHelper.shared.checkForUpdate()
self.setup {
modules.forEach{ $0.mount() }
modules.reversed().forEach{ $0.mount() }
self.settingsWindow.setModules()
}
self.defaultValues()