This guide provides instructions on how to compile BrowserAutomationMaster Manager (BAMM) from its source code for various operating systems.
- To return to the previous page, click here
Before you begin, ensure you have the following installed on your system:
In most cases you will need the .NET 10.x SDK only use the .NET 8.X SDK for legacy builds!
-
.NET 8/10 SDK:
-
Git (Optional but Recommended): For cloning the repo, you can also use the source code provided with each release.
-
Download and Extract the Source Code:
- Go to the latest release page:
https://github.com/Static-Codes/BrowserAutomationMaster/releases/latest/ - Download the
source.zipfile. - Extract/Unzip the source.
- Go to the latest release page:
-
Navigate to the Source Directory:
cd BrowserAutomationMaster -
Restore .NET Dependencies: This step is usually handled automatically by the build/publish commands, but it's good practice to run it manually if you encounter issues:
dotnet restore
Choose the instructions relevant to your target operating system. All commands should be run from within the BrowserAutomationMaster source directory.
This will create a .deb package for easy installation.
-
Install
dotnet-debtool (if not already installed):dotnet tool install --global dotnet-deb # Ensure the .dotnet/tools directory is in your PATH # export PATH="$PATH:$HOME/.dotnet/tools" (add to your .bashrc or .zshrc for permanency)
-
Compile and Package:
-
For x64 CPUs
python3 src/Publisher.py
The resulting
.debpackage will typically be found in the project's root directory or a sub-directory likebin/Release/. Check the command output for the exact location. -
For ARM64 CPUs
dotnet deb --runtime linux-arm64 --configuration Release
The resulting
.debpackage will typically be found in the project's root directory or a sub-directory likebin/Release/. Check the command output for the exact location. -
For ARM32 CPUs
dotnet deb --runtime linux-arm --configuration Release
The resulting
.debpackage will typically be found in the project's root directory or a sub-directory likebin/Release/. Check the command output for the exact location.
-
This will create a .rpm package for easy installation.
-
Install
dotnet-rpmtool (if not already installed):dotnet tool install --global dotnet-rpm # Ensure the .dotnet/tools directory is in your PATH # export PATH="$PATH:$HOME/.dotnet/tools" (adds the dotnet tools directory to your system path)
-
Compile and Package:
-
For x64 CPUs
python3 src/Publisher.py
The resulting
.rpmpackage will typically be found in the project's root directory or a sub-directory likebin/Release/. Check the command output for the exact location. -
For ARM64 CPUs
dotnet deb --runtime linux-arm64 --configuration Release
The resulting
.rpmpackage will typically be found in the project's root directory or a sub-directory likebin/Release/. Check the command output for the exact location. -
For ARM32 CPUs
dotnet rpm --runtime linux-arm --configuration Release
The resulting
.rpmpackage will typically be found in the project's root directory or a sub-directory likebin/Release/. Check the command output for the exact location.
-
If you don't want a .deb package or are on a non-Debian-based Linux distribution, you can create a self-contained application.
- Publish for Linux x64:
The compiled application will be in
dotnet publish -c Release -r linux-x64 --self-contained truebin/Release/netX.Y/linux-x64/publish/(whereX.Yis the .NET version, e.g.,net8.0).
This will create a self-contained application for macOS 11.0+ (Both Intel and Apple Silicon via Rosetta 2).
-
Publish for Intel Macs running macOS:
dotnet publish -c Release -r osx-x64 --self-contained trueThe compiled application will be in
bin/Release/netX.Y/osx-x64/publish/. -
Publish for M-Series Macs running macOS: This is for Apple Silicon users ONLY:
dotnet publish -c Release -r osx-arm64 --self-contained trueThe compiled application will be in
bin/Release/netX.Y/osx-arm64/publish/.
This will create self-contained applications for different Windows architectures.
-
Publish for Windows x64 (64-bit):
dotnet publish -c Release -r win-x64 --self-contained trueThe compiled application will be in
bin\Release\netX.Y\win-x64\publish\. -
Publish for Windows ARM64:
dotnet publish -c Release -r win-arm64 --self-contained trueThe compiled application will be in
bin\Release\netX.Y\win-arm64\publish\. -
Download Inno Setup v6.7 Ensure "Associate Inno Setup with the .iss file extension" is checked during setup.
-
Create an installer Navigate to
BrowserAutomationMaster\src\Installer Files\WindowsRight click on the .iss file corresponding to your published build (ARM64, x64) Click compileThe installer will be in
BrowserAutomationMaster\src\Published Builds\{Your architecture}\
- .NET SDK Not Found: Ensure the .NET SDK is installed correctly and that the
dotnetcommand is available in your system's PATH. - Incorrect Runtime Identifier: Ensure you're using a valid runtime identifier (RID) for your target platform. You can find a list of RIDs here.