Skip showing changelog for alpha versions

This commit is contained in:
Shidorien
2024-09-17 15:31:28 +02:00
parent 0027832bdb
commit 37a44b54f3
@@ -104,6 +104,10 @@ export class AutoUpdaterService {
}
public async showChangelog(version:string): Promise<void>{
if (version.toLowerCase().includes("alpha")) {
throw new Error("Alpha version, skipping changelog");
}
const changelog = await this.getChangelogVersion(version);
this.modal.openModal(ChangelogModal, {data: changelog});