mirror of
https://github.com/Radiquum/anixart-patcher.git
synced 2025-09-09 04:33:51 +05:00
feat: add settings menu items patch
This commit is contained in:
parent
1e84f31eb0
commit
9e06ed8c9f
5 changed files with 187 additions and 18 deletions
|
@ -137,10 +137,14 @@ def init_patch():
|
|||
f.write("")
|
||||
|
||||
name = prompt("Patch name: ", lambda x: x.strip().lower().replace(" ", "_"))
|
||||
description = prompt("Patch description: ", lambda x: x.strip())
|
||||
summary = prompt("Patch summary: ", lambda x: x.strip())
|
||||
developer = prompt("Patch developer: ", lambda x: x.strip())
|
||||
URL = prompt("URL: ", lambda x: x.strip())
|
||||
priority = prompt("Patch priority: ", target_type=int, initial_value="0")
|
||||
|
||||
patch_content = f"""\"\"\"{description}\"\"\"
|
||||
patch_content = f"""\"\"\"{summary}\"\"\"
|
||||
# Developer: {developer}
|
||||
# URL: {URL}
|
||||
|
||||
# patch settings
|
||||
# priority, default: {priority}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue