Skip to content

Commit

Permalink
no artwork, temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoonDorise committed Oct 27, 2024
1 parent 20f8a04 commit 264e235
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions functions/generateGameLists.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,21 @@ function generateGameLists() {

function generateGameListsJson {

# Ejecuta el script de Python para generar la lista de juegos
python "$env:APPDATA\EmuDeck\backend\tools\retroLibrary\generate_game_lists.py" "$romsPath"

# Muestra el contenido del archivo roms_games.json
Get-Content "$HOME\emudeck\cache\roms_games.json"

# Comprueba si .romlibrary_first existe y ejecuta la lógica de generación de arte
if (Test-Path "$HOME\emudeck\cache\.romlibrary_first") {
generateGameLists_artwork 0
}
else {
for ($i = 1; $i -le 5; $i++) {
generateGameLists_artwork $i
#Start-Sleep -Seconds 1
}
# Crea el archivo .romlibrary_first
New-Item -ItemType File -Path "$HOME\emudeck\cache\.romlibrary_first" | Out-Null
}
# if (Test-Path "$HOME\emudeck\cache\.romlibrary_first") {
# generateGameLists_artwork 0
# }else {
# for ($i = 1; $i -le 5; $i++) {
# generateGameLists_artwork $i
# #Start-Sleep -Seconds 1
# }
# # Crea el archivo .romlibrary_first
# New-Item -ItemType File -Path "$HOME\emudeck\cache\.romlibrary_first" | Out-Null
# }
}


Expand Down

0 comments on commit 264e235

Please sign in to comment.