mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-13 04:05:04 +03:00
5a633fdd82
* fix: get rid of title view jank on latest beta * Count the number of installs for each plugin (#557) * Bump aiohttp from 3.8.4 to 3.8.5 in /backend (#558) * fix: include Decky version in request for index.js This avoids the If-Modified-Since logic in aiohttp and ensures Steam doesn't cache old JS, even if the timestamps are normalized. * fix: clean up shellcheck warnings in act runner script * fix: gitignore settings/ * fix: ensure state directories exist when running without the installer * feat: determine root directory correctly when running from in-tree * fix: fix typo in CI script * refactor: build a proper Python package with poetry * refactor: move decky_plugin under the poetry structure There's no need to special case it anymore, just treat it like any other Python module. * sandboxed_plugin: better fix, attempt 2 --------- Co-authored-by: AAGaming <aagaming@riseup.net> Co-authored-by: Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
49 lines
1.2 KiB
Bash
Executable File
49 lines
1.2 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
|
|
type=$1
|
|
# bump=$2
|
|
|
|
oldartifactsdir="old"
|
|
|
|
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
|
|
cd "$parent_path" || exit
|
|
|
|
for i in artifacts/*; do
|
|
if [[ ! -d "$i" ]]; then
|
|
continue;
|
|
fi
|
|
subfoldername=$(basename "$i")
|
|
|
|
if [[ "$subfoldername" == "$oldartifactsdir" ]]; then
|
|
continue;
|
|
fi
|
|
|
|
out=artifacts/$oldartifactsdir/$subfoldername-$(date +'%s')
|
|
mkdir -p "$out"
|
|
mv "$i" "$out"
|
|
echo "Moved artifacts/${subfoldername} to ${out}"
|
|
done
|
|
|
|
cd ..
|
|
|
|
if [[ "$type" == "release" ]]; then
|
|
printf "release!\n"
|
|
act workflow_dispatch -e act/release.json --artifact-server-path act/artifacts --container-architecture linux/amd64
|
|
elif [[ "$type" == "prerelease" ]]; then
|
|
printf "prerelease!\n"
|
|
act workflow_dispatch -e act/prerelease.json --artifact-server-path act/artifacts --container-architecture linux/amd64
|
|
else
|
|
printf "Release type unspecified/badly specified.\n"
|
|
printf "Options: 'release' or 'prerelease'\n"
|
|
fi
|
|
|
|
cd act/artifacts || exit
|
|
|
|
if [[ -d "1" ]]; then
|
|
cd "1/artifact" || exit
|
|
cp "PluginLoader.gz__" "PluginLoader.gz"
|
|
gzip -d "PluginLoader.gz"
|
|
chmod +x PluginLoader
|
|
fi
|