Skip to content

Commit

Permalink
no longer update and try to echo pwd
Browse files Browse the repository at this point in the history
  • Loading branch information
acquitelol committed Mar 5, 2023
1 parent bfe0009 commit 4cdabf3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
9 changes: 3 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ 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`, (stderr, stdout) => {
await Shell.run(`echo $PWD`, (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) => {
await Shell.run(`Azule/azule -i ${GLOBAL_DIST_DIR}/${ipaName}.ipa -o ${GLOBAL_DIST_DIR} -f $PWD/Enmity_Patches/Required/${patchName} -v -U & wait $!`, (stderr, stdout) => {
console.log({ stderr, stdout });
});
await Shell.run(`mv ${GLOBAL_DIST_DIR}/${ipaName}+${patchName}.ipa ${GLOBAL_DIST_DIR}/${ipaName}.ipa`, (stderr, stdout) => {
Expand All @@ -185,10 +185,7 @@ 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`, (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) => {
await Shell.run(`Azule/azule -i ${GLOBAL_DIST_DIR}/${ipaName}.ipa -o ${GLOBAL_DIST_DIR} -f $PWD/Enmity_Patches/Optional/${patchName} -v -U & 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) => {
Expand Down
13 changes: 5 additions & 8 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,10 @@ 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`, (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) => {
await Shell.run(`echo $PWD`, (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 -U & wait $!`, (stderr, stdout) => {
console.log({ stderr, stdout })
})
await Shell.run(`mv ${GLOBAL_DIST_DIR}/${ipaName}+${patchName}.ipa ${GLOBAL_DIST_DIR}/${ipaName}.ipa`, (stderr, stdout) => {
Expand Down Expand Up @@ -231,10 +231,7 @@ 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`, (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) => {
await Shell.run(`Azule/azule -i ${GLOBAL_DIST_DIR}/${ipaName}.ipa -o ${GLOBAL_DIST_DIR} -f $PWD/Enmity_Patches/Optional/${patchName} -v -U & 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) => {
Expand Down

0 comments on commit 4cdabf3

Please sign in to comment.