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

a small suggestion #999

Closed
zhaotoday opened this issue May 19, 2024 · 2 comments · Fixed by #1013
Closed

a small suggestion #999

zhaotoday opened this issue May 19, 2024 · 2 comments · Fixed by #1013
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@zhaotoday
Copy link

Is your feature request related to a problem? Please describe.
Here's a small suggestion: Can we place a 'shared' directory in the 'packages' directory to store common code, which can be used by 'main', 'preload', and 'renderer' simultaneously?

@zhaotoday zhaotoday added the enhancement New feature or request label May 19, 2024
@cawa-93
Copy link
Owner

cawa-93 commented May 23, 2024

May you provide a good use case for that shared example?

@baruchiro
Copy link

I have a different use case.

I have my core functionality, which I want to produce as an Electron app, but also as a CLI app and as a package.

To achieve that in the right way, I want to put my logic in a package, and then consume it in my main and cli packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants