From a108f81b23d23afc7069b4d28677d9d8a3e27690 Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Mon, 8 Jul 2024 09:42:39 +0800 Subject: [PATCH] Some pwndfu changes fixes #526 --- bin/macos/ipwnder | Bin 53388 -> 53388 bytes restore.sh | 24 ++++++++++++++++-------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/bin/macos/ipwnder b/bin/macos/ipwnder index 0bcc50c6a91782231c4c3d6ec3a5bfcbcfb37016..118a957500b5a0486cf30c719bdf03b079ad3479 100755 GIT binary patch delta 4288 zcmZu!3sh8P9{;YxMR22;kwGDy7+`=IAIYc~i;h5vU3Adg%`6|ezO~S7cP4Yy1_PAa zWfJ{-waKPwWu3NT4sL=9+9Kz0zu)iw{(rA~ zr)Ha}W}B(@eQS)BF^Mr&GanE9#k}#wAldRz*#7gtwEP{f97%os+FJ9g+!5=NV!|b{ z`+9JTHAT9U_p=rc`Lv8NC6w^gTE;vPMJ+y3?1|{<3mB`4n4ggl)fdW?x{G1pUYPnq z-V^)mT-DEg>SZOAG>gKLW(^F9@5ld}`0z;*UNHiI%6o z!h=2gOg?Ssb5CGEUoJ$6_GlJ!rQZSEoZXYLCWBTF5=92SR6^d*$Y(40T$*Rh!8C*| z(MC9*zDKEy1a8sO_@$oNeMZ3qfQwofNT{60A zdlxx@zgi-OTpRh!=L-_;(ssT&F+J%gi1b1P!7^0NBI{nfDY0KL`A^V%GuQBU3j8Hu zMc|JKmkIn1;aY*43D*l8Cj5!OFB85h@Ncy8ekQYaTYb9*0flIfYf($~{T$ z#8o%=EF>SkFey2B_jUO^ObTNC2>Ry1#24QAlg*}&K}lN2qf z1_I=?BRH0HICd9WTO$lK?_%hh&SMqzG6Jn zil7D2`oc#4b{1l(ElSm?z_b!=8sy$XQa{(9nUz7H1~x@%ah&I}=O04xIC!xZi1Vpe z^lF~jJ2if!5#@8;$xC}Xq>Fq}?+H=~kMwp*%lX;frMK?S6FUH@m5|(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KCjFGczjbR?67 zC68gI&M}PTx>&f^#n|#3CN0WkVX=8kdMuBHUCU$P)AE^QE@149A{O>z5o0gk&P;zT zW~{h^nIs&iWeZqX;{qnFTfj`;p|F=0GE;5GS1(>3Dz)+pZ{HQMH;0+ ../saved/ipwndfu/sha1 rm -rf ../saved/ipwndfu-* fi - if [[ -d /opt/local/lib ]]; then - ln -sf /opt/local/lib ~/lib - elif [[ -d /opt/homebrew/lib ]]; then - ln -sf /opt/homebrew/lib ~/lib + if [[ $platform == "macos" ]]; then + if [[ -e ~/lib && -e ~/lib.bak ]]; then + rm -rf ~/lib + elif [[ -e ~/lib ]]; then + mv ~/lib ~/lib.bak + fi + if [[ -d /opt/homebrew/lib ]]; then + ln -sf /opt/homebrew/lib ~/lib + elif [[ -d /opt/local/lib ]]; then + ln -sf /opt/local/lib ~/lib + fi fi pushd ../saved/ipwndfu/ >/dev/null