Open pongloongyeat opened 3 years ago
I'm trying to bundle the app as a flatpak rn, I kinda wish that the flatpaked elementary app Sdk was officially out, because I'm going to have to specify the locally built one on every launch -_-
You should probably wait till after the SDK is officially out so it's not a pain.
Alright I've done the flatpak, but it obviously cannot kill any other apps by default - and it seems that flatpak blacklists /usr and /bin because it already exists in the sandbox and there isn't any sane way around it afaik.
Yeap, it looks into /usr/share/applications, mostly because
- I only wanted to kill user-installed Applications
- There are loads of processes launched by the System/User and I don't think it's too good of an idea to write a long blacklist of processes to not kill.
I've been looking in to how DBus works and it seems like the way to go for flatpak apps since it lets you communicate with other processes and possibly tell them to kill themselves(?)
I'm unfortunately not too familiar with DBus and have periodically avoided DBus due to the lack of some sort of a DBus inspector for eOS, though I don't mind taking a look into it.
Just as a heads-up; if you want to build io.elementary.Sdk yourself I would highly recommend purging the build script of org.gnome.Sdk.Debug otherwise the build might take an entire night and produce well over 10GB of space with little to no benefit.
From #4