Skip to content

Commit

Permalink
灰度包版本太新了
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Dec 12, 2024
1 parent 590c006 commit 894f27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export async function needUpdate(): Promise<boolean> {
if (!client || !server) {
return false;
}
return client.version !== server.version;
return client.version < server.version;
}

interface UpdateResult {
Expand Down

0 comments on commit 894f27f

Please sign in to comment.