mirror of
https://github.com/RetroGameSets/RGSX.git
synced 2026-03-19 16:26:00 +01:00
Compare commits
8 Commits
v2.3.0.4.1
...
v2.3.0.7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9df7a35e85 | ||
|
|
26f1f58d7a | ||
|
|
a9cdba3aa6 | ||
|
|
1a118247d9 | ||
|
|
5497727e2e | ||
|
|
56a6d6f17b | ||
|
|
3e769e4b18 | ||
|
|
3023a45402 |
54
.github/workflows/release.yml
vendored
54
.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,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 }}
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
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é)
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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