metadata file and environment variables

Jorge GarcĂ­a jgarciao at gmail.com
Sun Jan 27 20:52:55 UTC 2019


Hi Dan,

Maybe you can use as an example the IntelliJ-Community build manifest [1],
where there are some environment variables defined and is also a java
application.

Beware you are looking at a testing documentation repo, that is not up to
date. The proper docs are here
http://docs.flatpak.org/en/latest/

Regards,
Jorge

[1]
https://github.com/flathub/com.jetbrains.IntelliJ-IDEA-Community/blob/master/com.jetbrains.IntelliJ-IDEA-Community.json

On Sat, Jan 26, 2019 at 6:33 AM Daniel Kasak <d.j.kasak.dk at gmail.com> wrote:

> Hi all.
>
> According to
> https://flatpak-testing.readthedocs.io/en/latest/elements-of-a-flatpak-app.html
> I can add an [Environment] section to my metadata file, and add environment
> variables.
>
> I've added:
>
> [Environment]
> ODBCSYSINI=/app/etc/
> JAVA_HOME=/app/opt/jdk
>
>  ... but I don't see either in my environment when I launch a debug
> session, ie:
>
> flatpak run -d --command=bash $APP_NAME
>
> I'm I doing it wrong?
>
> Dan
> _______________________________________________
> Flatpak mailing list
> Flatpak at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/flatpak
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20190127/eced748f/attachment.html>


More information about the Flatpak mailing list