Open a Project by double-clicking its .studio file #136

Closed
opened 2026-10-09 23:14:14 +00:00 by crowmaki · 0 comments
Owner

Parent

#24

What to build

Double-clicking a .studio file opens it in AI Studio (User Story 1: "move, back up and double-click a Project like a document").

The single file and its sibling media folder already work. But src-tauri/tauri.conf.json has no bundle.fileAssociations entry for .studio, and src-tauri/src/lib.rs handles neither launch arguments nor opened-file events.

Acceptance criteria

  • The installer registers .studio with the OS (bundle.fileAssociations), with a document name and an icon
  • Launching the app with a .studio path opens that Project
  • Double-clicking a Project while the app is already running opens it in the running instance (for example with the Tauri single-instance plugin), and does not start a second app
  • Opening a Project that another instance has open still gives the existing ProjectLocked refusal (Story 2)
  • A missing, newer-schema or unreadable file gives the same errors as opening it from the start screen
## Parent #24 ## What to build Double-clicking a `.studio` file opens it in AI Studio (User Story 1: "move, back up and double-click a Project like a document"). The single file and its sibling media folder already work. But `src-tauri/tauri.conf.json` has no `bundle.fileAssociations` entry for `.studio`, and `src-tauri/src/lib.rs` handles neither launch arguments nor opened-file events. ## Acceptance criteria - [ ] The installer registers `.studio` with the OS (`bundle.fileAssociations`), with a document name and an icon - [ ] Launching the app with a `.studio` path opens that Project - [ ] Double-clicking a Project while the app is already running opens it in the running instance (for example with the Tauri single-instance plugin), and does not start a second app - [ ] Opening a Project that another instance has open still gives the existing `ProjectLocked` refusal (Story 2) - [ ] A missing, newer-schema or unreadable file gives the same errors as opening it from the start screen
Sign in to join this conversation.
No description provided.