Skip to content

Mac Installation and Building

Linus Weber edited this page Mar 17, 2023 · 7 revisions

Mac Installation

Dependencies

Install dependencies using Homebrew:

brew install git golang zenity sdl2{,_gfx,_image,_ttf}
brew tap homebrew/cask-fonts
brew cask install font-dejavu

Regenerate rsrc.syso for icon (optional)

Present file automatically included by go build: https://github.com/akavel/rsrc.

rsrc -arch amd64 -ico "csgoverview.ico"

Build

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 build

Executable

You 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/local/bin/csgoverview

Get overviews

Download 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: