Add support for Shell

This commit is contained in:
2025-01-01 19:44:02 +01:00
parent c31de61457
commit ee06c7ff12
2 changed files with 3 additions and 2 deletions

View File

@ -15,12 +15,12 @@ As of GNOME 41, the dbus method `Eval()` is now restricted with `MetaContext:uns
## Features
* Run arbitrary GJS code like you would with GNOME `Eval()` dbus method.
* `Main`, `Gio`, `GLib` and `Meta` available by default.
* `Main`, `Gio`, `GLib`,`Meta` and `Shell` available by default.
## Installation
```sh
git clone git://github.com/ramottamado/eval-gjs.git
git clone git@github.com:0xFEEDC0DE64/eval-gjs.git
cd eval-gjs
make install
```

View File

@ -19,6 +19,7 @@
import Gio from 'gi://Gio';
import Meta from 'gi://Meta';
import GLib from 'gi://GLib';
import Shell from 'gi://Shell';
import * as Main from 'resource:///org/gnome/shell/ui/main.js';
const EvalGjsIface =