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