mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 17:58:22 +01:00
fix stiff
This commit is contained in:
parent
4116573c71
commit
c63d2b45f8
@ -126,6 +126,7 @@ self.OS.GUI =
|
||||
#ok app
|
||||
, "script"
|
||||
launch: (app, args) ->
|
||||
console.log "launching " + app
|
||||
if not _OS.APP[app]
|
||||
# first load it
|
||||
_GUI.loadApp app,
|
||||
@ -374,12 +375,8 @@ self.OS.GUI =
|
||||
_GUI.buildSystemMenu()
|
||||
# push startup services
|
||||
# TODO: get services list from user setting
|
||||
_GUI.pushServices [
|
||||
"CoreServices/PushNotification",
|
||||
"CoreServices/UserService",
|
||||
"CoreServices/Spotlight",
|
||||
"CoreServices/Calendar"
|
||||
]
|
||||
_GUI.pushServices _OS.setting.system.startup.services
|
||||
(_GUI.launch a) for a in _OS.setting.system.startup.apps
|
||||
#_GUI.launch "DummyApp"
|
||||
|
||||
# startup application here
|
||||
|
@ -17,6 +17,16 @@
|
||||
] if not _OS.setting.VFS.mountpoints
|
||||
|
||||
_OS.setting.system = conf.system if conf.system
|
||||
_OS.setting.system.startup = {
|
||||
services: [
|
||||
"CoreServices/PushNotification",
|
||||
"CoreServices/UserService",
|
||||
"CoreServices/Calendar",
|
||||
"CoreServices/Spotlight"
|
||||
],
|
||||
apps: []
|
||||
} if not _OS.setting.system.startup
|
||||
|
||||
_OS.setting.system.pkgpaths = [
|
||||
"home:///.packages",
|
||||
"os:///packages"
|
||||
|
Loading…
Reference in New Issue
Block a user