🎉 Add an archive for each kwin effect to the releases

This commit is contained in:
Simon Schneegans
2022-08-18 06:24:02 +02:00
parent 4998eb948f
commit 426eb96b60
4 changed files with 9 additions and 4 deletions
+2 -1
View File
@@ -44,6 +44,7 @@ jobs:
uses: svenstaro/upload-release-action@2.2.1
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: kwin/burn_my_windows_kwin4.tar.gz
file: kwin/*.tar.gz
tag: ${{ github.ref }}
overwrite: true
file_glob: true
+2 -2
View File
@@ -161,8 +161,8 @@ Then you can enable the extension with the *Gnome Tweak Tool*, the *Extensions*
gnome-extensions enable burn-my-windows@schneegans.github.com
```
## ⬇️ Installation (KWin)
## ⬇️ Installation (KWin)
You can either download a stable version from GitHub (a) or clone the latest version directly with `git` (b).
@@ -198,7 +198,7 @@ Now you will have to build the effects and copy them to your KWin effect directo
```bash
./kwin/build.sh
mkdir -p ~/.local/share/kwin/effects
cp -r kwin/_build/* ~/.local/share/kwin/effects
tar -xf kwin/burn_my_windows_kwin4.tar.gz -C ~/.local/share/kwin/effects
```
That's it!
+1
View File
@@ -12,6 +12,7 @@
* Many translation updates, including a completely new Portuguese, Esperanto, and Hebrew translation. A BIG THANKS to all translators!
* On GNOME, effects can now execute code whenever an animation ended. This is useful for cleaning up resources.
* The KWin build script now generates a separate archive for each effect as well as a combined archive for all effects.
#### Fixes
+4 -1
View File
@@ -111,11 +111,14 @@ generate() {
cat "../resources/shaders/$1.frag"
} > "$BUILD_DIR/$DIR_NAME/contents/shaders/$1.frag"
# If clang-format is installed, try to beauty the code a bit.
# If clang-format is installed, try to beautify the code a bit.
if command -v clang-format &> /dev/null
then
clang-format -i "$BUILD_DIR/$DIR_NAME/contents/code/main.js"
fi
# Create an archive which can be uploaded to https://store.kde.org.
tar -cjf "$DIR_NAME.tar.gz" -C "$BUILD_DIR/$DIR_NAME" $(ls "$BUILD_DIR/$DIR_NAME")
}
# Now run the above method for all supported effects.