Compare commits

..

8 Commits

Author SHA1 Message Date
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
skymike03
3e769e4b18 add minor updates on release 2025-10-21 00:05:33 +02:00
skymike03
3023a45402 v2.3.0.5
- add retrobat release test
2025-10-21 00:01:51 +02:00
5 changed files with 53 additions and 17 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,10 +44,35 @@ jobs:
cd ../..
echo "Creating stable-named copy for latest download link…"
cp -f "dist/RGSX_${VERSION}.zip" "dist/RGSX_latest.zip"
echo "✓ Package created successfully"
echo "✓ RGSX package created successfully"
echo ""
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/*" \
"ports/RGSX/images/**" \
"ports/RGSX/games/*" \
"ports/RGSX/games/**" \
"ports/RGSX/scripts/*" \
"ports/RGSX/scripts/**" \
"ports/RGSX/__pycache__/*" \
"ports/RGSX/__pycache__/**" \
"ports/RGSX/*.pyc" \
"ports/RGSX/sources.json" \
"ports/RGSX/*.log" \
"windows/logs/*" \
"windows/*.xml" \
"ports/*.xml" \
"*.xml" \
"*.pyc" \
"*.xml" \
"*.log"
echo "✓ All packages created successfully"
ls -lh dist/
- name: Create GitHub Release
@@ -61,12 +86,23 @@ jobs:
body: |
## 📦 RGSX Release ${{ github.ref_name }}
### 📥 Installation
1. Extract to ROMS/PORTS/RGSX
### 📥 Manual Installation
#### Batocera/Knulli
1. Download `RGSX_full_latest.zip`
2. Extract only PORTS folder in `/userdata/roms/`
3. Launch RGSX from the Ports menu
#### Retrobat/Full Installation on Windows
1. `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).
[]README.md](https://github.com/${{ github.repository }}/blob/main/README.md)
files: |
dist/RGSX_${{ github.ref_name }}.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"
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

@@ -1489,8 +1489,8 @@ def draw_controls(screen, menu_state, current_music_name=None, music_popup_start
# Construire les lignes avec icônes
icon_lines = []
# Sur la page d'accueil uniquement: afficher version et musique
if menu_state == "platform":
# Sur la page d'accueil et la page loading afficher version et musique
if menu_state == "platform" or menu_state == "loading":
control_parts = []
start_button = get_control_display('start', 'START')

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