diff --git a/config.json.default b/config.json.default index da72708..12734a7 100644 --- a/config.json.default +++ b/config.json.default @@ -1,7 +1,7 @@ { "account_id": null, "event_id": null, - "event_device_id": null + "event_device_id": null, "event_location_id": null, "event_session_id": null, "event_presentation_id": null, diff --git a/index.js b/index.js index fd917f5..4475a3b 100644 --- a/index.js +++ b/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); }