Skip to content

Commit

Permalink
v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alireza0 committed Oct 29, 2024
1 parent fe5b6cf commit e89ac96
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github: alireza0
buy_me_a_coffee: alireza7
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
```

Expand All @@ -104,7 +104,7 @@ docker build -t s-ui .

</details>

## Manual run + contribution
## Manual run ( contribution )

<details>
<summary>Click for details</summary>
Expand All @@ -125,15 +125,15 @@ 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
```

### - 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
Expand Down
2 changes: 1 addition & 1 deletion backend/config/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.1.0
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "1.0.0",
"version": "1.1.0",
"private": true,
"scripts": {
"dev": "vite --host",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/layouts/modals/Inbound.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e89ac96

Please sign in to comment.