Persist collector state and stabilize download controls
Persist collector packages and disclosure state through validated atomic AppData storage with backup recovery and shutdown synchronization. Align download sidebar metrics with the hidden-extracted presentation scope and keep Start available through temporary Real-Debrid cooldowns while preserving hard account blocks.
This commit is contained in:
@@ -63,6 +63,9 @@ export function createVisualElectronApi(
|
||||
prepareCollectorContainers: async () => ({ packages: [], invalidCount: 0, duplicateCount: 0 }),
|
||||
enrichCollectorPackages: async (request) => ({ packages: clone(request.packages), invalidCount: 0, duplicateCount: 0 }),
|
||||
onCollectorEnrichmentProgress: () => () => {},
|
||||
getCollectorState: async () => ({ packages: [], collapsedPackageIds: [] }),
|
||||
saveCollectorState: async (state) => clone(state),
|
||||
saveCollectorStateSync: () => {},
|
||||
getPathForDroppedFile: () => "",
|
||||
getStartConflicts: async () => [],
|
||||
resolveStartConflict: async (_packageId, policy) => ({
|
||||
|
||||
Reference in New Issue
Block a user