Compare commits

...

7 Commits

Author SHA1 Message Date
skymike03
d2a52c5a2e update push new test 2025-10-22 02:35:46 +02:00
skymike03
9df7a35e85 v2.3.0.7 changes for updates and release system simplify 2025-10-22 02:26:22 +02:00
skymike03
26f1f58d7a Merge branch 'main' of https://github.com/RetroGameSets/RGSX 2025-10-22 02:14:37 +02:00
skymike03
a9cdba3aa6 v2.3.0.7
- minor updates to install script
2025-10-22 02:14:35 +02:00
RGS
1a118247d9 Update Windows installation instructions in release.yml 2025-10-22 02:11:28 +02:00
RGS
5497727e2e Update release workflow to rename Retrobat package to use full name 2025-10-22 02:09:55 +02:00
skymike03
56a6d6f17b v2.3.0.6 2025-10-21 00:09:40 +02:00
4 changed files with 17 additions and 24 deletions

View File

@@ -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 }}

View File

@@ -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"

View File

@@ -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é)

View File

@@ -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