mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-11 06:12:40 -06:00
32 lines
562 B
Bash
32 lines
562 B
Bash
#!/bin/sh
|
|
|
|
if [ ! -d "out/trayicon/GCC32-Gcc32-Gui-Linux-Main-Shared/" ]
|
|
then
|
|
#./configure --prefix=/usr
|
|
make
|
|
fi
|
|
|
|
if [ -d "out/trayicon/GCC32-Gcc32-Gui-Linux-Main-Shared/" ]
|
|
then
|
|
if [ ! -h "bin" ]
|
|
then
|
|
ln -s out/trayicon/GCC32-Gcc32-Gui-Linux-Main-Shared bin
|
|
fi
|
|
if [ -f "out/bin/trayicon" ]
|
|
then
|
|
cp bin/trayicon . -f
|
|
|
|
fi
|
|
|
|
if [ -f "bin/trayicon" ]
|
|
then
|
|
if [ ! -f "bin/some_image.png" ]
|
|
then
|
|
cp some_image.png bin/
|
|
fi
|
|
cd bin
|
|
./trayicon
|
|
fi
|
|
else
|
|
echo "Something went wrong ! Sorry ! \n Can't run traytest"
|
|
fi
|