Common code for retrieving translations and GSettings schemas has been factored out into lib/convenience.js, which is part of every extension installation. Since that code relies on renames done at zip file creation time, extensions can no longer be installed with "make install". Instead, one should create the zip file and install it with the tweak-tool. There is also a bash script, local-install.sh, that will install everything in zip-files. Also, since the GSettingsSchemaSource code is not yet in a stable GLib release, extensions using GSettings have seen their stable shell version removed.
16 lines
347 B
Bash
Executable File
16 lines
347 B
Bash
Executable File
#!/bin/bash
|
|
|
|
extensionbase=~/.local/share/gnome-shell/extensions
|
|
|
|
for i in zip-files/*; do
|
|
zip_file=`pwd`/$i;
|
|
uuid=`basename $i | sed -e "s/.shell-extension.zip//"`;
|
|
if [ -d $extensionbase/$uuid ]; then
|
|
rm -fR $extensionbase/$uuid;
|
|
fi
|
|
mkdir $extensionbase/$uuid;
|
|
(cd $extensionbase/$uuid;
|
|
unzip -q $zip_file;
|
|
);
|
|
done
|