Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 1db74a1

Browse files
Avoid caching when checking for updates (#106)
1 parent bf98c81 commit 1db74a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logic/system.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ async function getAvailableUpdate() {
9494
// Try finding for a new update until there's a new version available
9595
// which is compatible with the currently installed version
9696
while (isNewVersionAvailable && !isCompatibleWithCurrentVersion) {
97-
const infoUrl = `https://raw.githubusercontent.com/${constants.GITHUB_REPO}/${tag}/info.json`;
97+
const infoUrl = `https://raw.githubusercontent.com/${constants.GITHUB_REPO}/${tag}/info.json?time=${Date.now()}`;
9898

9999
const latestVersionInfo = await axios.get(infoUrl);
100100
data = latestVersionInfo.data;

0 commit comments

Comments
 (0)