2021-11-26 22:09:33 +00:00
|
|
|
diff --git a/src/extension.ts b/src/extension.ts
|
2023-11-25 13:45:16 +00:00
|
|
|
index f34e865..f12d4db 100644
|
2021-11-26 22:09:33 +00:00
|
|
|
--- a/src/extension.ts
|
|
|
|
+++ b/src/extension.ts
|
2023-11-25 13:45:16 +00:00
|
|
|
@@ -556,7 +556,7 @@ export class Ext extends Ecs.System<ExtEvent> {
|
|
|
|
return true;
|
|
|
|
};
|
2021-11-26 22:09:33 +00:00
|
|
|
|
2023-11-25 13:45:16 +00:00
|
|
|
- const ipc = utils.async_process_ipc(['gjs', '--module', path]);
|
|
|
|
+ const ipc = utils.async_process_ipc([path]);
|
2021-11-26 22:09:33 +00:00
|
|
|
|
|
|
|
if (ipc) {
|
|
|
|
const generator = (stdout: any, res: any) => {
|
|
|
|
diff --git a/src/panel_settings.ts b/src/panel_settings.ts
|
2023-11-25 13:45:16 +00:00
|
|
|
index fbcafbf..ef409ee 100644
|
2021-11-26 22:09:33 +00:00
|
|
|
--- a/src/panel_settings.ts
|
|
|
|
+++ b/src/panel_settings.ts
|
2023-11-25 13:45:16 +00:00
|
|
|
@@ -352,7 +352,7 @@ function color_selector(ext: Ext, menu: any) {
|
2021-11-26 22:09:33 +00:00
|
|
|
color_selector_item.add_child(color_button);
|
|
|
|
color_button.connect('button-press-event', () => {
|
2023-11-25 13:45:16 +00:00
|
|
|
let path = get_current_path() + '/color_dialog/main.js';
|
|
|
|
- let resp = GLib.spawn_command_line_async(`gjs --module ${path}`);
|
2022-10-17 12:59:51 +00:00
|
|
|
+ let resp = GLib.spawn_command_line_async(`${path}`);
|
2021-11-26 22:09:33 +00:00
|
|
|
if (!resp) {
|
|
|
|
return null;
|
2023-11-25 13:45:16 +00:00
|
|
|
}
|
2024-04-24 09:01:28 +00:00
|
|
|
diff --git a/src/color_dialog/src/main.ts b/src/color_dialog/src/main.ts
|
|
|
|
index a9637e5..5cb86ce 100644
|
|
|
|
--- a/src/color_dialog/src/main.ts
|
|
|
|
+++ b/src/color_dialog/src/main.ts
|
|
|
|
@@ -6,6 +6,7 @@ import Gtk from 'gi://Gtk?version=3.0';
|
|
|
|
import Gdk from 'gi://Gdk';
|
|
|
|
|
|
|
|
const EXT_PATH_DEFAULTS = [
|
|
|
|
+ '/run/current-system/sw/share/gnome-shell/extensions/',
|
|
|
|
GLib.get_home_dir() + '/.local/share/gnome-shell/extensions/',
|
|
|
|
'/usr/share/gnome-shell/extensions/',
|
|
|
|
];
|