The js files are now embedded inside libgnome-shell.so
.
gresource list /usr/lib/gnome-shell/libgnome-shell.so
You can create a simple script to extract the resources:
#! /bin/sh
gs=/usr/lib/gnome-shell/libgnome-shell.so
cd $HOME/gnome-shell-js
mkdir -p ui/components ui/status misc perf extensionPrefs gdm
for r in `gresource list $gs`; do
gresource extract $gs $r > ${r/#\/org\/gnome\/shell/.}
done
And then use:
GNOME_SHELL_JS=$HOME/gnome-shell-js gnome-shell --replace
To check the changes.
Be careful, when you exit the replacement shell, the previous one becomes unresponsive.
This was taken from Gnome blog post.
On a 64-bit system, my path to gnome-shell was /usr/lib64/gnome-shell/libgnome-shell.so
Also, I needed to add portalHelper to the list of directories to add via mkdir. – Haydentech – 2018-07-17T20:29:56.980