mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 13:55:58 +00:00
chore: drop the added comments
This commit is contained in:
1 parent
8c86b718a0
commit
476642be71
2 files changed
+1
-3
No files matched your search
@@ -389,7 +389,6 @@ object AddedGames {
|
||||
|
||||
private class LoginUser(val id: String, val mostRecent: Boolean, val autoLogin: Boolean, val timestamp: Long)
|
||||
|
||||
/** The signed-in account's config, chosen as droiddeck-steam-shortcuts chooses it: MostRecent, else AutoLogin, else the latest timestamp. */
|
||||
internal fun accountConfig(root: File): File? {
|
||||
val users = runCatching { File(root, "config/loginusers.vdf").readText() }.getOrDefault("")
|
||||
val recent = Regex(""""(\d{5,})"\s*\{([^}]*)\}""").findAll(users).map {
|
||||
|
||||
@@ -16,8 +16,7 @@ TAG = "droiddeck-app"
|
||||
|
||||
|
||||
def account_dir(steam_root):
|
||||
"""The signed-in account's userdata folder, else the only one that is not 0. Clients that do not
|
||||
write MostRecent still mark that account AutoLogin; the latest timestamp breaks the remaining ties."""
|
||||
"""The most recent account's userdata folder, else the only one that is not 0."""
|
||||
users = os.path.join(steam_root, "config", "loginusers.vdf")
|
||||
recent, best = None, None
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user