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

Add zypak support #13

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Add zypak support #13

wants to merge 13 commits into from

Conversation

gasinvein
Copy link
Collaborator

Supporting Zypak requires splitting the wrapper into two parts: "inner" (editor-wrapper.sh) and "outer" (editor.sh).
The reason for this is that we need to setup cli args only when the user launches the app manually, but not when Electron reexecs itself.

  • editor-wrapper.sh is responsible for setting up the environment; it's passed to the app as CHROME_WRAPPER and is always used, even on app reexec
  • editor.sh serves as an entrypoint, responsible for handling first-launch readmes and adding default cli args

gasinvein and others added 4 commits May 8, 2024 12:44
Outer is the entrypoint, it handles initial cli args and opening readmes
Inner wrapper only handles setting up the environment.
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.

2 participants