Skip to content

Feat fedora support#167

Closed
akirilov wants to merge 5 commits into
nightlyfrom
feat-fedora-support
Closed

Feat fedora support#167
akirilov wants to merge 5 commits into
nightlyfrom
feat-fedora-support

Conversation

@akirilov
Copy link
Copy Markdown
Contributor

Add fedora support. Fixes issue #166

Copilot AI review requested due to automatic review settings May 31, 2026 09:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds Linux distro-family detection to install SteamCMD dependencies on both Debian-based and RHEL-based systems (addressing issue #166), and also introduces a UI/API flow for updating individual Steam Workshop mods from the SLP mod list.

Changes:

  • Add Debian vs RHEL distro detection (via /etc/os-release) and install SteamCMD deps using apt-get or dnf.
  • Add “Update” button per mod in the SLP UI, backed by a new /api/v2/steamcmd/updatemod endpoint.
  • Update dev tooling (devcontainer) and CLI dev command naming/behavior.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
src/steamcmd/steamcmd-helper.go Adds distro-family detection and separate dependency installers for Debian and RHEL.
src/web/slp-launchpad.go Adds an API handler to update a single workshop mod.
src/web/routes.go Registers the new single-mod update route.
UIMod/onboard_bundled/assets/js/slp.js Adds per-mod update action and adjusts button loading state behavior.
UIMod/onboard_bundled/assets/css/config.css Styles the new per-mod update button.
src/cli/devcommands.go Reworks a dev command to accept arguments for workshop downloads.
src/cli/commands.go Registers the renamed workshop download CLI command.
src/config/config.go Bumps app version to 5.13.3.
.devcontainer/Dockerfile Tweaks Node.js install step (removes global npm@latest update).
.devcontainer/devcontainer.json Changes devcontainer extensions and post-create command.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread UIMod/onboard_bundled/assets/js/slp.js
Comment thread UIMod/onboard_bundled/assets/js/slp.js
Comment thread src/web/slp-launchpad.go
Comment thread src/steamcmd/steamcmd-helper.go
Comment thread src/steamcmd/steamcmd-helper.go
Comment thread src/cli/devcommands.go
Comment on lines 28 to +32
_, err := steamcmd.DownloadWorkshopItems(workshopHandles)
if err != nil {
logger.Core.Error("Error downloading workshop items: " + err.Error())
}
return nil
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JacksonTheMaster leaving this up to you

Comment thread .devcontainer/devcontainer.json
Comment thread src/config/config.go
Comment on lines +14 to 15
Version = "5.13.3"
Branch = "release"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JacksonTheMaster leaving versioning stuff up to you, not sure how you do it

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@akirilov akirilov changed the base branch from main to nightly May 31, 2026 10:12
@JacksonTheMaster JacksonTheMaster self-assigned this May 31, 2026
@JacksonTheMaster JacksonTheMaster self-requested a review May 31, 2026 14:36
Copy link
Copy Markdown
Collaborator

@JacksonTheMaster JacksonTheMaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cannot merge like this. Gonna need to check this out then go back in history and re-commit those commits (specifically the one by copilot with the co-authored-by line) to not contain that.

Also I disagree with the changes it proposed (which you applied) to the workshop mod handling.

This reverts commit 4559115.

Revert "Apply suggestions from code review"

This reverts commit da0af40.
@akirilov akirilov closed this May 31, 2026
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.

3 participants