Skip to content

Commit

Permalink
Flatpak environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
hbitteur committed Dec 26, 2024
1 parent 17f34a0 commit fe070e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/org/audiveris/omr/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,10 @@ public static void setLocale (Locale locale)
*/
private static void showEnvironment ()
{
for (String var : new String[] { "FLATPAK_ID", "FLATPAK_REF", "FLATPAK_SANDBOX_DIR",
"XDG_SESSION_TYPE" }) {
logger.info("{} env: {} prop: {}", var, System.getenv(var), System.getProperty(var));
}
if (constants.showEnvironment.isSet()) {
logger.info(
"""
Expand Down

0 comments on commit fe070e6

Please sign in to comment.