generated from osc/skins-template
resetting repo
This commit is contained in:
@@ -23,7 +23,7 @@ env:
|
||||
DANSER_SCREENSHOT_DIR: "/app/danser/screenshots"
|
||||
SKINS_DIR: "${{ github.workspace }}/Skins"
|
||||
DANSER_SKINS_DIR: "/app/danser/skins"
|
||||
DEFAULT_SKIN_DIR: "${{ github.workspace }}/src/default-skin"
|
||||
DEFAULT_SKIN_DIR: "/app/danser/skins/default-skin"
|
||||
REPO_SCREENSHOT_DIR: "${{ github.workspace }}/media/gameplay"
|
||||
REPO_MOD_ICONS_DIR: "${{ github.workspace }}/media/icons"
|
||||
REPO_RANKING_PANEL_DIR: "${{ github.workspace }}/media/panel"
|
||||
@@ -677,6 +677,7 @@ jobs:
|
||||
|
||||
declare -A ordered
|
||||
while IFS= read -r skin; do
|
||||
[ "$skin" = "default-skin" ] && continue
|
||||
ordered["$skin"]=1
|
||||
dir="$DANSER_SKINS_DIR/$skin"
|
||||
[ ! -d "$dir" ] && continue
|
||||
@@ -721,6 +722,7 @@ jobs:
|
||||
for dir in "$DANSER_SKINS_DIR"/*; do
|
||||
[ -d "$dir" ] || continue
|
||||
skin="$(basename "$dir")"
|
||||
[ "$skin" = "default-skin" ] && continue
|
||||
[[ -n "${ordered[$skin]}" ]] && continue
|
||||
|
||||
ini_file=$(find "$dir" -maxdepth 1 -iname "skin.ini" | head -n1 || true)
|
||||
@@ -805,6 +807,7 @@ jobs:
|
||||
[ -d "$dir" ] || continue
|
||||
|
||||
skin=$(basename "$dir")
|
||||
[ "$skin" = "default-skin" ] && continue
|
||||
ini_file=$(find "$dir" -maxdepth 1 -iname "skin.ini" | head -n1 || true)
|
||||
skin_header="$skin"
|
||||
|
||||
@@ -826,7 +829,7 @@ jobs:
|
||||
|
||||
mkdir -p "$(dirname "$md_file_path")"
|
||||
|
||||
video_url="$REGISTRY_URL/$USER_REPOSITORY/raw/tag/$new_tag/media/gameplay/${base_path}.mp4"
|
||||
video_url="$REGISTRY_URL/$USER_REPOSITORY/media/tag/$new_tag/media/gameplay/${base_path}.mp4"
|
||||
|
||||
author=""
|
||||
if [ -f "$ini_file" ]; then
|
||||
@@ -890,6 +893,7 @@ jobs:
|
||||
|
||||
[ -f how-to-use.md ] && rm -f how-to-use.md
|
||||
[ -f src/replay.osr ] && rm -f src/replay.osr
|
||||
[ -d src/default-skin ] && rm -rf src/default-skin
|
||||
|
||||
readarray -t skins <<< "$ALL_SKINS_DIR"
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"order": [
|
||||
"example1",
|
||||
"example2"
|
||||
"azerinoxrektygon LC-hs-edit",
|
||||
"Rafis 2018-03-26 HDDT AI Upscale"
|
||||
],
|
||||
"descriptions": {
|
||||
"example1": "Description of example1",
|
||||
"example2": "Description of example2"
|
||||
"azerinoxrektygon LC-hs-edit": "Main",
|
||||
"Rafis 2018-03-26 HDDT AI Upscale": "DT"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user