Merge branch 'fix/menu-sync' of https://github.com/tiddly-gittly/TidGi-Desktop into fix/menu-sync

This commit is contained in:
lin onetwo 2025-11-24 23:28:16 +08:00
commit 7aacec0df5

View file

@ -150,6 +150,7 @@ export async function registerMenu(): Promise<void> {
await gitService.commitAndSync(activeWorkspace, { await gitService.commitAndSync(activeWorkspace, {
dir: activeWorkspace.wikiFolderLocation, dir: activeWorkspace.wikiFolderLocation,
commitOnly: false, commitOnly: false,
commitMessage: i18n.t('LOG.CommitBackupMessage'),
remoteUrl: activeWorkspace.gitUrl, remoteUrl: activeWorkspace.gitUrl,
userInfo, userInfo,
}); });