mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
Skip showing changelog for alpha versions
This commit is contained in:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user