Skip to content

Commit

Permalink
become even more verbose in hopes of finding issue
Browse files Browse the repository at this point in the history
  • Loading branch information
acquitelol committed Mar 5, 2023
1 parent acbb9ad commit bfe0009
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 10 deletions.
Binary file modified Tweaks/Flowercord/packages/flowercord_1.0.0_iphoneos-arm.deb
Binary file not shown.
20 changes: 14 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,15 @@ const EntryPoint = async (index, ipaName) => {
const M = new Main('Tweak', 'Required Tweaks');
await M.Main(async () => {
await new Inject("Tweak", "all Required Tweaks", true, 'ls Enmity_Patches/Required').run(M, async (ipaName, patchName) => {
await Shell.run(`Azule/azule -v`);
await Shell.runSilently(`Azule/azule -i ${GLOBAL_DIST_DIR}/${ipaName}.ipa -o ${GLOBAL_DIST_DIR} -f $PWD/Enmity_Patches/Required/${patchName} -v & wait $!`, (stderr, stdout) => {
await Shell.run(`Azule/azule -v`, (stderr, stdout) => {
console.log({ stderr, stdout });
});
await Shell.run(`Azule/azule -i ${GLOBAL_DIST_DIR}/${ipaName}.ipa -o ${GLOBAL_DIST_DIR} -f $PWD/Enmity_Patches/Required/${patchName} -v & wait $!`, (stderr, stdout) => {
console.log({ stderr, stdout });
});
await Shell.run(`mv ${GLOBAL_DIST_DIR}/${ipaName}+${patchName}.ipa ${GLOBAL_DIST_DIR}/${ipaName}.ipa`, (stderr, stdout) => {
console.log({ stderr, stdout });
});
await Shell.runSilently(`mv ${GLOBAL_DIST_DIR}/${ipaName}+${patchName}.ipa ${GLOBAL_DIST_DIR}/${ipaName}.ipa`);
});
});
break;
Expand All @@ -181,11 +185,15 @@ const EntryPoint = async (index, ipaName) => {
const M = new Main('Tweak', "Optional Variations");
await M.Main(async () => {
await new Inject("Flowercord", 'Flowercord', false, "ls Enmity_Patches/Optional").run(M, async (ipaName, patchName) => {
await Shell.run(`Azule/azule -v`);
await Shell.runSilently(`Azule/azule -i ${GLOBAL_DIST_DIR}/${ipaName}.ipa -o ${GLOBAL_DIST_DIR} -f $PWD/Enmity_Patches/Optional/${patchName} -v & wait $!`, (stderr, stdout) => {
await Shell.run(`Azule/azule -v`, (stderr, stdout) => {
console.log({ stderr, stdout });
});
await Shell.run(`Azule/azule -i ${GLOBAL_DIST_DIR}/${ipaName}.ipa -o ${GLOBAL_DIST_DIR} -f $PWD/Enmity_Patches/Optional/${patchName} -v & wait $!`, (stderr, stdout) => {
console.log({ stderr, stdout });
});
await Shell.run(`mv ${GLOBAL_DIST_DIR}/${ipaName}+${patchName}.ipa ${GLOBAL_DIST_DIR}/${ipaName}+Flowercord.ipa`, (stderr, stdout) => {
console.log({ stderr, stdout });
});
await Shell.runSilently(`mv ${GLOBAL_DIST_DIR}/${ipaName}+${patchName}.ipa ${GLOBAL_DIST_DIR}/${ipaName}+Flowercord.ipa`);
});
});
break;
Expand Down
16 changes: 12 additions & 4 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,15 @@ const EntryPoint = async (index: number, ipaName: string) => {
const M: Main = new Main('Tweak', 'Required Tweaks');
await M.Main(async (): Promise<void> => {
await new Inject("Tweak", "all Required Tweaks", true, 'ls Enmity_Patches/Required').run(M, async (ipaName: string, patchName: string) => {
await Shell.run(`Azule/azule -v`);
await Shell.run(`Azule/azule -v`, (stderr, stdout) => {
console.log({ stderr, stdout })
});
await Shell.run(`Azule/azule -i ${GLOBAL_DIST_DIR}/${ipaName}.ipa -o ${GLOBAL_DIST_DIR} -f $PWD/Enmity_Patches/Required/${patchName} -v & wait $!`, (stderr, stdout) => {
console.log({ stderr, stdout })
})
await Shell.runSilently(`mv ${GLOBAL_DIST_DIR}/${ipaName}+${patchName}.ipa ${GLOBAL_DIST_DIR}/${ipaName}.ipa`)
await Shell.run(`mv ${GLOBAL_DIST_DIR}/${ipaName}+${patchName}.ipa ${GLOBAL_DIST_DIR}/${ipaName}.ipa`, (stderr, stdout) => {
console.log({ stderr, stdout })
})
})
})

Expand All @@ -227,11 +231,15 @@ const EntryPoint = async (index: number, ipaName: string) => {
const M: Main = new Main('Tweak', "Optional Variations");
await M.Main(async (): Promise<void> => {
await new Inject("Flowercord", 'Flowercord', false, "ls Enmity_Patches/Optional").run(M, async (ipaName: string, patchName: string) => {
await Shell.run(`Azule/azule -v`);
await Shell.run(`Azule/azule -v`, (stderr, stdout) => {
console.log({ stderr, stdout })
});
await Shell.run(`Azule/azule -i ${GLOBAL_DIST_DIR}/${ipaName}.ipa -o ${GLOBAL_DIST_DIR} -f $PWD/Enmity_Patches/Optional/${patchName} -v & wait $!`, (stderr, stdout) => {
console.log({ stderr, stdout })
});
await Shell.runSilently(`mv ${GLOBAL_DIST_DIR}/${ipaName}+${patchName}.ipa ${GLOBAL_DIST_DIR}/${ipaName}+Flowercord.ipa`)
await Shell.run(`mv ${GLOBAL_DIST_DIR}/${ipaName}+${patchName}.ipa ${GLOBAL_DIST_DIR}/${ipaName}+Flowercord.ipa`, (stderr, stdout) => {
console.log({ stderr, stdout })
})
})
})

Expand Down

0 comments on commit bfe0009

Please sign in to comment.