Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Add CAXA_APP and CAXA_HOME envs #17

Closed
wants to merge 1 commit into from

Conversation

xemle
Copy link

@xemle xemle commented Apr 17, 2021

First of all thank you very much for this enlighten and simple app wrapper. Just awesome!

I would like to identify a running caxa environment and the current path of the app for further file interaction. This PR adds basic caxa environment variables to identify caxa app and its home directory. With this PR it is possible to check and switch business logic if the app runs as caxa app.

CAXA_APP is set to the caxa identifier and CAXA_HOME to the extracted archive location.

@leafac
Copy link
Owner

leafac commented Jun 13, 2021

Thank you very much for the pull request. I’m going to close it because I think there are better ways to manage the issues you bring up; see https://github.com/leafac/caxa#detect-whether-the-application-is-running-from-the-packaged-version and https://github.com/leafac/caxa#the-current-working-directory

If you think I’m missing something, please let me know.

@leafac leafac closed this Jun 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants