mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-14 00:04:08 +09:00
Properties window shows dependant runtimes
This commit is contained in:
@@ -108,6 +108,11 @@ class myUtils:
|
||||
for line in lines[1:]:
|
||||
row = line.split("\t")
|
||||
data.append(row)
|
||||
|
||||
output = subprocess.run(["flatpak-spawn", "--host", "flatpak", "list", "--columns=runtime"], capture_output=True, text=True, env=self.new_env).stdout
|
||||
lines = output.strip().split("\n")
|
||||
for i in range(len(lines)):
|
||||
data[i].append(lines[i])
|
||||
return data
|
||||
|
||||
def uninstallFlatpak(self, ref_arr, type_arr, should_trash):
|
||||
|
||||
@@ -106,7 +106,7 @@ def show_properties_window(widget, index, window):
|
||||
|
||||
properties_box.append(user_data_list)
|
||||
|
||||
column_headers = [_('Name'), _('Description'), _('App ID'), _('Version'), _('Branch'), _('Arch'), _('Origin'), _('Installation'), _('Ref'), _('Active Commit'), _('Latest Commit'), _('Installed Size'), _('Options')]
|
||||
column_headers = [_('Name'), _('Description'), _('App ID'), _('Version'), _('Branch'), _('Arch'), _('Origin'), _('Installation'), _('Ref'), _('Active Commit'), _('Latest Commit'), _('Installed Size'), _('Options'), _('Runtimes')]
|
||||
for column in range(len(window.host_flatpaks[index])):
|
||||
if window.host_flatpaks[index][column] == "":
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user