mirror of
https://github.com/skoelle/marcer-gamedvd-launcher.git
synced 2026-09-17 18:50:25 +00:00
fix release pipeline
This commit is contained in:
@@ -53,7 +53,7 @@ jobs:
|
|||||||
if: matrix.os != 'windows-latest'
|
if: matrix.os != 'windows-latest'
|
||||||
run: |
|
run: |
|
||||||
cd MarcerGameDvdLauncher/bin/Release/net10.0/${{ matrix.rid }}/publish
|
cd MarcerGameDvdLauncher/bin/Release/net10.0/${{ matrix.rid }}/publish
|
||||||
zip -r $GITHUB_WORKSPACE/MarcerGameDvdLauncher-v${{ steps.version.outputs.version }}-${{ matrix.artifact_name }}$
|
zip -r $GITHUB_WORKSPACE/MarcerGameDvdLauncher-v${{ steps.version.outputs.version }}-${{ matrix.artifact_name }}.zip .
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
@@ -75,16 +75,15 @@ A performant, consistent console launcher for the Hatari emulator on Windows. Co
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
1. Edit `launcher.config.example.json` to set your `RootDirectory`, optional `PatchDirectory` and the `Hatari` settings, then copy it to `launcher.config.json` for local use. Relative paths are resolved against the EXE folder (build output).
|
1. Edit `launcher.config.example.json` to set your `RootDirectory`, optional `PatchDirectory` and the `Hatari` settings, then copy it to `launcher.config.json` for local use. Relative paths are resolved against the EXE folder (build output).
|
||||||
2. **Windows:** Build via `build.cmd`.
|
2. **Windows:** Build via `build.cmd`, start via `start.cmd`.
|
||||||
3. **Linux:** Build via `build.sh` (run `chmod +x build.sh` first to make it executable).
|
3. **Linux/macOS:** Build via `build.sh` (run `chmod +x build.sh` first to make it executable), start via `start.sh`.
|
||||||
4. **Always start using `start.cmd`.**
|
4. In the console, all subfolders and ZIPs in root (and recursively below) will be shown; other file types/hidden files are always ignored.
|
||||||
5. In the console, all subfolders and ZIPs in root (and recursively below) will be shown; other file types/hidden files are always ignored.
|
5. Complete navigation/control with arrow keys, Enter, Backspace, ESC, PgUp/PgDn, as described above.
|
||||||
6. Complete navigation/control with arrow keys, Enter, Backspace, ESC, PgUp/PgDn, as described above.
|
6. **IMPORTANT:** Navigation/scroll/backspace:
|
||||||
7. **IMPORTANT:** Navigation/scroll/backspace:
|
|
||||||
- Backspace never escapes the root
|
- Backspace never escapes the root
|
||||||
- In root, Backspace has no effect
|
- In root, Backspace has no effect
|
||||||
- Empty directories are reported (display stays stable)
|
- Empty directories are reported (display stays stable)
|
||||||
8. **Overlay/patch logic:**
|
7. **Overlay/patch logic:**
|
||||||
- If a ZIP/folder exists in both patch and main, always the patch version opens/launches
|
- If a ZIP/folder exists in both patch and main, always the patch version opens/launches
|
||||||
- All navigation is relative to root path—for consistent experience
|
- All navigation is relative to root path—for consistent experience
|
||||||
|
|
||||||
@@ -139,8 +138,8 @@ Releases are automated via GitHub Actions. When a tag matching `v*` is pushed, t
|
|||||||
4. The GitHub Action handles the rest.
|
4. The GitHub Action handles the rest.
|
||||||
|
|
||||||
**Local builds** (for development/testing):
|
**Local builds** (for development/testing):
|
||||||
- **Windows:** `build.cmd`
|
- **Windows:** `build.cmd` to build, `start.cmd` to run
|
||||||
- **Linux/macOS:** `build.sh` (run `chmod +x build.sh` first)
|
- **Linux/macOS:** `build.sh` to build, `start.sh` to run (run `chmod +x *.sh` first)
|
||||||
|
|
||||||
## Community
|
## Community
|
||||||
|
|
||||||
|
|||||||
@@ -20,10 +20,10 @@ if [ $? -ne 0 ]; then
|
|||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for the built .exe file
|
# Check for the built binary
|
||||||
EXEPATH=$(find "bin/Release" -name "MarcerGameDvdLauncher*.exe" -print -quit 2>/dev/null)
|
BINPATH=$(find "bin/Release" \( -name "MarcerGameDvdLauncher" -o -name "MarcerGameDvdLauncher.exe" \) -print -quit 2>/dev/null)
|
||||||
if [ -n "$EXEPATH" ] && [ -f "$EXEPATH" ]; then
|
if [ -n "$BINPATH" ] && [ -f "$BINPATH" ]; then
|
||||||
echo "[OK] Build complete. EXE: \"$EXEPATH\""
|
echo "[OK] Build complete. Binary: \"$BINPATH\""
|
||||||
else
|
else
|
||||||
echo "[WARNING] Build appears successful but .exe not found!"
|
echo "[WARNING] Build appears successful but binary not found!"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Starts MarcerGameDvdLauncher from the correct folder
|
||||||
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||||
|
EXE_PATH="$SCRIPT_DIR/MarcerGameDvdLauncher/bin/Release/net10.0/MarcerGameDvdLauncher"
|
||||||
|
|
||||||
|
if [ ! -f "$EXE_PATH" ]; then
|
||||||
|
echo "[ERROR] Application not built. Please run build.sh first."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "$SCRIPT_DIR/MarcerGameDvdLauncher/bin/Release/net10.0"
|
||||||
|
./MarcerGameDvdLauncher
|
||||||
Reference in New Issue
Block a user