mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SEARCH-444
- Implemented a function to delete the index folder
This commit is contained in:
@@ -18,7 +18,7 @@ const protocolHandler = require('./protocolHandler');
|
||||
const getCmdLineArg = require('./utils/getCmdLineArg.js');
|
||||
const log = require('./log.js');
|
||||
const logLevels = require('./enums/logLevels.js');
|
||||
const { clearIndexFolder } = require('./search/search');
|
||||
const { deleteIndexFolder } = require('./search/search.js');
|
||||
|
||||
require('electron-dl')();
|
||||
|
||||
@@ -131,7 +131,7 @@ app.on('activate', function() {
|
||||
|
||||
app.on('will-quit', function (e) {
|
||||
e.preventDefault();
|
||||
clearIndexFolder();
|
||||
deleteIndexFolder();
|
||||
app.exit();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user