mirror of
https://github.com/nuintun/command-manager.git
synced 2025-10-20 01:27:47 +08:00
update files
This commit is contained in:
@@ -54,6 +54,9 @@ window.addEventListener('DOMContentLoaded', function (){
|
||||
|
||||
ipc.on('app-configure', function (event, command, configure){
|
||||
switch (command) {
|
||||
case 'ready':
|
||||
ipc.send('app-configure', 'read');
|
||||
break;
|
||||
case 'refresh':
|
||||
if (app) {
|
||||
app.activeIndex = 0;
|
||||
@@ -69,5 +72,5 @@ window.addEventListener('DOMContentLoaded', function (){
|
||||
}
|
||||
});
|
||||
|
||||
ipc.send('app-configure', 'refresh');
|
||||
ipc.send('app-configure', 'ready');
|
||||
}, false);
|
||||
|
Reference in New Issue
Block a user