Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 38 lines 1.5 kB view raw
1diff --git a/src/extension.ts b/src/extension.ts 2index f34e865..f12d4db 100644 3--- a/src/extension.ts 4+++ b/src/extension.ts 5@@ -556,7 +556,7 @@ export class Ext extends Ecs.System<ExtEvent> { 6 return true; 7 }; 8 9- const ipc = utils.async_process_ipc(['gjs', '--module', path]); 10+ const ipc = utils.async_process_ipc([path]); 11 12 if (ipc) { 13 const generator = (stdout: any, res: any) => { 14diff --git a/src/panel_settings.ts b/src/panel_settings.ts 15index fbcafbf..ef409ee 100644 16--- a/src/panel_settings.ts 17+++ b/src/panel_settings.ts 18@@ -352,7 +352,7 @@ function color_selector(ext: Ext, menu: any) { 19 color_selector_item.add_child(color_button); 20 color_button.connect('button-press-event', () => { 21 let path = get_current_path() + '/color_dialog/main.js'; 22- let resp = GLib.spawn_command_line_async(`gjs --module ${path}`); 23+ let resp = GLib.spawn_command_line_async(`${path}`); 24 if (!resp) { 25 return null; 26 } 27diff --git a/src/color_dialog/src/main.ts b/src/color_dialog/src/main.ts 28index a9637e5..5cb86ce 100644 29--- a/src/color_dialog/src/main.ts 30+++ b/src/color_dialog/src/main.ts 31@@ -6,6 +6,7 @@ import Gtk from 'gi://Gtk?version=3.0'; 32 import Gdk from 'gi://Gdk'; 33 34 const EXT_PATH_DEFAULTS = [ 35+ '/run/current-system/sw/share/gnome-shell/extensions/', 36 GLib.get_home_dir() + '/.local/share/gnome-shell/extensions/', 37 '/usr/share/gnome-shell/extensions/', 38 ];