2024-06-21 14:31:45 +01:00
|
|
|
#!/bin/bash
|
|
|
|
echo "[+] Cleaning..."
|
|
|
|
make clean;
|
|
|
|
echo "[+] Building..."
|
|
|
|
make -j$(nproc --all) all5;
|
|
|
|
if [ $? -eq 0 ]; then
|
|
|
|
echo "[+] Install Started!"
|
|
|
|
sudo cp bin/7z.so /usr/local/bin/ -f;
|
|
|
|
sudo cp bin/7zCon.sfx /usr/local/bin/ -f;
|
|
|
|
sudo cp bin/7zG /usr/local/bin/ -f;
|
|
|
|
sudo cp bin/Client7z /usr/local/bin/ -f;
|
|
|
|
sudo cp bin/LzmaCon /usr/local/bin/ -f;
|
|
|
|
sudo cp bin/7zFM_do_not_use /usr/local/bin/7zFM -f;
|
|
|
|
sudo mkdir -p /usr/local/bin/Codecs;
|
|
|
|
sudo cp bin/Codecs/* /usr/local/bin/Codecs -f;
|
2024-06-21 14:54:14 +01:00
|
|
|
sudo xdg-desktop-menu install --novendor --mode system p7zfm.desktop;
|
2024-06-21 14:31:45 +01:00
|
|
|
echo "[+] Install Completed!"
|
|
|
|
else
|
|
|
|
echo "[-] Build Failed!"
|
|
|
|
fi;
|