Skip to content

Create linux automated installer - #260

Open
DesMS wants to merge 14 commits into
BeamMP:masterfrom
DesMS:master
Open

Create linux automated installer#260
DesMS wants to merge 14 commits into
BeamMP:masterfrom
DesMS:master

Conversation

@DesMS

@DesMS DesMS commented Jul 17, 2026

Copy link
Copy Markdown

Hello, and, this is something that I believe that BeamMP has needed for a bit. This creates an automated installer that installs all of BeamMP's files to the local user on Linux! It does not use administrator permissions and checks for gcc libraries on pacman, apt, and dnf based distributions

To run: compile BeamMP for linux, then, run compile_installer.sh

This creates a standalone installer that includes the BeamMP binary, .desktop file, and ico file. It is extracted inside of the script with no need for external tools besides tail

It also supports whiptail and non-whiptail instances (Plain text)


By creating this pull request, I understand that code that is AI generated or otherwise automatically generated may be rejected without further discussion.
I declare that I fully understand all code I pushed into this PR, and wrote all this code myself and own the rights to this code.

DesMS added 2 commits July 17, 2026 09:46
Create the linux installer, this creates an installer that is similar to the Windows installer. It is terminal only
This was solely for debugging
@DesMS

DesMS commented Jul 17, 2026

Copy link
Copy Markdown
Author
showcase.mp4

Small showcase video for whiptail supported distros (Most major distros, such as Debian, Arch, Fedora, etc. include whiptail)

This also includes multi language support

@DesMS

DesMS commented Jul 17, 2026

Copy link
Copy Markdown
Author

It appears this does not work on Fedora. Please hold

Currently its confirmed that it works on Arch linux and Debian 13

DesMS added 4 commits July 17, 2026 18:37
Fedora tail does not work properly, so I used pipe which is universal
Update for automatic library checking and whitespace cleanup
Reduce file size, and improve compatibility by checking libraries instead of packages
@DesMS

DesMS commented Jul 18, 2026

Copy link
Copy Markdown
Author

Fixed Fedora support, apparently he had a weird filesystem that didnt support even symbolic linking (Btrfs doesn't like symbolic links alot of the time)

Removed all checks with package managers and instead moved it to ldconfig directly, so compatibility checks shouldn't be dependent on OS anymore as well as adding automatic library checks (According to however you built it)

DesMS added 7 commits July 18, 2026 17:48
Remove export, best practices
Should be finalized
This allows for clarity and matches the current Windows BeamMP installer (BeamMP_Installer.exe)
Auto generation support
@DesMS

DesMS commented Jul 20, 2026

Copy link
Copy Markdown
Author

I think I've addressed all of my concerns so far

Extends compatibility by adding #!/usr/bin/env bash intead of #!/bin/bash to the file

Also, dont copy BeamMP-Launcher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant