Documentation ¶
Overview ¶
Package dir locates the Warcraft III installation and user directories.
Index ¶
Constants ¶
View Source
const ( EnvUser = "WC3_USER_DIR" EnvInstall = "WC3_INSTALL_DIR" )
Environment variables
View Source
const Local = "./war3"
Local directory that overrides any global directory
Variables ¶
This section is empty.
Functions ¶
func InstallDir ¶
func InstallDir() string
InstallDir checks common Warcraft III installation directories and returns the first one that exists
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.