mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 08:47:49 +00:00
When decky is uncertain of branch, set the setting to match the guess (#480)
* If branch setting is missing, set it using the 'guess' from backend * Make the frontend default to stable branch like the backend
This commit is contained in:
@@ -67,9 +67,11 @@ class Updater:
|
||||
logger.info("Current branch is not set, determining branch from version...")
|
||||
if self.localVer.startswith("v") and "-pre" in self.localVer:
|
||||
logger.info("Current version determined to be pre-release")
|
||||
manager.setSetting('branch', 1)
|
||||
return 1
|
||||
else:
|
||||
logger.info("Current version determined to be stable")
|
||||
manager.setSetting('branch', 0)
|
||||
return 0
|
||||
return ver
|
||||
|
||||
|
||||
Reference in New Issue
Block a user