Merge pull request #410 from bombsquad-community/account_switcher_update

account_switcher updated to save config on switch
This commit is contained in:
Loup 2025-12-30 14:31:02 +05:30 committed by GitHub
commit f36fdfa09a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View file

@ -2325,6 +2325,12 @@
}
],
"versions": {
"1.1.0": {
"api_version": 9,
"commit_sha": "a694c98",
"released_on": "30-12-2025",
"md5sum": "65ba0c35c08ace82141945c56f87142a"
},
"1.0.0": {
"api_version": 9,
"commit_sha": "f62ed2a",

View file

@ -229,6 +229,8 @@ class AccountSwitcherUI(bui.Window):
return
account_folder = path.join(ACCOUNTS_DIR, self._selected_profile)
self.save_current_account()
def do_switch():
for fname in ACCOUNT_FILES:
dest = path.join(USER_DIR, fname)