This commit is contained in:
kramo
2023-03-14 21:20:59 +01:00
parent 434b7a11f1
commit 32d9f9a880
16 changed files with 99 additions and 63 deletions

View File

@@ -17,8 +17,11 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
import json
import os
def toggle_hidden(game):
import os, json
games_dir = os.path.join(os.environ.get("XDG_DATA_HOME"), "cartridges", "games")
if not os.path.exists(games_dir):