f/hack: temporary hack to fix spinner issue upon opening the launcher (#129)

This commit is contained in:
Tyler Wilding 2023-03-17 14:42:02 -04:00 committed by GitHub
parent 5d3910bd8a
commit 37569772f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,11 @@
// TODO - confirm during an install
await appWindow.close();
});
// Temporary fix related to https://github.com/open-goal/launcher/issues/110
if (window.sessionStorage.getItem("refreshHack") !== "true") {
location.reload();
window.sessionStorage.setItem("refreshHack", "true");
}
});
if (!isInDebugMode()) {