Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open project when app is launched with project file #194

Closed
wants to merge 2 commits into from
Closed

Open project when app is launched with project file #194

wants to merge 2 commits into from

Conversation

superamadeus
Copy link
Contributor

Issue: #44

Handle opening project files when the app is launched via file association.

Can someone test this on Windows?

Also, on Windows and Linux this should allow you to open projects from the command-line by passing a project file as the first argument.

@superamadeus
Copy link
Contributor Author

Right now on MacOS it only opens the project if there's no window open.
It should probably check if there's no window open or the open window is just on the start screen.

@superamadeus superamadeus changed the title Open project when app is launched with project file [WIP] Open project when app is launched with project file May 2, 2021
 - (macOS) handle case where event window is closed but app is still running
 - (macOS) allow opening files while on start page
 - queue 'openFile' event until the renderer process is ready
@superamadeus superamadeus changed the title [WIP] Open project when app is launched with project file Open project when app is launched with project file May 2, 2021
@superamadeus
Copy link
Contributor Author

I improved the behavior on macOS.

Just needs to be tested on Windows (and Linux).

@AustinEast
Copy link
Member

Awesome, i’ll try to find some time today for a quick test on windows and linux.

@superamadeus superamadeus closed this by deleting the head repository Mar 12, 2023
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.

None yet

2 participants