Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions App/RecordScreen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1526,6 +1526,12 @@ final class RecordScreenModel {
Task { await offerDriveOnlyMovesIfAvailable() }
if DriveSpeedTestAvailability.isAvailableInThisBuild { speedTest.removeLeftovers(store: drive.store) }
Task { await recorder.recoverAbandonedCopies() }
runScreenshotFlags()
}

/// The screenshot and layout-check launch flags (`-demoDrive`, `-demoNames`, `-demoRecord`). None does anything in a
/// normal launch.
private func runScreenshotFlags() {
// `-demoDrive` (screenshots) uses a folder in the app's own container as the Drive, so the shots show a second
// Copy instead of a "No Drive" warning.
// Both touch the container's data (the Drive bookmark, saved names), so they act only in the screenshot build,
Expand Down
Loading