-
Notifications
You must be signed in to change notification settings - Fork 26
Linux Installation and Building
dnf install git golang SDL2{,_gfx,_image,_ttf}-devel dejavu-sans-fontsapt install git golang libsdl2{,-gfx,-image,-ttf}-dev fonts-dejavuPresent file automatically included by go build: https://github.com/akavel/rsrc.
rsrc -arch amd64 -ico "csgoverview.ico"This project uses go modules. Make sure you have go version 1.18 or higher
installed. Run go version to check.
git clone https://github.com/Linus4/csgoverview.git
cd csgoverview
go buildYou can move or symlink the executable into a directory in your $PATH to make
the program available everywhere on your system.
Example:
sudo ln -s <path to cloned repository>/csgoverview /usr/bin/csgoverviewIn order to add csgoverview to your applications menu, create a .desktop
file (use the path to the executable on your computer in Exec):
echo "[Desktop Entry]
Name=CSGOverview
Exec=/usr/local/bin/csgoverview %F
Type=Application
Terminal=false
Categories=Games;" > $HOME/.local/share/applications/csgoverview.desktopDownload overview images from imgur, create a directory with mkdir -p $HOME/.local/share/csgoverview/assets/maps and copy the overviews that you need to
$HOME/.local/share/csgoverview/assets/maps.
You can use other overviews as long as they are .jpg files and they match the
naming pattern (e.g. de_nuke.jpg). Ideally, their size should be 1024x1024
pixels or larger.
More overviews are available here:
On Linux, you can convert images with convert image.png image.jpg if you
have ImageMagick installed.