feat: embed official hero banner in README and integrate hero artwork across all deploy scripts

This commit is contained in:
Pixelplanet committed 2026-10-18 15:00:53 +02:00
1 parent dfc1664806
commit 09a5f73393
4 files changed
+17

No files matched your search

+4
View File
@@ -1,3 +1,7 @@
<p align="center">
<img src="assets/hero.png" width="100%" alt="Pixel VR Player" />
</p>
# Pixel VR Player
A native VR video player for the **Valve Steam Frame**, playing flat 2D, 180°, and
+3
View File
@@ -139,6 +139,9 @@ def main() -> int:
icon_file = PROJECT_ROOT / "assets" / "icon.png"
if icon_file.is_file():
scp([str(icon_file)], f"{REMOTE_DIR}/icon.png")
hero_file = PROJECT_ROOT / "assets" / "hero.png"
if hero_file.is_file():
scp([str(hero_file)], f"{REMOTE_DIR}/hero.png")
# 3. Register the Non-Steam shortcut (runs on the host, not in Sniper).
request = {
+7
View File
@@ -532,6 +532,13 @@ elif [ -n "$script_dir" ] && [ -f "$script_dir/icon.png" ]; then
elif [ -f "assets/icon.png" ]; then
cp "assets/icon.png" "$INSTALL_DIR/icon.png"
fi
if [ -f "$srcdir/hero.png" ]; then
cp "$srcdir/hero.png" "$INSTALL_DIR/hero.png"
elif [ -n "$script_dir" ] && [ -f "$script_dir/hero.png" ]; then
cp "$script_dir/hero.png" "$INSTALL_DIR/hero.png"
elif [ -f "assets/hero.png" ]; then
cp "assets/hero.png" "$INSTALL_DIR/hero.png"
fi
ok "$(ls -1 "$INSTALL_DIR/shaders" | wc -l | tr -d ' ') shaders, $(du -h "$INSTALL_DIR/pixelvr" 2>/dev/null | cut -f1) binary"
missing_libs=""
+3
View File
@@ -43,6 +43,9 @@ fi
if [[ -f "assets/icon.png" ]]; then
cp "assets/icon.png" "${stage}/PixelVRPlayer/icon.png"
fi
if [[ -f "assets/hero.png" ]]; then
cp "assets/hero.png" "${stage}/PixelVRPlayer/hero.png"
fi
if [[ -n "${VERSION}" ]]; then
printf '%s\n' "${VERSION}" > "${stage}/PixelVRPlayer/VERSION"
fi