mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-22 20:32:15 +08:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3691c4bb51 | ||
|
|
09ea1b52e2 |
@@ -62,6 +62,7 @@
|
||||
|
||||
- 新增连接页面按网络协议(TCP/UDP)筛选连接
|
||||
- 新增规则模式下在规则流量未经过的代理组选节点时,自动将首个包含该组的 `select` 代理组切换到该组,可在「杂项设置」关闭
|
||||
- 新增「杂项设置」中的「更新通道」,可选择直连 GitHub 或经代理从 GitHub 下载更新
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
+2
-2
@@ -75,7 +75,7 @@
|
||||
"react-dom": "19.3.1",
|
||||
"react-error-boundary": "6.1.6",
|
||||
"react-hook-form": "^7.88.0",
|
||||
"react-i18next": "18.0.3",
|
||||
"react-i18next": "18.0.1",
|
||||
"react-markdown": "10.1.0",
|
||||
"react-router": "^8.4.0",
|
||||
"rehype-raw": "^7.0.0",
|
||||
@@ -116,7 +116,7 @@
|
||||
"https-proxy-agent": "^9.1.0",
|
||||
"husky": "^9.1.7",
|
||||
"jiti": "^2.7.0",
|
||||
"knip": "6.47.0",
|
||||
"knip": "6.45.1",
|
||||
"lint-staged": "^17.5.1",
|
||||
"sass": "^1.104.1",
|
||||
"tar": "^7.5.22",
|
||||
|
||||
Generated
+10
-10
@@ -284,8 +284,8 @@ importers:
|
||||
specifier: ^7.88.0
|
||||
version: 7.88.0(react@19.3.1)
|
||||
react-i18next:
|
||||
specifier: 18.0.3
|
||||
version: 18.0.3(@types/react@19.3.0)(i18next@27.0.1(typescript@6.0.3))(react@19.3.1)(typescript@6.0.3)
|
||||
specifier: 18.0.1
|
||||
version: 18.0.1(@types/react@19.3.0)(i18next@27.0.1(typescript@6.0.3))(react@19.3.1)(typescript@6.0.3)
|
||||
react-markdown:
|
||||
specifier: 10.1.0
|
||||
version: 10.1.0(@types/react@19.3.0)(react@19.3.1)(supports-color@7.2.0)
|
||||
@@ -402,8 +402,8 @@ importers:
|
||||
specifier: ^2.7.0
|
||||
version: 2.7.0
|
||||
knip:
|
||||
specifier: 6.47.0
|
||||
version: 6.47.0
|
||||
specifier: 6.45.1
|
||||
version: 6.45.1
|
||||
lint-staged:
|
||||
specifier: ^17.5.1
|
||||
version: 17.5.1
|
||||
@@ -3345,8 +3345,8 @@ packages:
|
||||
keyv@5.6.0:
|
||||
resolution: {integrity: sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==}
|
||||
|
||||
knip@6.47.0:
|
||||
resolution: {integrity: sha512-nYmQnk0YqDXIJrYViJz88c8xw3tBDkpuAmofo58EkVPnKr6DnRKYtf6oIqcGVHZvXDE+gtmFuYx277/QsWng+A==}
|
||||
knip@6.45.1:
|
||||
resolution: {integrity: sha512-zp3zXKy2cZWiIttdlWU5fisKxVQaLSU6471ej0KGz1GdHdaHxpzTAO/LIyFNc3gU3v1W7LJaqvYumoO3l/u+6A==}
|
||||
engines: {node: ^20.19.0 || >=22.12.0}
|
||||
hasBin: true
|
||||
|
||||
@@ -3792,8 +3792,8 @@ packages:
|
||||
peerDependencies:
|
||||
react: ^16.8.0 || ^17 || ^18 || ^19
|
||||
|
||||
react-i18next@18.0.3:
|
||||
resolution: {integrity: sha512-S84rtVuaKuiRtoCOspbGEaDlFjka+KvK/A5YCOr4LQ41XF3iJOrJ5rqQTD/jJHFVUf6X1i4ZMN5PGGgpz8NN6g==}
|
||||
react-i18next@18.0.1:
|
||||
resolution: {integrity: sha512-kPWXI0E/lrPj3+/umcKNzYZVnWmEedLiamMzDIHfbs+5ANf6yzvlZsjKou8f7kaGkfMMDLIZBejV+4aSN1CyBw==}
|
||||
engines: {node: '>=22'}
|
||||
peerDependencies:
|
||||
'@types/react': '*'
|
||||
@@ -7297,7 +7297,7 @@ snapshots:
|
||||
dependencies:
|
||||
'@keyv/serialize': 1.1.1
|
||||
|
||||
knip@6.47.0:
|
||||
knip@6.45.1:
|
||||
dependencies:
|
||||
formatly: 0.11.4
|
||||
get-tsconfig: 4.14.3
|
||||
@@ -7883,7 +7883,7 @@ snapshots:
|
||||
dependencies:
|
||||
react: 19.3.1
|
||||
|
||||
react-i18next@18.0.3(@types/react@19.3.0)(i18next@27.0.1(typescript@6.0.3))(react@19.3.1)(typescript@6.0.3):
|
||||
react-i18next@18.0.1(@types/react@19.3.0)(i18next@27.0.1(typescript@6.0.3))(react@19.3.1)(typescript@6.0.3):
|
||||
dependencies:
|
||||
html-parse-stringify: 4.0.1
|
||||
i18next: 27.0.1(typescript@6.0.3)
|
||||
|
||||
@@ -112,6 +112,10 @@ pub struct IVerge {
|
||||
pub auto_switch_selector_group: Option<bool>,
|
||||
|
||||
pub auto_check_update: Option<bool>,
|
||||
|
||||
/// `auto`, `github` or `github_proxy`
|
||||
pub update_channel: Option<String>,
|
||||
|
||||
pub default_latency_test: Option<String>,
|
||||
|
||||
pub default_latency_timeout: Option<i16>,
|
||||
@@ -461,6 +465,7 @@ impl IVerge {
|
||||
patch_opt_field!(self, patch, auto_close_connection);
|
||||
patch_opt_field!(self, patch, auto_switch_selector_group);
|
||||
patch_opt_field!(self, patch, auto_check_update);
|
||||
patch_opt_field!(self, patch, update_channel);
|
||||
patch_opt_field!(self, patch, default_latency_test);
|
||||
patch_opt_field!(self, patch, default_latency_timeout);
|
||||
patch_opt_field!(self, patch, enable_auto_delay_detection);
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
use crate::{config::Config, singleton, utils::dirs};
|
||||
use crate::{
|
||||
config::{Config, MixedPort},
|
||||
singleton,
|
||||
utils::dirs,
|
||||
};
|
||||
use anyhow::{Context as _, Result};
|
||||
use chrono::Utc;
|
||||
use clash_verge_logging::{Type, logging};
|
||||
@@ -197,16 +201,40 @@ pub enum DownloadEvent {
|
||||
}
|
||||
|
||||
const MIRRORS: [&str; 2] = ["https://update.hwdns.net/", "https://gh-proxy.org/"];
|
||||
const GITHUB_ENDPOINT: &str =
|
||||
"https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update.json";
|
||||
/// A source delivering less than this per window is dropped for the next one.
|
||||
const MIN_PROGRESS: u64 = 1024 * 1024;
|
||||
const PROGRESS_WINDOW: Duration = Duration::from_secs(30);
|
||||
|
||||
/// The manifest's URL, then the other mirror, then GitHub itself.
|
||||
fn download_sources(url: &tauri::Url) -> Vec<tauri::Url> {
|
||||
#[derive(Clone, Copy, PartialEq, Eq)]
|
||||
enum UpdateChannel {
|
||||
/// The configured endpoints with mirror fallbacks.
|
||||
Auto,
|
||||
Github,
|
||||
/// GitHub through the Core's mixed port.
|
||||
GithubProxy,
|
||||
}
|
||||
|
||||
impl UpdateChannel {
|
||||
async fn current() -> Self {
|
||||
match Config::verge().await.latest_arc().update_channel.as_deref() {
|
||||
Some("github") => Self::Github,
|
||||
Some("github_proxy") => Self::GithubProxy,
|
||||
_ => Self::Auto,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// The manifest's URL, then the other mirror, then GitHub itself; only GitHub outside `Auto`.
|
||||
fn download_sources(url: &tauri::Url, channel: UpdateChannel) -> Vec<tauri::Url> {
|
||||
let origin = MIRRORS
|
||||
.iter()
|
||||
.find_map(|mirror| url.as_str().strip_prefix(mirror))
|
||||
.unwrap_or(url.as_str());
|
||||
if channel != UpdateChannel::Auto {
|
||||
return vec![tauri::Url::parse(origin).unwrap_or_else(|_| url.clone())];
|
||||
}
|
||||
let mut sources = vec![url.clone()];
|
||||
if origin.starts_with("https://github.com/") {
|
||||
let candidates = MIRRORS.iter().map(|mirror| format!("{mirror}{origin}"));
|
||||
@@ -224,7 +252,7 @@ fn download_sources(url: &tauri::Url) -> Vec<tauri::Url> {
|
||||
/// Tries every source with a throughput floor, then again stopping only on a stall, so a link
|
||||
/// that is slow everywhere still finishes.
|
||||
async fn download(update: &Update, on_event: impl Fn(DownloadEvent) + Sync) -> Result<Vec<u8>> {
|
||||
let sources = download_sources(&update.download_url);
|
||||
let sources = download_sources(&update.download_url, UpdateChannel::current().await);
|
||||
let mut last_error = None;
|
||||
for floor in [MIN_PROGRESS, 1] {
|
||||
for url in &sources {
|
||||
@@ -282,7 +310,16 @@ impl SilentUpdater {
|
||||
/// Checks the server; Windows receives `/LANG` to suppress the NSIS language dialog,
|
||||
/// see `packages/windows/installer.nsi`.
|
||||
async fn check(app_handle: &tauri::AppHandle) -> Result<Option<Update>> {
|
||||
let updater_builder = app_handle.updater_builder();
|
||||
let channel = UpdateChannel::current().await;
|
||||
let mut updater_builder = app_handle.updater_builder();
|
||||
if channel != UpdateChannel::Auto {
|
||||
updater_builder = updater_builder.endpoints(vec![tauri::Url::parse(GITHUB_ENDPOINT)?])?;
|
||||
}
|
||||
if channel == UpdateChannel::GithubProxy {
|
||||
let port = MixedPort::desired().await;
|
||||
// The resulting `Update` keeps this proxy for its download.
|
||||
updater_builder = updater_builder.proxy(tauri::Url::parse(&format!("http://127.0.0.1:{port}"))?);
|
||||
}
|
||||
#[cfg(target_os = "windows")]
|
||||
let updater_builder = {
|
||||
let verge_lang = Config::verge().await.latest_arc().language.clone();
|
||||
@@ -583,8 +620,7 @@ impl SilentUpdater {
|
||||
|
||||
logging!(info, Type::System, "Silent updater: checking for updates...");
|
||||
|
||||
let updater = app_handle.updater()?;
|
||||
let update = match updater.check().await {
|
||||
let update = match Self::check(app_handle).await {
|
||||
Ok(Some(update)) => update,
|
||||
Ok(None) => {
|
||||
logging!(info, Type::System, "Silent updater: no update available");
|
||||
@@ -592,7 +628,7 @@ impl SilentUpdater {
|
||||
}
|
||||
Err(e) => {
|
||||
logging!(warn, Type::System, "Silent updater: check failed: {e}");
|
||||
return Err(e.into());
|
||||
return Err(e);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -92,6 +92,7 @@ verge_registry! {
|
||||
auto_close_connection => NoEffect;
|
||||
auto_switch_selector_group => NoEffect;
|
||||
auto_check_update => NoEffect;
|
||||
update_channel => NoEffect;
|
||||
default_latency_test => NoEffect;
|
||||
default_latency_timeout => NoEffect;
|
||||
enable_auto_delay_detection => NoEffect;
|
||||
|
||||
@@ -24,6 +24,7 @@ const buildInitialValues = (verge?: IVergeConfig | null) => ({
|
||||
autoCloseConnection: verge?.auto_close_connection ?? true,
|
||||
autoSwitchSelectorGroup: verge?.auto_switch_selector_group ?? true,
|
||||
autoCheckUpdate: verge?.auto_check_update ?? true,
|
||||
updateChannel: verge?.update_channel || 'auto',
|
||||
enableBuiltinEnhanced: verge?.enable_builtin_enhanced ?? true,
|
||||
proxyLayoutColumn: verge?.proxy_layout_column || 6,
|
||||
enableAutoDelayDetection: verge?.enable_auto_delay_detection ?? false,
|
||||
@@ -58,6 +59,7 @@ export const MiscViewer = forwardRef<DialogRef>((props, ref) => {
|
||||
auto_close_connection: values.autoCloseConnection,
|
||||
auto_switch_selector_group: values.autoSwitchSelectorGroup,
|
||||
auto_check_update: values.autoCheckUpdate,
|
||||
update_channel: values.updateChannel,
|
||||
enable_builtin_enhanced: values.enableBuiltinEnhanced,
|
||||
proxy_layout_column: values.proxyLayoutColumn,
|
||||
enable_auto_delay_detection: values.enableAutoDelayDetection,
|
||||
@@ -242,6 +244,36 @@ export const MiscViewer = forwardRef<DialogRef>((props, ref) => {
|
||||
/>
|
||||
</ListItem>
|
||||
|
||||
<ListItem
|
||||
data-setting-target="settings.modals.misc.fields.updateChannel"
|
||||
sx={{ padding: '5px 2px' }}
|
||||
>
|
||||
<ListItemText
|
||||
primary={t('settings.modals.misc.fields.updateChannel')}
|
||||
/>
|
||||
<Select
|
||||
size="small"
|
||||
sx={{ width: 160, '> div': { py: '7.5px' } }}
|
||||
value={values.updateChannel}
|
||||
onChange={(e) =>
|
||||
setValues((v) => ({
|
||||
...v,
|
||||
updateChannel: e.target.value as string,
|
||||
}))
|
||||
}
|
||||
>
|
||||
<MenuItem value="auto">
|
||||
{t('settings.modals.misc.options.updateChannel.auto')}
|
||||
</MenuItem>
|
||||
<MenuItem value="github">
|
||||
{t('settings.modals.misc.options.updateChannel.github')}
|
||||
</MenuItem>
|
||||
<MenuItem value="github_proxy">
|
||||
{t('settings.modals.misc.options.updateChannel.githubProxy')}
|
||||
</MenuItem>
|
||||
</Select>
|
||||
</ListItem>
|
||||
|
||||
<ListItem
|
||||
data-setting-target="settings.modals.misc.fields.enableBuiltinEnhanced"
|
||||
sx={{ padding: '5px 2px' }}
|
||||
|
||||
@@ -483,6 +483,7 @@ const settingsCatalog: readonly SettingEntry[] = [
|
||||
'settings.modals.misc.fields.autoSwitchSelectorGroup':
|
||||
'auto switch select group',
|
||||
'settings.modals.misc.fields.autoCheckUpdate': 'auto check update',
|
||||
'settings.modals.misc.fields.updateChannel': 'update channel source',
|
||||
'settings.modals.misc.fields.enableBuiltinEnhanced':
|
||||
'enable builtin enhanced',
|
||||
'settings.modals.misc.fields.proxyLayoutColumns': 'proxy layout columns',
|
||||
|
||||
@@ -413,6 +413,7 @@
|
||||
"autoCloseConnections": "إغلاق الاتصالات تلقائيًا",
|
||||
"autoSwitchSelectorGroup": "تبديل مجموعة select تلقائيًا",
|
||||
"autoCheckUpdate": "فحص التحديث تلقائيًا",
|
||||
"updateChannel": "قناة التحديث",
|
||||
"enableBuiltinEnhanced": "تفعيل التحسين المدمج",
|
||||
"proxyLayoutColumns": "أعمدة عرض الوكيل",
|
||||
"autoLogClean": "تنظيف السجلات تلقائيًا",
|
||||
@@ -435,6 +436,11 @@
|
||||
"autoLogClean": {
|
||||
"never": "عدم التنظيف أبدًا",
|
||||
"retainDays": "الاحتفاظ لمدة {{n}} يومًا"
|
||||
},
|
||||
"updateChannel": {
|
||||
"auto": "تلقائي (مرايا)",
|
||||
"github": "GitHub",
|
||||
"githubProxy": "GitHub عبر الوكيل"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -413,6 +413,7 @@
|
||||
"autoCloseConnections": "Verbindungen automatisch schließen",
|
||||
"autoSwitchSelectorGroup": "Select-Gruppe automatisch umschalten",
|
||||
"autoCheckUpdate": "Automatisch auf Updates prüfen",
|
||||
"updateChannel": "Update-Kanal",
|
||||
"enableBuiltinEnhanced": "Eingebaute Verbesserungen aktivieren",
|
||||
"proxyLayoutColumns": "Anzahl der Spalten im Proxy-Layout",
|
||||
"autoLogClean": "Protokolle automatisch bereinigen",
|
||||
@@ -435,6 +436,11 @@
|
||||
"autoLogClean": {
|
||||
"never": "Nie bereinigen",
|
||||
"retainDays": "{{n}} Tage behalten"
|
||||
},
|
||||
"updateChannel": {
|
||||
"auto": "Automatisch (Mirrors)",
|
||||
"github": "GitHub",
|
||||
"githubProxy": "GitHub über Proxy"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -413,6 +413,7 @@
|
||||
"autoCloseConnections": "Auto Close Connections",
|
||||
"autoSwitchSelectorGroup": "Auto Switch Select Group",
|
||||
"autoCheckUpdate": "Auto Check Update",
|
||||
"updateChannel": "Update Channel",
|
||||
"enableBuiltinEnhanced": "Enable Builtin Enhanced",
|
||||
"proxyLayoutColumns": "Proxy Layout Columns",
|
||||
"autoLogClean": "Auto Log Clean",
|
||||
@@ -435,6 +436,11 @@
|
||||
"autoLogClean": {
|
||||
"never": "Never Clean",
|
||||
"retainDays": "Retain {{n}} Days"
|
||||
},
|
||||
"updateChannel": {
|
||||
"auto": "Auto (Mirrors)",
|
||||
"github": "GitHub",
|
||||
"githubProxy": "GitHub via Proxy"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -413,6 +413,7 @@
|
||||
"autoCloseConnections": "Cerrar conexiones automáticamente",
|
||||
"autoSwitchSelectorGroup": "Cambiar grupo select automáticamente",
|
||||
"autoCheckUpdate": "Comprobar actualizaciones automáticamente",
|
||||
"updateChannel": "Canal de actualización",
|
||||
"enableBuiltinEnhanced": "Habilitar funciones mejoradas integradas",
|
||||
"proxyLayoutColumns": "Número de columnas en la disposición de la página de proxy",
|
||||
"autoLogClean": "Limpiar registros automáticamente",
|
||||
@@ -435,6 +436,11 @@
|
||||
"autoLogClean": {
|
||||
"never": "No limpiar",
|
||||
"retainDays": "Retener {{n}} días"
|
||||
},
|
||||
"updateChannel": {
|
||||
"auto": "Automático (espejos)",
|
||||
"github": "GitHub",
|
||||
"githubProxy": "GitHub mediante proxy"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -413,6 +413,7 @@
|
||||
"autoCloseConnections": "بستن خودکار اتصالات",
|
||||
"autoSwitchSelectorGroup": "تغییر خودکار گروه select",
|
||||
"autoCheckUpdate": "بررسی خودکار بهروزرسانی",
|
||||
"updateChannel": "کانال بهروزرسانی",
|
||||
"enableBuiltinEnhanced": "فعال کردن تقویت داخلی",
|
||||
"proxyLayoutColumns": "ستون چیدمان پراکسی",
|
||||
"autoLogClean": "پاکسازی خودکار لاگ",
|
||||
@@ -435,6 +436,11 @@
|
||||
"autoLogClean": {
|
||||
"never": "هرگز پاک نکن",
|
||||
"retainDays": "نگهداری به مدت {{n}} روز"
|
||||
},
|
||||
"updateChannel": {
|
||||
"auto": "خودکار (آینهها)",
|
||||
"github": "GitHub",
|
||||
"githubProxy": "GitHub از طریق پروکسی"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -413,6 +413,7 @@
|
||||
"autoCloseConnections": "Tutup Koneksi Otomatis",
|
||||
"autoSwitchSelectorGroup": "Alihkan Grup Select Otomatis",
|
||||
"autoCheckUpdate": "Periksa Pembaruan Otomatis",
|
||||
"updateChannel": "Saluran Pembaruan",
|
||||
"enableBuiltinEnhanced": "Aktifkan Peningkatan Bawaan",
|
||||
"proxyLayoutColumns": "Kolom Tata Letak Proksi",
|
||||
"autoLogClean": "Pembersihan Log Otomatis",
|
||||
@@ -435,6 +436,11 @@
|
||||
"autoLogClean": {
|
||||
"never": "Jangan Pernah Bersihkan",
|
||||
"retainDays": "Simpan {{n}} Hari"
|
||||
},
|
||||
"updateChannel": {
|
||||
"auto": "Otomatis (Mirror)",
|
||||
"github": "GitHub",
|
||||
"githubProxy": "GitHub melalui Proxy"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -413,6 +413,7 @@
|
||||
"autoCloseConnections": "接続を自動的に閉じる",
|
||||
"autoSwitchSelectorGroup": "ノード選択時にグループを連動",
|
||||
"autoCheckUpdate": "自動更新チェック",
|
||||
"updateChannel": "アップデートチャネル",
|
||||
"enableBuiltinEnhanced": "組み込み拡張機能を有効にする",
|
||||
"proxyLayoutColumns": "プロキシページのレイアウト列数",
|
||||
"autoLogClean": "ログを自動的にクリーンアップ",
|
||||
@@ -435,6 +436,11 @@
|
||||
"autoLogClean": {
|
||||
"never": "クリーンアップしない",
|
||||
"retainDays": "{{n}}日間保持"
|
||||
},
|
||||
"updateChannel": {
|
||||
"auto": "自動(ミラー)",
|
||||
"github": "GitHub",
|
||||
"githubProxy": "GitHub(プロキシ経由)"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -413,6 +413,7 @@
|
||||
"autoCloseConnections": "연결 자동 종료",
|
||||
"autoSwitchSelectorGroup": "노드 선택 시 그룹 연동",
|
||||
"autoCheckUpdate": "업데이트 자동 확인",
|
||||
"updateChannel": "업데이트 채널",
|
||||
"enableBuiltinEnhanced": "내장 향상 기능 사용",
|
||||
"proxyLayoutColumns": "프록시 레이아웃 열 수",
|
||||
"autoLogClean": "로그 자동 정리",
|
||||
@@ -435,6 +436,11 @@
|
||||
"autoLogClean": {
|
||||
"never": "정리 안 함",
|
||||
"retainDays": "{{n}}일 보관"
|
||||
},
|
||||
"updateChannel": {
|
||||
"auto": "자동 (미러)",
|
||||
"github": "GitHub",
|
||||
"githubProxy": "GitHub (프록시 경유)"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -413,6 +413,7 @@
|
||||
"autoCloseConnections": "Fechar Conexões Automaticamente",
|
||||
"autoSwitchSelectorGroup": "Alternar Grupo Select Automaticamente",
|
||||
"autoCheckUpdate": "Verificar Atualizações Automaticamente",
|
||||
"updateChannel": "Canal de atualização",
|
||||
"enableBuiltinEnhanced": "Ativar Aprimoramento Integrado",
|
||||
"proxyLayoutColumns": "Colunas do Layout de Proxy",
|
||||
"autoLogClean": "Limpeza Automática de Logs",
|
||||
@@ -435,6 +436,11 @@
|
||||
"autoLogClean": {
|
||||
"never": "Nunca Limpar",
|
||||
"retainDays": "Manter {{n}} Dias"
|
||||
},
|
||||
"updateChannel": {
|
||||
"auto": "Automático (espelhos)",
|
||||
"github": "GitHub",
|
||||
"githubProxy": "GitHub via proxy"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -413,6 +413,7 @@
|
||||
"autoCloseConnections": "Автоматическое закрытие соединений",
|
||||
"autoSwitchSelectorGroup": "Автопереключение группы select",
|
||||
"autoCheckUpdate": "Автоматическая проверка обновлений",
|
||||
"updateChannel": "Канал обновлений",
|
||||
"enableBuiltinEnhanced": "Включить встроенные улучшения",
|
||||
"proxyLayoutColumns": "Количество столбцов в макете прокси",
|
||||
"autoLogClean": "Автоматическая очистка логов",
|
||||
@@ -435,6 +436,11 @@
|
||||
"autoLogClean": {
|
||||
"never": "Никогда не очищать",
|
||||
"retainDays": "Хранить {{n}} дней"
|
||||
},
|
||||
"updateChannel": {
|
||||
"auto": "Авто (зеркала)",
|
||||
"github": "GitHub",
|
||||
"githubProxy": "GitHub через прокси"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -413,6 +413,7 @@
|
||||
"autoCloseConnections": "Bağlantıları Otomatik Kapat",
|
||||
"autoSwitchSelectorGroup": "Select Grubunu Otomatik Değiştir",
|
||||
"autoCheckUpdate": "Otomatik Güncelleme Kontrolü",
|
||||
"updateChannel": "Güncelleme Kanalı",
|
||||
"enableBuiltinEnhanced": "Yerleşik Geliştirilmiş Modu Etkinleştir",
|
||||
"proxyLayoutColumns": "Vekil Düzeni Sütunları",
|
||||
"autoLogClean": "Otomatik Günlük Temizleme",
|
||||
@@ -435,6 +436,11 @@
|
||||
"autoLogClean": {
|
||||
"never": "Asla Temizleme",
|
||||
"retainDays": "{{n}} Gün Sakla"
|
||||
},
|
||||
"updateChannel": {
|
||||
"auto": "Otomatik (Yansılar)",
|
||||
"github": "GitHub",
|
||||
"githubProxy": "Proxy üzerinden GitHub"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -413,6 +413,7 @@
|
||||
"autoCloseConnections": "Тоташуларны автоматик ябу",
|
||||
"autoSwitchSelectorGroup": "Select төркемен автоматик күчерү",
|
||||
"autoCheckUpdate": "Яңартуларны автоматик тикшерү",
|
||||
"updateChannel": "Яңарту каналы",
|
||||
"enableBuiltinEnhanced": "Эчке камилләштерүне кабызу",
|
||||
"proxyLayoutColumns": "Прокси күрсәтү баганалары саны",
|
||||
"autoLogClean": "Логларны автоматик чистарту",
|
||||
@@ -435,6 +436,11 @@
|
||||
"autoLogClean": {
|
||||
"never": "Беркайчан чистартмаска",
|
||||
"retainDays": "{{n}} көн саклау"
|
||||
},
|
||||
"updateChannel": {
|
||||
"auto": "Автоматик (көзгеләр)",
|
||||
"github": "GitHub",
|
||||
"githubProxy": "Прокси аша GitHub"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -413,6 +413,7 @@
|
||||
"autoCloseConnections": "自动关闭连接",
|
||||
"autoSwitchSelectorGroup": "选择节点时联动代理组",
|
||||
"autoCheckUpdate": "自动检查更新",
|
||||
"updateChannel": "更新通道",
|
||||
"enableBuiltinEnhanced": "内置增强功能",
|
||||
"proxyLayoutColumns": "代理页布局列数",
|
||||
"autoLogClean": "自动清理日志",
|
||||
@@ -435,6 +436,11 @@
|
||||
"autoLogClean": {
|
||||
"never": "不清理",
|
||||
"retainDays": "保留 {{n}} 天"
|
||||
},
|
||||
"updateChannel": {
|
||||
"auto": "自动(镜像)",
|
||||
"github": "GitHub",
|
||||
"githubProxy": "GitHub(经代理)"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -413,6 +413,7 @@
|
||||
"autoCloseConnections": "自動關閉連線",
|
||||
"autoSwitchSelectorGroup": "選擇節點時聯動代理組",
|
||||
"autoCheckUpdate": "自動檢查更新",
|
||||
"updateChannel": "更新通道",
|
||||
"enableBuiltinEnhanced": "內建增強功能",
|
||||
"proxyLayoutColumns": "代理頁面欄數",
|
||||
"autoLogClean": "自動清理日誌",
|
||||
@@ -435,6 +436,11 @@
|
||||
"autoLogClean": {
|
||||
"never": "不清理",
|
||||
"retainDays": "保留 {{n}} 天"
|
||||
},
|
||||
"updateChannel": {
|
||||
"auto": "自動(鏡像)",
|
||||
"github": "GitHub",
|
||||
"githubProxy": "GitHub(經代理)"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -418,6 +418,8 @@ export type IVerge_Deserialize = {
|
||||
auto_close_connection?: boolean | null
|
||||
auto_switch_selector_group?: boolean | null
|
||||
auto_check_update?: boolean | null
|
||||
/** `auto`, `github` or `github_proxy` */
|
||||
update_channel?: string | null
|
||||
default_latency_test?: string | null
|
||||
default_latency_timeout?: number | null
|
||||
enable_auto_delay_detection?: boolean | null
|
||||
@@ -509,6 +511,8 @@ export type IVerge_Serialize = {
|
||||
auto_close_connection: boolean | null
|
||||
auto_switch_selector_group: boolean | null
|
||||
auto_check_update: boolean | null
|
||||
/** `auto`, `github` or `github_proxy` */
|
||||
update_channel: string | null
|
||||
default_latency_test: string | null
|
||||
default_latency_timeout: number | null
|
||||
enable_auto_delay_detection: boolean | null
|
||||
|
||||
@@ -657,6 +657,7 @@ export const translationKeys = [
|
||||
'settings.modals.misc.fields.autoCloseConnections',
|
||||
'settings.modals.misc.fields.autoSwitchSelectorGroup',
|
||||
'settings.modals.misc.fields.autoCheckUpdate',
|
||||
'settings.modals.misc.fields.updateChannel',
|
||||
'settings.modals.misc.fields.enableBuiltinEnhanced',
|
||||
'settings.modals.misc.fields.proxyLayoutColumns',
|
||||
'settings.modals.misc.fields.autoLogClean',
|
||||
@@ -672,6 +673,9 @@ export const translationKeys = [
|
||||
'settings.modals.misc.options.proxyLayoutColumns.auto',
|
||||
'settings.modals.misc.options.autoLogClean.never',
|
||||
'settings.modals.misc.options.autoLogClean.retainDays',
|
||||
'settings.modals.misc.options.updateChannel.auto',
|
||||
'settings.modals.misc.options.updateChannel.github',
|
||||
'settings.modals.misc.options.updateChannel.githubProxy',
|
||||
'settings.modals.update.title',
|
||||
'settings.modals.update.actions.goToRelease',
|
||||
'settings.modals.update.actions.update',
|
||||
|
||||
@@ -1131,6 +1131,7 @@ export interface TranslationResources {
|
||||
defaultLatencyTimeout: string
|
||||
enableBuiltinEnhanced: string
|
||||
proxyLayoutColumns: string
|
||||
updateChannel: string
|
||||
}
|
||||
options: {
|
||||
autoLogClean: {
|
||||
@@ -1140,6 +1141,11 @@ export interface TranslationResources {
|
||||
proxyLayoutColumns: {
|
||||
auto: string
|
||||
}
|
||||
updateChannel: {
|
||||
auto: string
|
||||
github: string
|
||||
githubProxy: string
|
||||
}
|
||||
}
|
||||
title: string
|
||||
tooltips: {
|
||||
|
||||
Reference in New Issue
Block a user