Unknown
This commit is contained in:
@@ -195,8 +195,24 @@ exports.load_init_config = function () {
|
||||
console.log(`Host file temp directory created: ${config.host_file_temp_path}`);
|
||||
}
|
||||
|
||||
// NOTE: This is not ideal...
|
||||
if (!config.account_id) {
|
||||
config.account_id = '_XY7DXtc9MY'; // Not ideal...?
|
||||
if (config.event_id == 'pjrcghqwert' || config.event_id == 'nmBfuGFeR0k') {
|
||||
config.account_id = '_XY7DXtc9MY';
|
||||
} else if (config.event_id == 'r8c-rr-I4-52') { // CMSC
|
||||
config.account_id = '8Gfxbxr19Nw';
|
||||
} else if (config.event_id == 'bM4PL-l8j8p') { // LCI
|
||||
config.account_id = 'xFP7AhU8Zlc';
|
||||
} else if (config.event_id == 'Y7v-Zg-fe-gu') { // NCSD
|
||||
config.account_id = 'FrodrLD7B4w';
|
||||
} else if (config.event_id == '9jW-Db-SF-wt') { // AAPOR
|
||||
config.account_id = 'j5EBhRDqPuw';
|
||||
} else if (config.event_id == 'zJP-Ld-A7-I4') { // BGH
|
||||
config.account_id = 'GpLf_bnywCs';
|
||||
} else {
|
||||
console.log('WARNING WARNING WARNING: The account ID could not be guessed. Using the default of 1. <<< WARNING');
|
||||
config.account_id = '_XY7DXtc9MY';
|
||||
}
|
||||
}
|
||||
|
||||
let import_config_to_ipc_result = ipcRenderer.invoke('import_config', config).then((result) => {
|
||||
|
||||
Reference in New Issue
Block a user