Created
June 16, 2016 22:52
-
-
Save Ke-/0922e7de9389ac834a5d9e60788e4f5b to your computer and use it in GitHub Desktop.
LassoApp reloader
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///////////////////////////////////////////////////////////////////////// | |
// | |
// App type loader | |
// | |
///////////////////////////////////////////////////////////////////////// | |
! ::init_thread->istype | |
? define init_thread => thread { | |
public lassoapps => { | |
stdoutnl('init: lassoapps') | |
with path in dir('/' + sys_appsPath)->eachpath | |
order by #path | |
do protect => { | |
#path->removeleading('/') | |
#path = '/' + #path | |
handle_error => { | |
stdoutnl(error_msg) | |
} | |
lassoapp_installer->install(#path) | |
} | |
} | |
} | |
define init => init_thread->lassoapps |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment