[feat] added auto update option on advance settings for windows (#773)

* [feat] added auto update option on advance settings for windows

* minor fixes + translations

* [feat] added popover for manual bsm update

* [feat] added logic on update and restart

* [feat] fixed sonar issues and added missing translations

* Fix availve update and current app version were the same

* Add a "See changelog"

* Set autoupdate always enabled by default

---------

Co-authored-by: Zagrios <40181755+Zagrios@users.noreply.github.com>
This commit is contained in:
silentrald
2025-06-13 00:58:41 +08:00
committed by GitHub
parent 9d945cdcfb
commit feb6ea3f87
21 changed files with 315 additions and 45 deletions
+8
View File
@@ -0,0 +1,8 @@
export enum AutoUpdate {
ALWAYS = "always",
// When "Update and restart" is clicked
ONCE = "once",
NEVER = "never",
}
+2
View File
@@ -21,6 +21,7 @@ import { LocalBPList, LocalBPListsDetails } from "../playlists/local-playlist.mo
import { StaticConfigGetIpcRequestResponse, StaticConfigKeys, StaticConfigSetIpcRequest } from "main/services/static-configuration.service";
import { BbmFullMod, BbmModVersion, ExternalMod } from "../mods/mod.interface";
import { OculusDownloadInfo } from "main/services/bs-version-download/bs-oculus-downloader.service";
import { UpdateInfo } from "electron-updater";
export type IpcReplier<T> = (data: Observable<T>) => void;
@@ -122,6 +123,7 @@ export interface IpcChannelMapping {
/* ** launcher-ipcs ** */
"download-update": { request: void, response: Progression };
"check-update": { request: void, response: boolean };
"get-available-update": { request: void, response: UpdateInfo | null };
"install-update": { request: void, response: void };
/* ** model-saber.ipcs ** */