mirror of
https://github.com/aljazceru/omakub.git
synced 2026-02-23 13:14:20 +01:00
Add Geekbench as optional install
This commit is contained in:
12
install/terminal/optional/app-geekbench.sh
Normal file
12
install/terminal/optional/app-geekbench.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
GB_VERSION="6.4.0"
|
||||
|
||||
cd /tmp
|
||||
gum spin --title "Downloading Geekbench $GB_VERSION..." -- \
|
||||
curl -sLo geekbench.tar.gz "https://cdn.geekbench.com/Geekbench-${GB_VERSION}-Linux.tar.gz"
|
||||
gum spin --title "Extracting Geekbench $GB_VERSION..." -- \
|
||||
tar -xzf geekbench.tar.gz
|
||||
sudo mv "Geekbench-${GB_VERSION}-Linux" /usr/local/geekbench6
|
||||
sudo ln -sf /usr/local/geekbench6/geekbench6 /usr/local/bin/geekbench6
|
||||
rm -rf Geekbench* geekbench.tar.gz
|
||||
cd -
|
||||
echo "Run as geekbench6 from the terminal"
|
||||
Reference in New Issue
Block a user