From 264e2350969cc14079ccfb497e3c128d454e40e1 Mon Sep 17 00:00:00 2001 From: Dragoon Dorise Date: Sun, 27 Oct 2024 14:05:20 +0100 Subject: [PATCH] no artwork, temporary --- functions/generateGameLists.ps1 | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/functions/generateGameLists.ps1 b/functions/generateGameLists.ps1 index 4b9d46d0..8755dc15 100644 --- a/functions/generateGameLists.ps1 +++ b/functions/generateGameLists.ps1 @@ -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 + # } }