feat(files): mkdir for idevice files

This commit is contained in:
neoarz
2025-09-26 20:49:10 -04:00
parent a305c87f4a
commit f9923e0479
6 changed files with 76 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ import math
def load_error_codes():
try:
json_path = os.path.join(os.path.dirname(__file__), 'errorcodes.json')
json_path = os.path.join(os.path.dirname(__file__), 'files/errorcodes.json')
with open(json_path, 'r', encoding='utf-8') as f:
return json.load(f)
except FileNotFoundError:
@@ -159,6 +159,11 @@ class ideviceSelect(discord.ui.Select):
value="developermode",
description="How to turn on developer mode",
),
discord.SelectOption(
label="Mount DDI",
value="mountddi",
description="How to manually mount DDI",
),
]
super().__init__(placeholder="Choose an idevice command...", options=options)