-
Notifications
You must be signed in to change notification settings - Fork 3
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
Suggestions on AppBundler #2
Comments
The recipe system is used when a bundle for either platform is made. It consists of a list of rules specified within the During the build step of a bundle, the rules are run in sequence. The files are copied from the origin to the destination. If the origin of a rule exists in the The last bit in the picture is interfering rules. When a previous rule has already affected the destination, the new rule respects the previous rule and skips merging in a particular file. This is useful for flattening the configuration directory structure while retaining the possibility of following a more hierarchical organisation used by the bundle. In situations when the bundling does not work for the users, which I would like to hear about, they can modify Let me know how well you could follow this description so I can consider this explanation as part of the docs. I also improved docs |
Does that mean that if I do not have a meta folder in my source folder, AppBundler automatically picks the correct recipe from AppBuilder/recipes? |
BTW: After AppBundler has matured, I think it would be great if the VSCode team could make it part of the user interface, so that users could click a single button to compile a standalone app. |
It is more delicate than that. The recipe consists of a list of rules which has |
First off, I want to say "thank-you" for doing this. Appbundler.jl seems like a huge step for the Julia community: being able to distribute double-clickable applications is a big deal, and without this tool, I wouldn't know where to begin to start tackling this issue. The fact that you've tried to do this for MacOS, Windows, and Linux is even more impressive!
I realize that this is not the final polished version, and it is really a first draft, but I wanted to give some feedback on the documentation that would allow Appbundler to be more accessible to the Julia community at large.
Could you explain the recipes in more detail? What are they for? How do they work? When should I use them, and how do I use them?
I found this example confusing: "bundle_app(MacOS(:x86_64), APP_DIR, "$BUILD_DIR/gtkapp-x64.app")". I'm no MacOS/Unix command-line expert (I'm guessing most of the incoming Julia users are not), but when I read this, I assumed the $BUILD_DIR was some sort of special variable. I initially tried something like this:
…and got this as an error:
Of course, this works:
Is $BUILD_DIR a variable that we should know about? Is it part of AppBundler, but isn't working for some reason? If not, maybe it would be easier to show an example like this:
Take home message: When in doubt, pretend we are dumb!
MacOS
https://www.youtube.com/watch?v=OpR9-onRZko
Overall, this is a really cool tool! I can't thank you enough for doing this, as I think this has the potential to have a huge effect on the future of Julia outside of academia.
The text was updated successfully, but these errors were encountered: