Fix corrupted settings checker
This commit is contained in:
parent
495a813af1
commit
1666b8a098
|
@ -21,7 +21,7 @@ export async function sleep(ms: number) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function checkIfConfigIsBroken() {
|
export async function checkIfConfigIsBroken() {
|
||||||
if ((await getConfig("0")) == "d") {
|
if (await getConfig("0") == "d") {
|
||||||
console.log("Detected a corrupted config");
|
console.log("Detected a corrupted config");
|
||||||
setup();
|
setup();
|
||||||
dialog.showErrorBox(
|
dialog.showErrorBox(
|
||||||
|
|
Loading…
Reference in New Issue