mirror of
https://github.com/RetroGameSets/RGSX.git
synced 2026-03-20 16:55:39 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
80844bda79 | ||
|
|
b19d4ff60a |
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
@@ -62,25 +62,9 @@ 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)
|
||||
|
||||
1. Extract to ROMS/PORTS/RGSX
|
||||
### 📖 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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user