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

Don't install Drupal into the app bundle #11

Open
phenaproxima opened this issue Feb 6, 2025 · 1 comment
Open

Don't install Drupal into the app bundle #11

phenaproxima opened this issue Feb 6, 2025 · 1 comment

Comments

@phenaproxima
Copy link
Collaborator

Right now, for ease of setup, the launcher installs Drupal directly into the app bundle. So, on the Mac, when you delete the launcher, you delete the site too.

This probably isn't a viable real-world choice because it breaks the ability for the app to update itself, and it makes it very hard, or impossible, for a user to grab their Drupal code base as an archive or have multiple sites available to the launcher.

Not exactly sure what the right approach here is, probably needs some product and/or UX input.

A reasonable start might be to create the site in a user data directory that is available to Electron (see https://www.electronjs.org/docs/latest/api/app#appgetapppath for some options). The longer-term solution is probably to become a mini-MAMP and allow multiple sites to be created and served by multiple instances of the PHP server.

@pameeela
Copy link
Contributor

pameeela commented Feb 7, 2025

At the same time, this does make it very easy to reset the site by deleting the app and reinstalling it.

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

No branches or pull requests

2 participants