Skip to content

Register .MNS files with the OS#42

Open
sachasayan wants to merge 1 commit intomainfrom
register-mns-files-6914199133976204538
Open

Register .MNS files with the OS#42
sachasayan wants to merge 1 commit intomainfrom
register-mns-files-6914199133976204538

Conversation

@sachasayan
Copy link
Copy Markdown
Owner

This change registers .mns files with the operating system so that they open with the Minstrel application. It handles both cold starts (opening the app with a file) and hot starts (opening a file when the app is already running) across Windows, Linux, and macOS. It also ensures the app runs as a single instance to correctly handle subsequent file opening requests.


PR created automatically by Jules for task 6914199133976204538 started by @sachasayan

- Added fileAssociations for .mns in electron-builder.yml
- Implemented single instance lock in main process
- Handled file opening via process.argv and open-file event
- Added IPC mechanism to communicate file paths to the renderer
- Updated App.tsx to load projects when opened from the OS
- Added cleanup for IPC listeners in preload and renderer

Co-authored-by: sachasayan <1666034+sachasayan@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant