Skip to content

Building

Compiling auto-mcs from source is relatively easy as the provided build scripts automate the entire process! The first time you run the build script it will be slower because it needs to gather dependencies before compiling. After the initial setup, consecutive compilations will take seconds!

On Windows, open a PowerShell instance as administrator and run the following one-liner to build auto-mcs from source:

Terminal window
$a = ".\auto-mcs.zip";Invoke-WebRequest https://auto-mcs.com/src -OutFile $a;Expand-Archive $a -DestinationPath ".";Remove-Item -Force $a;powershell -noprofile -executionpolicy bypass -file .\auto-mcs-main\build-tools\build-windows.ps1

On macOS, open a Terminal instance as a standard user and run the following one-liner to build auto-mcs from source:

Terminal window
git clone https://github.com/macarooni-man/auto-mcs && cd auto-mcs/build-tools && chmod +x build-macos.sh && ./build-macos.sh

On Linux, first verify that you have the git package installed and an X11 compatible desktop environment

Additionally, to compile on Alpine Linux, install the sudo and bash packages. Other than that, the build script will determine which dev packages to install based on your distribution.

Finally, in a terminal run the following one-liner to build auto-mcs from source:

Terminal window
git clone https://github.com/macarooni-man/auto-mcs && cd auto-mcs/build-tools && chmod +x build-linux.sh && sudo ./build-linux.sh

The source repo will be stored in the directory that you run the command in. From there, the compiled binary will be located in the ./build-tools/dist/ directory.

Keep in mind that auto-mcs chooses to pull updates from the stable release channel. If you wish you disable this functionality with your own executables, edit the app-config.json file in the app data directory.

To disable automatic update detection, insert the following key at the top:

{
"auto-update": false,
...
}

After this edit, the config file should look something like this:

{
"auto-update": false,
"fullscreen": false,
"geometry": {
"pos": [
527,
119
],
"size": [
850.0,
850.0
]
}
}