fix(downloads): restore actionable package states and extraction controls
Resolve child archive selections to complete multipart sets, support bulk package extraction, refresh extraction passwords at execution time, and keep archive failures scoped by their full paths. Restore sortable download columns, preserve verified availability, classify package retry and extraction states, secure link copying through the preload bridge, and release cancelled provider work without stale cooldowns.
This commit is contained in:
@@ -359,10 +359,19 @@ export function createVisualElectronApi(
|
||||
entry.status = "extracting";
|
||||
}
|
||||
},
|
||||
extractNow: async (packageId) => {
|
||||
const entry = fixture.snapshot.session.packages[packageId];
|
||||
if (entry) {
|
||||
entry.status = "extracting";
|
||||
extractNow: async (request) => {
|
||||
for (const packageId of request.packageIds) {
|
||||
const entry = fixture.snapshot.session.packages[packageId];
|
||||
if (entry) {
|
||||
entry.status = "extracting";
|
||||
}
|
||||
}
|
||||
for (const itemId of request.itemIds) {
|
||||
const item = fixture.snapshot.session.items[itemId];
|
||||
const entry = item ? fixture.snapshot.session.packages[item.packageId] : undefined;
|
||||
if (entry) {
|
||||
entry.status = "extracting";
|
||||
}
|
||||
}
|
||||
},
|
||||
resetPackage: async (packageId) => {
|
||||
|
||||
Reference in New Issue
Block a user