mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +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...
|
// first to run...
|
||||||
['start.pre',
|
['start.pre',
|
||||||
function(){
|
function(){
|
||||||
this.logger && this.logger.emit('loaded', 'config')
|
this.logger && this.logger
|
||||||
|
.push('Startup')
|
||||||
|
.emit('loaded', 'config')
|
||||||
this
|
this
|
||||||
.loadStoredConfig()
|
.loadStoredConfig()
|
||||||
.toggleAutoStoreConfig('on')
|
.toggleAutoStoreConfig('on')
|
||||||
}],
|
}],
|
||||||
['stop.pre',
|
['stop.pre',
|
||||||
function(){
|
function(){
|
||||||
this.logger && this.logger.emit('stored', 'config')
|
this.logger && this.logger
|
||||||
|
.push('Shutdown')
|
||||||
|
.emit('stored', 'config')
|
||||||
this
|
this
|
||||||
.storeConfig()
|
.storeConfig()
|
||||||
.toggleAutoStoreConfig('off')
|
.toggleAutoStoreConfig('off')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user