mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
added startup reporting...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a7734d00b4
commit
5f0c4ffcaf
@ -1146,14 +1146,18 @@ module.ConfigLocalStorage = core.ImageGridFeatures.Feature({
|
||||
// first to run...
|
||||
['start.pre',
|
||||
function(){
|
||||
this.logger && this.logger.emit('loaded', 'config')
|
||||
this.logger && this.logger
|
||||
.push('Startup')
|
||||
.emit('loaded', 'config')
|
||||
this
|
||||
.loadStoredConfig()
|
||||
.toggleAutoStoreConfig('on')
|
||||
}],
|
||||
['stop.pre',
|
||||
function(){
|
||||
this.logger && this.logger.emit('stored', 'config')
|
||||
this.logger && this.logger
|
||||
.push('Shutdown')
|
||||
.emit('stored', 'config')
|
||||
this
|
||||
.storeConfig()
|
||||
.toggleAutoStoreConfig('off')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user