add delay for pls update user options message

This commit is contained in:
end-4
2024-05-25 22:01:35 +07:00
parent 32a1a40f64
commit f9b2d759b3
@@ -189,13 +189,11 @@ function overrideConfigRecursive(userOverrides, configOptions = {}) {
} }
} }
overrideConfigRecursive(userOverrides, configOptions); overrideConfigRecursive(userOverrides, configOptions);
if (!optionsOkay) { if (!optionsOkay) Utils.timeout(2000, () => Utils.execAsync(['notify-send',
Utils.execAsync(['notify-send',
'Update your user options', 'Update your user options',
'One or more config options don\'t exist', 'One or more config options don\'t exist',
'-a', 'ags', '-a', 'ags',
]).catch(print); ]).catch(print))
}
globalThis['userOptions'] = configOptions; globalThis['userOptions'] = configOptions;
export default configOptions; export default configOptions;