@@ -320,10 +320,18 @@ jobs:
320320 [[ -f "$f" ]] && GAME_PACKS+=("$f")
321321 done
322322
323+ # Locate .chproject for the game
324+ CHPROJECT=""
325+ for f in "$WS/game/chaineddecos"/*.chproject; do
326+ [[ -f "$f" ]] && CHPROJECT="$f" && break
327+ done
328+
323329 GAME_ARCHIVE=$(make_bundle "ChainedDecos-Game" \
324330 "$GAME_EXE" \
325331 "${GAME_PACKS[@]}" \
326- "$BIN_DIR/scripts")
332+ ${CHPROJECT:+"$CHPROJECT"} \
333+ "$BIN_DIR/scripts" \
334+ "$BIN_DIR/nethost")
327335 echo "game_archive=$GAME_ARCHIVE" >> $GITHUB_OUTPUT
328336
329337 # ── Editor bundle: executable + engine resources only (no game assets) ──
@@ -334,7 +342,8 @@ jobs:
334342 EDITOR_ARCHIVE=$(make_bundle "ChainedEditor" \
335343 "$EDITOR_EXE" \
336344 "$BIN_DIR/resources" \
337- "$BIN_DIR/editor_settings.yaml")
345+ "$BIN_DIR/editor_settings.yaml" \
346+ "$BIN_DIR/nethost")
338347 echo "editor_archive=$EDITOR_ARCHIVE" >> $GITHUB_OUTPUT
339348
340349 - name : Upload Game artifact
@@ -413,13 +422,13 @@ jobs:
413422
414423 | File | Platform | Contents |
415424 |------|----------|----------|
416- | `ChainedDecos-Game-*-windows.zip` | Windows | Game executable + resources.pack + scripts + DLLs |
417- | `ChainedDecos-Game-*-linux.tar.gz` | Linux | Game executable + resources.pack + scripts |
418- | `ChainedEditor-*-windows.zip` | Windows | Editor executable + engine resources + DLLs |
419- | `ChainedEditor-*-linux.tar.gz` | Linux | Editor executable + engine resources |
425+ | `ChainedDecos-Game-*-windows.zip` | Windows | Game executable + .chproject + resources.pack + scripts + nethost/ + DLLs |
426+ | `ChainedDecos-Game-*-linux.tar.gz` | Linux | Game executable + .chproject + resources.pack + scripts + nethost/ |
427+ | `ChainedEditor-*-windows.zip` | Windows | Editor executable + engine resources + nethost/ + DLLs |
428+ | `ChainedEditor-*-linux.tar.gz` | Linux | Editor executable + engine resources + nethost/ |
420429
421- > **Game** — packaged with `resources.pack` (assets + engine resources compressed). Scripts included separately .
422- > **Editor** — includes only the editor binary and engine resources (shaders, fonts, icons) — no game assets .
430+ > **Game** — packaged with `resources.pack` (assets + engine resources compressed), `.chproject` project config, `scripts/` (C# assemblies), and `nethost/` (.NET hosting). On Linux, requires .NET 9+ runtime .
431+ > **Editor** — includes the editor binary, engine resources (shaders, fonts, icons), and `nethost/` (.NET hosting). On Linux, requires .NET 9+ runtime .
423432
424433 #### Requirements
425434 - Windows: no extra dependencies (all DLLs included)
0 commit comments