Skip to content

feat(apps): discord forks - #1361

Merged
ChrisTitusTech merged 2 commits into
ChrisTitusTech:mainfrom
FluffyPunk:forks-update
Aug 4, 2026
Merged

feat(apps): discord forks#1361
ChrisTitusTech merged 2 commits into
ChrisTitusTech:mainfrom
FluffyPunk:forks-update

Conversation

@FluffyPunk

@FluffyPunk FluffyPunk commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Type of Change

  • New feature
  • Bug fix
  • Documentation update
  • Refactoring
  • Security patch
  • UI/UX improvement

Description

So, I asked in Discord, got a green light and done it. When Discord is selected, it shows choice of 3 - vanilla, Vesktop and Equibop. Selection mechanic was stolen from auto-cpufreq file, all the installation script were written by Sonnet, cause I'm lazy to search. Also I named Equibop wrong, since Equicord is a core of Equibop, whoops, won't change it, too lazy xd

Arch works fine, maybe needed to test RPM and DEB packages, just to be sure, but looks fine.

Screenshots (if applicable)

image

@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a173625b-a8ea-4b92-a30d-92b91b207858

📥 Commits

Reviewing files that changed from the base of the PR and between 46a7e93 and 49b38fe.

📒 Files selected for processing (1)
  • core/tabs/applications-setup/communication-apps/discord-setup.sh
🚧 Files skipped from review as they are similar to previous changes (1)
  • core/tabs/applications-setup/communication-apps/discord-setup.sh

📝 Walkthrough

Summary by CodeRabbit

  • New Features

    • Added interactive installation choices for Vanilla Discord, Vesktop, and Equibop.
    • Added support for Debian, Arch, RPM-based, and Flatpak installation methods.
    • Added architecture-specific package downloads and package availability validation.
  • Bug Fixes

    • Invalid application selections now exit with an error instead of proceeding unexpectedly.
    • Improved installation handling across supported distributions and architectures.

Walkthrough

Changes

Discord client installers

Layer / File(s) Summary
Vesktop and Equibop installers
core/tabs/applications-setup/communication-apps/discord-setup.sh
Adds Vesktop and Equibop installation functions with Debian, Arch, RPM, and Flatpak handling. Architecture-specific assets are selected, package availability is validated, and temporary Debian files are removed on exit.
Interactive client selection
core/tabs/applications-setup/communication-apps/discord-setup.sh
Adds a dispatcher for Vanilla Discord, Vesktop, and Equibop. Invalid selections exit with an error, and the setup script now invokes the dispatcher.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Suggested reviewers: christitustech

Sequence Diagram(s)

sequenceDiagram
  participant User
  participant main
  participant Installer
  participant PackageManager
  User->>main: select Discord client
  main->>Installer: invoke selected installer
  Installer->>PackageManager: install package for detected system
  PackageManager-->>Installer: return installation result
  Installer-->>main: complete installation
Loading
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the addition of Discord fork installation options.
Description check ✅ Passed The description explains the new Discord, Vesktop, and Equibop installation choices and testing status.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Nitpick comments (1)
core/tabs/applications-setup/communication-apps/discord-setup.sh (1)

48-48: 🩺 Stability & Availability | 🔵 Trivial | ⚡ Quick win

Add timeouts to the new curl calls. None of the curl invocations added for Vesktop and Equibop installation set a timeout. A stalled connection to vencord.dev or api.github.com blocks the interactive installer indefinitely with no feedback to the user.

  • core/tabs/applications-setup/communication-apps/discord-setup.sh#L48-L48: add --connect-timeout/--max-time to curl -fLo vesktop.deb "$VESKTOP_DEB_URL".
  • core/tabs/applications-setup/communication-apps/discord-setup.sh#L78-L78: add the same timeout flags to the GitHub API lookup in the apt-get branch of installEquibop.
  • core/tabs/applications-setup/communication-apps/discord-setup.sh#L89-L89: add the same timeout flags to curl -fLo equibop.deb "$EQUIBOP_DEB_URL".
  • core/tabs/applications-setup/communication-apps/discord-setup.sh#L98-L98: add the same timeout flags to the GitHub API lookup in the dnf branch of installEquibop.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@core/tabs/applications-setup/communication-apps/discord-setup.sh` at line 48,
Update the Vesktop and Equibop download/API curl invocations in
core/tabs/applications-setup/communication-apps/discord-setup.sh at lines 48,
78, 89, and 98 to include both connection and overall execution timeouts,
covering the calls in the Vesktop flow and installEquibop apt-get and dnf
branches.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@core/tabs/applications-setup/communication-apps/discord-setup.sh`:
- Around line 42-45: Update the architecture-selection case blocks in the
apt-get|nala and dnf branches to handle unsupported $ARCH values by leaving the
URL unset, then validate VESKTOP_DEB_URL or VESKTOP_RPM_URL before invoking curl
or the package installer. Follow the existing installEquibop validation pattern
to print a clear unsupported-architecture error and exit instead of attempting
installation with an empty URL.
- Line 124: Update the Equicord menu label in the setup script’s printf
statement to use a single space between “Equicord” and “(Vesktop with more
plugins)”, preserving the rest of the text unchanged.

---

Nitpick comments:
In `@core/tabs/applications-setup/communication-apps/discord-setup.sh`:
- Line 48: Update the Vesktop and Equibop download/API curl invocations in
core/tabs/applications-setup/communication-apps/discord-setup.sh at lines 48,
78, 89, and 98 to include both connection and overall execution timeouts,
covering the calls in the Vesktop flow and installEquibop apt-get and dnf
branches.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 70c972c3-4550-4aaa-9e99-921f9e53a12b

📥 Commits

Reviewing files that changed from the base of the PR and between 104b2ad and 46a7e93.

📒 Files selected for processing (1)
  • core/tabs/applications-setup/communication-apps/discord-setup.sh

Comment thread core/tabs/applications-setup/communication-apps/discord-setup.sh
Comment thread core/tabs/applications-setup/communication-apps/discord-setup.sh Outdated
@ChrisTitusTech
ChrisTitusTech merged commit dd6d94b into ChrisTitusTech:main Aug 4, 2026
8 checks passed
@FluffyPunk
FluffyPunk deleted the forks-update branch August 4, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants