I am trying to package sublime text as a Flatpak package. I am able to install it successfully using this configuration but then when I go to run the app inside the flatpak sandbox I get the following error
(sublime_text:3): GLib-CRITICAL **: the GVariant format string '(u)' has a type of '(u)' but the given value has a type of '(s)'
(sublime_text:3): GLib-CRITICAL **: g_variant_get: assertion 'valid_format_string (format_string, TRUE, value)' failed
and the app doesn't open. What's odd is that if I execute the installed binary directly, it works fine, but trying to run it in the flatpak sandbox using
flatpak run com.sublimetext.Sublime produces this error. Any idea what could be going on?