Compare commits

...

2 Commits

Author SHA1 Message Date
JunioR
f32494d973 itch: фон сторінки і промо-картинки (social, favicon, wide cover, logo)
All checks were successful
build / build (push) Successful in 45s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZvZnsbmsFvLRvW7RSE
2026-11-26 12:32:18 +00:00
Claude
2fb721b196 CI: готовий Wine-префікс в образі (без wineboot на кожному релізі)
All checks were successful
ci-image / image (push) Successful in 1m40s
build / build (push) Successful in 2m21s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017HrHZv7SMyjwzpTa8zsEPs
2026-11-26 12:29:32 +00:00
7 changed files with 8 additions and 2 deletions

View File

@@ -17,4 +17,7 @@ RUN curl -sSL --fail -o /tmp/b.zip https://broth.itch.zone/butler/linux-amd64/15
&& unzip -q /tmp/b.zip -d /opt/butler && chmod +x /opt/butler/butler && ln -s /opt/butler/butler /usr/local/bin/butler && rm /tmp/b.zip
# the small template from the prerelease template-<ver> (build_image.sh downloads it next to this file)
COPY template.exe /opt/tinmerezhi/template.exe
# a ready Wine prefix: wine_check.sh copies it instead of running wineboot on every release (same overrides as there)
RUN WINEPREFIX=/opt/wineprefix WINEDEBUG=-all WINEDLLOVERRIDES="mscoree,mshtml=;winedbg.exe=d" xvfb-run -a wineboot -i; \
WINEPREFIX=/opt/wineprefix wineserver -w; test -f /opt/wineprefix/system.reg
RUN godot --version && go-winres --help >/dev/null && butler -V && python3 -c 'import fontTools' && wine --version

View File

@@ -11,8 +11,11 @@ export WINEPREFIX=$W/prefix WINEDEBUG=-all WINEDLLOVERRIDES="mscoree,mshtml=;win
# every Wine run gets its own X display (-n: no xvfb-run -a race) and its own copy of the prefix (own wineserver and
# user://, because the tests reuse save file names), so the game and all tests run at the same time
run() { cp -a $W/prefix $W/p_$3; WINEPREFIX=$W/p_$3 xvfb-run -n $4 -s "-screen 0 1280x800x24" timeout "$1" wine explorer /desktop=ci,1280x720 "$2" -- "Z:$SHOTS"; }
xvfb-run -a wineboot -i >/dev/null 2>&1 || true
wineserver -w 2>/dev/null || true # the prefix must be fully written before it is copied
if [ -d /opt/wineprefix ]; then cp -a /opt/wineprefix $W/prefix # prepared in the CI image (ci/Dockerfile)
else
xvfb-run -a wineboot -i >/dev/null 2>&1 || true
wineserver -w 2>/dev/null || true # the prefix must be fully written before it is copied
fi
# the game: starts and runs 20 s without crashing or script errors
(run 20 "$EXE" game 90 || true) > $W/game.log 2>&1 &

BIN
itch/background_1920.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

BIN
itch/favicon_512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
itch/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
itch/social_1200x630.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 KiB