Compare commits

...

5 Commits

Author SHA1 Message Date
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
skymike03
f1b2fad0d4 v2.3.0.4.1
-test update
2025-10-20 23:43:04 +02:00
skymike03
80844bda79 v2.3.0.4
- update links changed
2025-10-20 23:26:34 +02:00
skymike03
b19d4ff60a v2.3.0.3
- now rgsx download updates to github to avoid problems
2025-10-20 23:00:41 +02:00
4 changed files with 60 additions and 25 deletions

View File

@@ -47,7 +47,36 @@ jobs:
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 Retrobat package (includes ports/ and windows/ directories)…"
zip -r "dist/RGSX_Retrobat_${VERSION}.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 "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/
- name: Create GitHub Release
@@ -62,27 +91,25 @@ jobs:
## 📦 RGSX Release ${{ github.ref_name }}
### 📥 Installation
1. Téléchargez `RGSX_${{ github.ref_name }}.zip`
2. Extrayez le contenu dans `/userdata/roms/ports/RGSX/` (Batocera/Knulli)
3. Lancez RGSX depuis le menu Ports
### 📦 Contenu du package
- Application RGSX complète (tous les fichiers Python)
- Interface graphique pygame
- Interface web (rgsx_web.py)
- Assets complets :
- Polices (fonts/)
- Images SVG des boutons (images/)
- Musiques (music/)
- Programmes utilitaires (progs/)
- Mappings de contrôleurs (assets/controls/)
- Traductions (languages/ : FR, EN, ES, DE, IT, PT)
- Scripts de lancement (RGSX.sh)
#### Batocera/Knulli
1. Download `RGSX_${{ github.ref_name }}.zip`
2. Extract in `/userdata/roms/ports/RGSX/`
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)
3. Launch RGSX from system "Windows"
### 📖 Documentation
Consultez le [README.md](https://github.com/${{ github.repository }}/blob/main/README.md) pour plus d'informations.
[]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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -13,7 +13,7 @@ except Exception:
pygame = None # type: ignore
# Version actuelle de l'application
app_version = "2.3.0.2"
app_version = "2.3.0.4.1"
def get_application_root():
@@ -91,10 +91,17 @@ API_KEY_REALDEBRID_PATH = os.path.join(SAVE_FOLDER, "RealDebridAPI.txt")
# URL
# URL - GitHub Releases
GITHUB_REPO = "RetroGameSets/RGSX"
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_VERSION_ENDPOINT = "https://retrogamesets.fr/softs/version.json" # Endpoint pour vérifier la version disponible
# URLs legacy (conservées pour compatibilité)
OTA_SERVER_URL = "https://retrogamesets.fr/softs/"
OTA_VERSION_ENDPOINT = os.path.join(OTA_SERVER_URL, "version.json")
OTA_UPDATE_ZIP = os.path.join(OTA_SERVER_URL, "RGSX.zip")
OTA_data_ZIP = os.path.join(OTA_SERVER_URL, "games.zip")
#CHEMINS DES EXECUTABLES

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

@@ -483,8 +483,9 @@ async def check_for_updates():
return True, _("network_no_update_available") if _ else "No update (local >= remote)"
# À ce stade latest_version est strictement > version locale
UPDATE_ZIP = OTA_UPDATE_ZIP.replace("RGSX.zip", f"RGSX_v{latest_version}.zip")
logger.debug(f"URL de mise à jour : {UPDATE_ZIP}")
# Utiliser l'URL RGSX_latest.zip qui pointe toujours vers la dernière version sur GitHub
UPDATE_ZIP = OTA_UPDATE_ZIP
logger.debug(f"URL de mise à jour : {UPDATE_ZIP} (version {latest_version})")
if latest_version != config.app_version:
config.current_loading_system = _("network_update_available").format(latest_version)