fix: Fix critical syntax error in renderer.js that was blocking UI updates - Remove extra closing brace in updateSyncStatus method - Fix 'Unexpected token this' error that prevented renderer execution - Restore real-time sync status display in UI - Sync functionality was working perfectly, only UI rendering was broken

This commit is contained in:
Geert Rademakes 2025-08-28 13:45:24 +02:00
parent b6e961dc84
commit 11c714124b
3 changed files with 2 additions and 1 deletions

View File

@ -241,7 +241,6 @@ class RekordboxSyncRenderer {
if (forceSyncBtn) { if (forceSyncBtn) {
forceSyncBtn.disabled = status.isRunning; forceSyncBtn.disabled = status.isRunning;
} }
}
// Update files synced count with more detail // Update files synced count with more detail
if (this.filesSyncedElement) { if (this.filesSyncedElement) {

View File

@ -404,6 +404,7 @@ class RekordboxSyncApp {
lastUpdate: new Date().toISOString() lastUpdate: new Date().toISOString()
}; };
console.log('📤 Sending to renderer:', uiState);
safeSend('sync-status-changed', uiState); safeSend('sync-status-changed', uiState);
this.updateTrayTooltip(uiState); this.updateTrayTooltip(uiState);
}); });

View File

@ -694,6 +694,7 @@ export class AwsS3Service extends EventEmitter {
*/ */
private emitStatusUpdate(): void { private emitStatusUpdate(): void {
const status = this.getStatus(); const status = this.getStatus();
console.log('🔍 AWS S3 Service emitting status:', status);
this.emit('statusChanged', status); this.emit('statusChanged', status);
} }