-
Notifications
You must be signed in to change notification settings - Fork 1
/
linkarticfox.sh
33 lines (30 loc) · 3.59 KB
/
linkarticfox.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
# Inspired by TenFourFox relink script. Many Thanks.
# Created by Traace for Arcticfox PPC OSX
echo "Relinking now..."
echo "Please make sure ArcticFoxPPC.app is in /Applications"
# Lets start with XUL
install_name_tool -change /opt/local/lib/libgcc/libatomic.1.dylib @executable_path/libatomic.1.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/XUL
install_name_tool -change /opt/local/lib/libgcc/libstdc++.6.dylib @executable_path/libstdc++.6.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/XUL
install_name_tool -change /opt/local/lib/libgcc/libgcc_s.1.dylib @executable_path/libgcc_s.1.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/XUL
# Now arcticfox
install_name_tool -change /opt/local/lib/libgcc/libgcc_s.1.dylib @executable_path/libgcc_s.1.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/arcticfox
install_name_tool -change /opt/local/lib/libgcc/libstdc++.6.dylib @executable_path/libstdc++.6.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/arcticfox
# Afterwards we continue relink all dylibs
install_name_tool -change /opt/local/lib/libgcc/libgcc_s.1.dylib @executable_path/libgcc_s.1.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/libfreebl3.dylib
install_name_tool -change /opt/local/lib/libgcc/libgcc_s.1.dylib @executable_path/libgcc_s.1.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/libicudata.56.dylib
install_name_tool -change /opt/local/lib/libgcc/libgcc_s.1.dylib @executable_path/libgcc_s.1.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/libicui18n.56.dylib
install_name_tool -change /opt/local/lib/libgcc/libstdc++.6.dylib @executable_path/libstdc++.6.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/libicui18n.56.dylib
install_name_tool -change /opt/local/lib/libgcc/libgcc_s.1.dylib @executable_path/libgcc_s.1.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/libicuuc.56.dylib
install_name_tool -change /opt/local/lib/libgcc/libstdc++.6.dylib @executable_path/libstdc++.6.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/libicuuc.56.dylib
install_name_tool -change /opt/local/lib/libgcc/libgcc_s.1.dylib @executable_path/libgcc_s.1.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/liblgpllibs.dylib
install_name_tool -change /opt/local/lib/libgcc/libstdc++.6.dylib @executable_path/libstdc++.6.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/liblgpllibs.dylib
install_name_tool -change /opt/local/lib/libgcc/libgcc_s.1.dylib @executable_path/libgcc_s.1.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/libmozglue.dylib
install_name_tool -change /opt/local/lib/libgcc/libstdc++.6.dylib @executable_path/libstdc++.6.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/libmozglue.dylib
install_name_tool -change /opt/local/lib/libgcc/libatomic.1.dylib @executable_path/libatomic.1.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/libmozglue.dylib
install_name_tool -change /opt/local/lib/libgcc/libgcc_s.1.dylib @executable_path/libgcc_s.1.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/libnss3.dylib
install_name_tool -change /opt/local/lib/libgcc/libstdc++.6.dylib @executable_path/libstdc++.6.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/libnss3.dylib
install_name_tool -change /opt/local/lib/libgcc/libgcc_s.1.dylib @executable_path/libgcc_s.1.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/libnssckbi.dylib
install_name_tool -change /opt/local/lib/libgcc/libgcc_s.1.dylib @executable_path/libgcc_s.1.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/libnssdbm3.dylib
install_name_tool -change /opt/local/lib/libgcc/libgcc_s.1.dylib @executable_path/libgcc_s.1.dylib /Applications/ArcticFoxPPC.app/Contents/MacOS/libsoftokn3.dylib
echo "Done, enjoy :)"