-
Notifications
You must be signed in to change notification settings - Fork 52
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
Default folder for resources and css on macOS is really odd and no configure option available to set the right path #293
Comments
@uowuo Could we make something sensible with this? I have it working now, but I did not succeed in making it recognize |
this is the part responsible for getting the resources directory Lines 159 to 179 in 5e382b1
i didnt write it, but i think the macos code there is for when its in a .app form? i can change it to check ABADDON_RESOURCE_DIR too. what would be the right way to determine ${prefix} in your examples? on linux its $XDG_DATA_HOME (usually $HOME/.local/share ). same thing?
|
Possibly (this is not something I understand well), but the build does not produce an app bundle. If If you would like the default installation to go into home folder, that can be done then by making it a default value for P. S. I had to use wrappers to make this work, it is kinda ugly (though the first one, for |
Ouch, blame me haha. It's all been set up to work for it being packaged and me having no proper experience did it in a way that worked for me. |
I guess we need need this either to be configurable or the code to search for both (bundle paths and normal Unix paths). |
Why would anyone want to dump some random support files into
${prefix}/bin
together with the binary? But this is where they are looked for, since apparently the build system ignoresABADDON_RESOURCE_DIR
on macOS, and instead uses a relative.
. So nothing gets found on the app launch.The same will happen on any *BSD, since there is no macro for them, so “unknown OS” will be used, which is again
.
.This is arguably a strange default, but at least, perhaps, let the user set the correct location?
The text was updated successfully, but these errors were encountered: