From e89ac9688521be636dad0aeffdc588456845c5f5 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Tue, 29 Oct 2024 13:45:22 +0100 Subject: [PATCH] v1.1.0 --- .github/FUNDING.yml | 2 +- .github/workflows/release.yml | 3 ++- README.md | 16 ++++++++-------- backend/config/version | 2 +- frontend/package.json | 2 +- frontend/src/layouts/modals/Inbound.vue | 1 + 6 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index ee923482..f23af55a 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1 +1 @@ -github: alireza0 +buy_me_a_coffee: alireza7 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 82c25dd5..fa8eecf4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,8 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version-file: go.mod + cache: false + go-version-file: backend/go.mod - name: Setup Node.js uses: actions/setup-node@v4 diff --git a/README.md b/README.md index 3b14581d..18815a00 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ | Dark/Light Theme | :heavy_check_mark: | -## Default Installation Informarion +## Default Installation Information - Panel Port: 2095 - Panel Path: /app/ - Subscription Port: 2096 @@ -40,12 +40,12 @@ bash <(curl -Ls https://raw.githubusercontent.com/alireza0/s-ui/master/install.sh) ``` -## Install Custom Version +## Install legacy Version -**Step 1:** To install your desired version, add the version to the end of the installation command. e.g., ver `0.0.1`: +**Step 1:** To install your desired legacy version, add the version to the end of the installation command. e.g., ver `1.0.0`: ```sh -bash <(curl -Ls https://raw.githubusercontent.com/alireza0/s-ui/master/install.sh) 0.0.1 +bash <(curl -Ls https://raw.githubusercontent.com/alireza0/s-ui/master/install.sh) 1.0.0 ``` ## Uninstall S-UI @@ -80,7 +80,7 @@ curl -fsSL https://get.docker.com | sh ```shell mkdir s-ui && cd s-ui -wget -q https://raw.githubusercontent.com/alireza0/s-ui/refs/tags/1.0.0/docker-compose.yml +wget -q https://raw.githubusercontent.com/alireza0/s-ui/master/docker-compose.yml docker compose up -d ``` @@ -104,7 +104,7 @@ docker build -t s-ui . -## Manual run + contribution +## Manual run ( contribution )
Click for details @@ -125,7 +125,7 @@ npm run dev ``` > By this command it will run a `vite` web server on separate port `3000`, with backend proxy to `http://localhost:2095`. You can change it in `frontend/vite.config.mts`. -To build fronend: +To build frontend: ```shell cd frontend npm run build @@ -133,7 +133,7 @@ npm run build ### - Backend Backend codes are in `backend` folder in the root of repository. -> Please build fronend once before! +> Please build frontend once before! To build backend: ```shell diff --git a/backend/config/version b/backend/config/version index afaf360d..1cc5f657 100644 --- a/backend/config/version +++ b/backend/config/version @@ -1 +1 @@ -1.0.0 \ No newline at end of file +1.1.0 \ No newline at end of file diff --git a/frontend/package.json b/frontend/package.json index 3a01517a..42bd476b 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "frontend", - "version": "1.0.0", + "version": "1.1.0", "private": true, "scripts": { "dev": "vite --host", diff --git a/frontend/src/layouts/modals/Inbound.vue b/frontend/src/layouts/modals/Inbound.vue index 27df3146..cb97c304 100644 --- a/frontend/src/layouts/modals/Inbound.vue +++ b/frontend/src/layouts/modals/Inbound.vue @@ -174,6 +174,7 @@ export default { this.inbound = createInbound(this.inbound.type, this.inbound.type != this.inTypes.Tun ? prevConfig : { tag: tag }) if (this.HasInData.includes(this.inbound.type)){ if (this.inData.id == -1) this.inData.id = 0 + this.inData.addrs = [] this.inData.outJson = {} this.inData.tag = tag } else {