[PR #3600] [MERGED] Set variables for packaging purposes #5474

Closed
opened 2026-10-31 20:47:13 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/3600
Author: @nebulosa2007
Created: 12/5/2025
Status: ✅ Merged
Merged: 1/3/2026
Merged by: @MHSanaei

Base: main ← Head: usrlocal


📝 Commits (5)

📊 Changes

3 files changed (+96 additions, -88 deletions)

View changed files

📝 install.sh (+25 -22)
📝 update.sh (+39 -36)
📝 x-ui.sh (+32 -30)

📄 Description

What is the pull request?

Added variables for packaging purposes:

  1. If XUI_MAIN_FOLDER variable is not set: xui_folder = /usr/local/x-ui. For example, for Arch Linux it will be set to /usr/lib/x-ui
  2. If XUI_SERVICE variable is not set: xui_service = /etc/systemd/system. For example, for Arch Linux it will be set to /usr/lib/systemd/system

Which part of the application is affected by the change?

  • Frontend
  • Backend

Type of Changes

  • Bug fix
  • New feature
  • Refactoring
  • Other

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/3600 **Author:** [@nebulosa2007](https://github.com/nebulosa2007) **Created:** 12/5/2025 **Status:** ✅ Merged **Merged:** 1/3/2026 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `usrlocal` --- ### 📝 Commits (5) - [`e3c247a`](https://github.com/MHSanaei/3x-ui/commit/e3c247aa60bebdee5e7028c22ecc16ef284d5d6e) Set Variables for settings - [`0cc2153`](https://github.com/MHSanaei/3x-ui/commit/0cc21538d68043ac26532bfe5be4fcf9200b70d4) Merge branch 'main' into usrlocal - [`9af1c2a`](https://github.com/MHSanaei/3x-ui/commit/9af1c2a078f594713825507f5281361a23c4b8be) fix - [`6c192b3`](https://github.com/MHSanaei/3x-ui/commit/6c192b35f4bd313da6e7b0f620420d612db3ae2e) Merge branch 'main' into usrlocal - [`094d8fb`](https://github.com/MHSanaei/3x-ui/commit/094d8fb0a03f62e2c6754f2f0035db29e0e70b3c) fix ### 📊 Changes **3 files changed** (+96 additions, -88 deletions) <details> <summary>View changed files</summary> 📝 `install.sh` (+25 -22) 📝 `update.sh` (+39 -36) 📝 `x-ui.sh` (+32 -30) </details> ### 📄 Description ## What is the pull request? Added variables for packaging purposes: 1. If XUI_MAIN_FOLDER variable is not set: xui_folder = /usr/local/x-ui. For example, for Arch Linux it will be set to /usr/lib/x-ui 2. If XUI_SERVICE variable is not set: xui_service = /etc/systemd/system. For example, for Arch Linux it will be set to /usr/lib/systemd/system ## Which part of the application is affected by the change? - [ ] Frontend - [X] Backend ## Type of Changes - [ ] Bug fix - [ ] New feature - [X] Refactoring - [ ] Other --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:47:13 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5474
No description provided.