fix: non blocking workshop open

This commit is contained in:
aclist committed 2024-12-05 08:04:00 +09:00
1 parent 0fdc132873
commit ac3055ce39
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -1020,7 +1020,7 @@ open_workshop_page(){
shift
local id="$1"
local workshop_uri="steam://url/CommunityFilePage/$id"
$steam_cmd "$workshop_uri" $id
$steam_cmd "$workshop_uri" $id &
}
open_link(){
shift
+2 -1
View File
@@ -1139,7 +1139,8 @@ class TreeView(Gtk.TreeView):
process_tree_option([self.view, RowType.DELETE_SELECTED], self)
case "Open in Steam Workshop":
record = self.get_column_at_index(2)
call_out(parent, "open_workshop_page", record)
base_cmd = "open_workshop_page"
subprocess.Popen(['/usr/bin/env', 'bash', funcs, base_cmd, record])
def toggle_selection(self, bool):
l = len(mod_store)