mirror of
https://github.com/RetroGameSets/RGSX.git
synced 2026-03-19 16:26:00 +01:00
Compare commits
7 Commits
v2.3.0.5
...
v2.3.0.7.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d2a52c5a2e | ||
|
|
9df7a35e85 | ||
|
|
26f1f58d7a | ||
|
|
a9cdba3aa6 | ||
|
|
1a118247d9 | ||
|
|
5497727e2e | ||
|
|
56a6d6f17b |
29
.github/workflows/release.yml
vendored
29
.github/workflows/release.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
echo "Building RGSX package from ports/RGSX/ directory…"
|
||||
cd ports/RGSX
|
||||
|
||||
zip -r "../../dist/RGSX_${VERSION}.zip" . \
|
||||
zip -r "../../dist/RGSX_update_latest.zip" . \
|
||||
-x "logs/*" \
|
||||
"logs/**" \
|
||||
"images/*" \
|
||||
@@ -44,14 +44,12 @@ jobs:
|
||||
|
||||
cd ../..
|
||||
|
||||
echo "Creating stable-named copy for latest download link…"
|
||||
cp -f "dist/RGSX_${VERSION}.zip" "dist/RGSX_latest.zip"
|
||||
|
||||
echo "✓ RGSX package created successfully"
|
||||
|
||||
echo ""
|
||||
echo "Building RGSX Retrobat package (includes ports/ and windows/ directories)…"
|
||||
zip -r "dist/RGSX_Retrobat_${VERSION}.zip" ports windows \
|
||||
echo "Building RGSX Full package (includes ports/ and windows/ directories)…"
|
||||
zip -r "dist/RGSX_full_latest.zip" ports windows \
|
||||
-x "ports/RGSX/logs/*" \
|
||||
"ports/RGSX/logs/**" \
|
||||
"ports/RGSX/images/*" \
|
||||
@@ -73,8 +71,6 @@ jobs:
|
||||
"*.xml" \
|
||||
"*.log"
|
||||
|
||||
echo "Creating stable-named copy for Retrobat package…"
|
||||
cp -f "dist/RGSX_Retrobat_${VERSION}.zip" "dist/RGSX_Retrobat_latest.zip"
|
||||
|
||||
echo "✓ All packages created successfully"
|
||||
ls -lh dist/
|
||||
@@ -90,26 +86,23 @@ jobs:
|
||||
body: |
|
||||
## 📦 RGSX Release ${{ github.ref_name }}
|
||||
|
||||
### 📥 Installation
|
||||
### 📥 Manual Installation
|
||||
|
||||
#### Batocera/Knulli
|
||||
1. Download `RGSX_${{ github.ref_name }}.zip`
|
||||
2. Extract in `/userdata/roms/ports/RGSX/`
|
||||
1. Download `RGSX_full_latest.zip`
|
||||
2. Extract only PORTS folder in `/userdata/roms/`
|
||||
3. Launch RGSX from the Ports menu
|
||||
|
||||
#### Retrobat/Windows
|
||||
1. `RGSX_Retrobat_${{ github.ref_name }}.zip`
|
||||
2. Extract in retrobat/roms (les dossiers `ports/` et `windows/` seront créés automatiquement)
|
||||
#### Retrobat/Full Installation on Windows
|
||||
1. Download `RGSX_full_latest.zip`
|
||||
2. Extract all folders in your Retrobat\roms folder
|
||||
3. Launch RGSX from system "Windows"
|
||||
|
||||
|
||||
### 📖 Documentation
|
||||
[]README.md](https://github.com/${{ github.repository }}/blob/main/README.md)
|
||||
files: |
|
||||
dist/RGSX_${{ github.ref_name }}.zip
|
||||
dist/RGSX_latest.zip
|
||||
dist/RGSX_Retrobat_${{ github.ref_name }}.zip
|
||||
dist/RGSX_Retrobat_latest.zip
|
||||
dist/RGSX_latest.zip
|
||||
dist/RGSX_update_latest.zip
|
||||
dist/RGSX_full_latest.zip
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
# Supprimer SDL_VIDEODRIVER=fbcon pour laisser SDL choisir le pilote
|
||||
# export SDL_VIDEODRIVER=fbcon
|
||||
/usr/bin/python3 /userdata/roms/ports/RGSX
|
||||
#!/usr/bin/env python3
|
||||
SCRIPT_DIR=$(dirname "$(realpath "$0")")
|
||||
python3 "$SCRIPT_DIR/__main__.py"
|
||||
@@ -13,7 +13,7 @@ except Exception:
|
||||
pygame = None # type: ignore
|
||||
|
||||
# Version actuelle de l'application
|
||||
app_version = "2.3.0.4.1"
|
||||
app_version = "2.3.0.7.1"
|
||||
|
||||
|
||||
def get_application_root():
|
||||
@@ -97,7 +97,7 @@ GITHUB_RELEASES_URL = f"https://github.com/{GITHUB_REPO}/releases"
|
||||
|
||||
# URLs pour les mises à jour OTA (Over-The-Air)
|
||||
# Utilise le fichier RGSX_latest.zip qui pointe toujours vers la dernière version
|
||||
OTA_UPDATE_ZIP = f"{GITHUB_RELEASES_URL}/latest/download/RGSX_latest.zip"
|
||||
OTA_UPDATE_ZIP = f"{GITHUB_RELEASES_URL}/latest/download/RGSX_update_latest.zip"
|
||||
OTA_VERSION_ENDPOINT = "https://retrogamesets.fr/softs/version.json" # Endpoint pour vérifier la version disponible
|
||||
|
||||
# URLs legacy (conservées pour compatibilité)
|
||||
|
||||
@@ -495,7 +495,7 @@ async def check_for_updates():
|
||||
|
||||
# Créer le dossier UPDATE_FOLDER s'il n'existe pas
|
||||
os.makedirs(UPDATE_FOLDER, exist_ok=True)
|
||||
update_zip_path = os.path.join(UPDATE_FOLDER, f"RGSX_v{latest_version}.zip")
|
||||
update_zip_path = os.path.join(UPDATE_FOLDER, f"RGSX_update_v{latest_version}.zip")
|
||||
logger.debug(f"Téléchargement de {UPDATE_ZIP} vers {update_zip_path}")
|
||||
|
||||
# Télécharger le ZIP
|
||||
|
||||
Reference in New Issue
Block a user