Work on launcher and config
This commit is contained in:
4
index.js
4
index.js
@@ -123,14 +123,14 @@ ipcMain.handle('import_config', async (event, config_data) => {
|
||||
if (fs.existsSync(host_file_cache_path)) {
|
||||
console.log('Host file cache path exists: '+host_file_cache_path);
|
||||
} else {
|
||||
fs.mkdirSync(host_file_cache_path);
|
||||
fs.mkdirSync(host_file_cache_path, true);
|
||||
console.log('Host file cache path created: '+host_file_cache_path);
|
||||
}
|
||||
|
||||
if (fs.existsSync(host_file_temp_path)) {
|
||||
console.log('Host file temp path exists: '+host_file_temp_path);
|
||||
} else {
|
||||
fs.mkdirSync(host_file_temp_path);
|
||||
fs.mkdirSync(host_file_temp_path, true);
|
||||
console.log('Host file temp path created: '+host_file_temp_path);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user