Update from Git Manager GUI

This commit is contained in:
2026-03-24 21:44:55 +01:00
parent 4bef46201b
commit 9dd3696a09

View File

@@ -4048,6 +4048,8 @@ window.addEventListener('DOMContentLoaded', async () => {
if (cbColorIcons) cbColorIcons.checked = featureColoredIcons;
const cbAutostart = $('settingAutostart');
if (cbAutostart) cbAutostart.checked = featureAutostart;
const cbAutoBackup = $('settingAutoBackup');
if (cbAutoBackup) cbAutoBackup.checked = Boolean(creds.autoBackupEnabled);
// 🆕 AUTO-LOGIN: Wenn Gitea-Credentials vorhanden sind, lade sofort die Repos
if (creds.giteaToken && creds.giteaURL) {
@@ -4440,7 +4442,9 @@ window.addEventListener('DOMContentLoaded', async () => {
return;
}
const existingCreds = await window.electronAPI.loadCredentials() || {};
const data = {
...existingCreds,
githubToken: $('githubToken').value,
giteaToken: $('giteaToken').value,
giteaURL: checkedUrl.value,