Adding skin for good
Some checks failed
Generate Skin previews, OSK files and per skin documentation / Full CI/CD Pipeline (push) Failing after 1m21s

This commit is contained in:
2025-11-22 23:05:24 +01:00
parent 013d5effa0
commit 88b2af3bcf
2 changed files with 10 additions and 4 deletions

13
rsync.sh Normal file → Executable file
View File

@@ -1,6 +1,11 @@
#!/usr/bin/env bash
#!/usr/bin/env bash
rsync -av --delete /mnt/e/osu\!/Skins/ /home/nixos/git/skins/Skins/
SOURCE="/home/schoki/Documents/osu!/playing/Skins/"
TARGET="/home/schoki/Documents/osu!/Skins/Skins/"
find ./Skins/ -type f ! -perm 644 -exec chmod 644 {} +
find ./Skins/ -type d ! -perm 755 -exec chmod 755 {} +
# Sync skins from osu! to your repo
rsync -av --delete "$SOURCE" "$TARGET"
# Normalize file permissions (Linux CI needs this)
find "$TARGET" -type f ! -perm 644 -exec chmod 644 {} +
find "$TARGET" -type d ! -perm 755 -exec chmod 755 {} +