Compare commits

..

No commits in common. "ca901985f7ca8e6bf0ac02391b60d27e80a356e3" and "c4839fb178a92a39219608e6ded848e051504e67" have entirely different histories.

5 changed files with 12 additions and 18 deletions

View file

@ -1,17 +1,13 @@
name: Build and Release 3X-UI name: Release 3X-UI
on: on:
workflow_dispatch: workflow_dispatch:
release:
types: [published]
push: push:
pull_request: tags:
types: [opened, synchronize, reopened] - "v*.*.*"
jobs: jobs:
build: build:
permissions:
contents: write
strategy: strategy:
matrix: matrix:
platform: platform:
@ -31,7 +27,6 @@ jobs:
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version-file: go.mod go-version-file: go.mod
check-latest: true
- name: Install dependencies - name: Install dependencies
run: | run: |
@ -50,7 +45,7 @@ jobs:
sudo apt install gcc-s390x-linux-gnu sudo apt install gcc-s390x-linux-gnu
fi fi
- name: Build 3x-ui - name: Build x-ui
run: | run: |
export CGO_ENABLED=1 export CGO_ENABLED=1
export GOOS=linux export GOOS=linux
@ -139,7 +134,6 @@ jobs:
- name: Upload files to GH release - name: Upload files to GH release
uses: svenstaro/upload-release-action@v2 uses: svenstaro/upload-release-action@v2
if: github.event_name == 'release' && github.event.action == 'published'
with: with:
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }} tag: ${{ github.ref }}

View file

@ -40,7 +40,7 @@ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.
Para instalar la versión deseada, utiliza el siguiente comando de instalación. Por ejemplo, ver `v1.7.9`: Para instalar la versión deseada, utiliza el siguiente comando de instalación. Por ejemplo, ver `v1.7.9`:
``` ```
VERSION=v1.7.9 && bash <(curl -Ls "https://raw.githubusercontent.com/mhsanaei/3x-ui/$VERSION/install.sh") $VERSION VERSION=v1.7.9 && <(curl -Ls "https://raw.githubusercontent.com/mhsanaei/3x-ui/$VERSION/install.sh") $VERSION
``` ```
## Certificado SSL ## Certificado SSL

View file

@ -40,7 +40,7 @@ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.
Чтобы установить желаемую версию, используйте следующую команду установки. Например, ver `v1.7.9`: Чтобы установить желаемую версию, используйте следующую команду установки. Например, ver `v1.7.9`:
``` ```
VERSION=v1.7.9 && bash <(curl -Ls "https://raw.githubusercontent.com/mhsanaei/3x-ui/$VERSION/install.sh") $VERSION VERSION=v1.7.9 && <(curl -Ls "https://raw.githubusercontent.com/mhsanaei/3x-ui/$VERSION/install.sh") $VERSION
``` ```
## SSL Сертификат ## SSL Сертификат

View file

@ -40,7 +40,7 @@ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.
要安装您想要的版本请使用以下安装命令。例如ver `v1.7.9`: 要安装您想要的版本请使用以下安装命令。例如ver `v1.7.9`:
``` ```
VERSION=v1.7.9 && bash <(curl -Ls "https://raw.githubusercontent.com/mhsanaei/3x-ui/$VERSION/install.sh") $VERSION VERSION=v1.7.9 && <(curl -Ls "https://raw.githubusercontent.com/mhsanaei/3x-ui/$VERSION/install.sh") $VERSION
``` ```
### SSL证书 ### SSL证书

View file

@ -24,7 +24,7 @@
</template> </template>
<template v-for="(row, index) in qrModal.qrcodes"> <template v-for="(row, index) in qrModal.qrcodes">
<tr-qr-box class="qr-box"> <tr-qr-box class="qr-box">
<div :style="{ display: 'flex', alignItems: 'center', marginBottom: '8px' }"> <div style="display: flex; align-items: center; margin-bottom: 8px;">
<span>{{ i18n "useIPv4ForHost" }}: </span> <span>{{ i18n "useIPv4ForHost" }}: </span>
<button <button
type="button" type="button"
@ -32,7 +32,7 @@
:aria-checked="row.useIPv4" :aria-checked="row.useIPv4"
:class="['ant-switch', 'ant-switch-small', { 'ant-switch-checked': row.useIPv4 }]" :class="['ant-switch', 'ant-switch-small', { 'ant-switch-checked': row.useIPv4 }]"
@click="toggleIPv4(index)" @click="toggleIPv4(index)"
:style="{ marginLeft: '8px' }"> style="margin-left: 8px;">
<span class="ant-switch-inner"></span> <span class="ant-switch-inner"></span>
</button> </button>
</div> </div>