feat: Update mountddi, replace the pairing commands, switch to localdevvpn

* Update mountddi.py

* Update pairing command description and embed content

* Update crash.py

* Update afc.py

* Update VPN app reference in error message

* Update footer text in embed message

* feat: update mount ddi to be downloaded on the fly

also fix some small errors and update errorcodes.json

---------

Co-authored-by: neoarz <email@neoarz.dev>
This commit is contained in:
CelloSerenity
2025-12-07 16:08:09 -07:00
committed by GitHub
parent 0d3fcb8146
commit b7d010e44c
8 changed files with 65 additions and 43 deletions

View File

@@ -3,28 +3,13 @@ from discord.ext import commands
def pairing_command():
@commands.hybrid_command(
name="pairing", description="Help with pairing file issues"
)
@commands.hybrid_command(name="pairing", description="Link to the pairing guide")
async def pairing(self, context):
embed = discord.Embed(
color=0x8E82F9,
description=(
"# Cannot Choose Pairing File\n\n---\n\n"
+ "1. **Check File Extension:**\n"
+ " Make sure your pairing file's extension ends with `.mobiledevicepairing` or `.plist`\n"
+ " - If it doesn't, double-check to see if you had zipped your pairing file before sending it to your phone. Failing to do so may lead to the file being corrupted during transport\n\n"
+ "2. **Move Pairing File:**\n"
+ " If you are unable to select the pairing file from within the app:\n"
+ " - Rename the file to `ALTPairingFile.mobiledevicepairing`\n"
+ ' - Try moving the pairing file to the root directory of the SideStore folder in the Files app under "On My iPhone/iPad"\n\n'
+ "3. **Certificate Signing:**\n"
+ " When signing SideStore with certain certificates, you won't be able to select the pairing file from within the app\n"
+ " - Try the fix mentioned above\n"
+ " - If you do not see the SideStore folder in the Files app:\n"
+ " • Connect your phone to your computer\n"
+ " • Drag and drop the pairing file into the SideStore app's files section\n"
+ " • Ensure the file is renamed to `ALTPairingFile.mobiledevicepairing`\n"
"# How to obtain your pairing file:\n\n---\n\n"
+ "[Click here](https://docs.sidestore.io/advanced/pairing-file) to read the SideStore documentation on replacing your pairing file.\n"
),
)
embed.set_author(