Update from Git Manager GUI
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user