release: v1.7.3 settings search and quick navigation
This commit is contained in:
parent
3609eddfc4
commit
cc2607081c
8 changed files with 115 additions and 33 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
Tauri v2 · Rust · React · AmneziaWG · SpoofDPI</p>
|
Tauri v2 · Rust · React · AmneziaWG · SpoofDPI</p>
|
||||||
<p>
|
<p>
|
||||||
<a href="https://github.com/L1lDosto/LD-FDPI/releases/latest">
|
<a href="https://github.com/L1lDosto/LD-FDPI/releases/latest">
|
||||||
<img src="https://img.shields.io/badge/İndir-v1.7.2-2ea44f?style=for-the-badge&logo=windows" alt="Download" />
|
<img src="https://img.shields.io/badge/İndir-v1.7.3-2ea44f?style=for-the-badge&logo=windows" alt="Download" />
|
||||||
</a>
|
</a>
|
||||||
<img src="https://img.shields.io/badge/Platform-Windows%2010%20%7C%2011-0078D6?style=for-the-badge&logo=windows" alt="Windows" />
|
<img src="https://img.shields.io/badge/Platform-Windows%2010%20%7C%2011-0078D6?style=for-the-badge&logo=windows" alt="Windows" />
|
||||||
<img src="https://img.shields.io/badge/License-MIT-10B981?style=for-the-badge" alt="MIT" />
|
<img src="https://img.shields.io/badge/License-MIT-10B981?style=for-the-badge" alt="MIT" />
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "ld-fdpi",
|
"name": "ld-fdpi",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.7.2",
|
"version": "1.7.3",
|
||||||
"description": "LD FDPI - zero-touch AmneziaWG VPN and SpoofDPI DPI bypass for Windows (Tauri v2, Rust, React)",
|
"description": "LD FDPI - zero-touch AmneziaWG VPN and SpoofDPI DPI bypass for Windows (Tauri v2, Rust, React)",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
|
|
@ -3,20 +3,20 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>LD FDPI — Discord, oyun ve Almanya çıkışı | v1.7.2</title>
|
<title>LD FDPI — Discord, oyun ve Almanya çıkışı | v1.7.3</title>
|
||||||
<meta name="description" content="LD FDPI: Discord ve oyunlarda düşük ping, Almanya çıkışı için AmneziaWG VPN. Token veya .conf yok; kur, BAĞLAN'a bas. DPI bypass, DNS sızıntı koruması, WFP kill-switch ve self-heal.">
|
<meta name="description" content="LD FDPI: Discord ve oyunlarda düşük ping, Almanya çıkışı için AmneziaWG VPN. Token veya .conf yok; kur, BAĞLAN'a bas. DPI bypass, DNS sızıntı koruması, WFP kill-switch ve self-heal.">
|
||||||
<link rel="canonical" href="https://ttmadethat.shop/ld-fdpi">
|
<link rel="canonical" href="https://ttmadethat.shop/ld-fdpi">
|
||||||
<meta property="og:title" content="LD FDPI — Discord, oyun ve Almanya çıkışı">
|
<meta property="og:title" content="LD FDPI — Discord, oyun ve Almanya çıkışı">
|
||||||
<meta property="og:description" content="Kur-çalıştır Windows DPI bypass + AmneziaWG VPN. Token, .conf veya manuel istemci kurulumu yok; cihaz profili ilk bağlantıda otomatik oluşur.">
|
<meta property="og:description" content="Kur-çalıştır Windows DPI bypass + AmneziaWG VPN. Token, .conf veya manuel istemci kurulumu yok; cihaz profili ilk bağlantıda otomatik oluşur.">
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:url" content="https://ttmadethat.shop/ld-fdpi">
|
<meta property="og:url" content="https://ttmadethat.shop/ld-fdpi">
|
||||||
<meta property="og:image" content="https://ttmadethat.shop/static/downloads/ld-apps/ld-fdpi-1.7.2-logo.png?v=f2e7b19">
|
<meta property="og:image" content="https://ttmadethat.shop/static/downloads/ld-apps/ld-fdpi-1.7.3-logo.png?v=6127f36">
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:title" content="LD FDPI — Discord, oyun ve Almanya çıkışı">
|
<meta name="twitter:title" content="LD FDPI — Discord, oyun ve Almanya çıkışı">
|
||||||
<meta name="twitter:description" content="Kur-çalıştır Windows DPI bypass + AmneziaWG VPN. Token/.conf yok.">
|
<meta name="twitter:description" content="Kur-çalıştır Windows DPI bypass + AmneziaWG VPN. Token/.conf yok.">
|
||||||
<meta name="twitter:image" content="https://ttmadethat.shop/static/downloads/ld-apps/ld-fdpi-1.7.2-logo.png?v=f2e7b19">
|
<meta name="twitter:image" content="https://ttmadethat.shop/static/downloads/ld-apps/ld-fdpi-1.7.3-logo.png?v=6127f36">
|
||||||
<meta name="theme-color" content="#05080b">
|
<meta name="theme-color" content="#05080b">
|
||||||
<link rel="icon" type="image/png" href="/static/downloads/ld-apps/ld-fdpi-1.7.2-logo.png?v=f2e7b19">
|
<link rel="icon" type="image/png" href="/static/downloads/ld-apps/ld-fdpi-1.7.3-logo.png?v=6127f36">
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--bg: #05080b;
|
--bg: #05080b;
|
||||||
|
|
@ -226,7 +226,7 @@
|
||||||
<header class="nav">
|
<header class="nav">
|
||||||
<div class="wrap nav-in">
|
<div class="wrap nav-in">
|
||||||
<a class="brand" href="/">
|
<a class="brand" href="/">
|
||||||
<img src="/static/downloads/ld-apps/ld-fdpi-1.7.2-logo.png?v=f2e7b19" alt="LD FDPI">
|
<img src="/static/downloads/ld-apps/ld-fdpi-1.7.3-logo.png?v=6127f36" alt="LD FDPI">
|
||||||
<span>LD FDPI<small>ttmadethat.shop / apps</small></span>
|
<span>LD FDPI<small>ttmadethat.shop / apps</small></span>
|
||||||
</a>
|
</a>
|
||||||
<nav class="nav-links" aria-label="Sayfa gezinmesi">
|
<nav class="nav-links" aria-label="Sayfa gezinmesi">
|
||||||
|
|
@ -234,7 +234,7 @@
|
||||||
<a href="#features">Özellikler</a>
|
<a href="#features">Özellikler</a>
|
||||||
<a href="#security">Güvenlik</a>
|
<a href="#security">Güvenlik</a>
|
||||||
<a href="#install">Kurulum</a>
|
<a href="#install">Kurulum</a>
|
||||||
<a class="btn btn-primary" href="/static/downloads/ld-apps/LD-FDPI_1.7.2_f2e7b19_x64-setup.exe?v=f2e7b19" download>İndir · v1.7.2</a>
|
<a class="btn btn-primary" href="/static/downloads/ld-apps/LD-FDPI_1.7.3_6127f36_x64-setup.exe?v=6127f36" download>İndir · v1.7.3</a>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
@ -246,11 +246,11 @@
|
||||||
<h1>Discord açık.<br><span>Ping düşük.</span></h1>
|
<h1>Discord açık.<br><span>Ping düşük.</span></h1>
|
||||||
<p class="lead">DPI engelini tek tıkla geç; Discord, Kick ve tarayıcı çalışsın. Oyun trafiğin doğrudan kalsın, ping'in şişmesin. İstersen Almanya çıkışına geç, farklı kataloglara bak.</p>
|
<p class="lead">DPI engelini tek tıkla geç; Discord, Kick ve tarayıcı çalışsın. Oyun trafiğin doğrudan kalsın, ping'in şişmesin. İstersen Almanya çıkışına geç, farklı kataloglara bak.</p>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<a class="btn btn-primary" href="/static/downloads/ld-apps/LD-FDPI_1.7.2_f2e7b19_x64-setup.exe?v=f2e7b19" download>Windows için indir</a>
|
<a class="btn btn-primary" href="/static/downloads/ld-apps/LD-FDPI_1.7.3_6127f36_x64-setup.exe?v=6127f36" download>Windows için indir</a>
|
||||||
<a class="btn btn-ghost" href="#use-cases">Hangi mod bana uygun?</a>
|
<a class="btn btn-ghost" href="#use-cases">Hangi mod bana uygun?</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="meta">
|
<div class="meta">
|
||||||
<span class="chip live">v1.7.2</span>
|
<span class="chip live">v1.7.3</span>
|
||||||
<span class="chip">Kurulum ~1 dk</span>
|
<span class="chip">Kurulum ~1 dk</span>
|
||||||
<span class="chip">Reklamsız</span>
|
<span class="chip">Reklamsız</span>
|
||||||
<span class="chip">SpoofDPI 0.12.2</span>
|
<span class="chip">SpoofDPI 0.12.2</span>
|
||||||
|
|
@ -387,14 +387,14 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="download-card reveal">
|
<div class="download-card reveal">
|
||||||
<div class="kicker">İndir</div>
|
<div class="kicker">İndir</div>
|
||||||
<div class="big">LD FDPI v1.7.2</div>
|
<div class="big">LD FDPI v1.7.3</div>
|
||||||
<p class="muted" style="font-size:11px;margin:4px 0 14px">NSIS kurulum · Windows 10/11 x64 · yaklaşık 7.5 MB</p>
|
<p class="muted" style="font-size:11px;margin:4px 0 14px">NSIS kurulum · Windows 10/11 x64 · yaklaşık 7.5 MB</p>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<a class="btn btn-primary" href="/static/downloads/ld-apps/LD-FDPI_1.7.2_f2e7b19_x64-setup.exe?v=f2e7b19" download>Setup indir</a>
|
<a class="btn btn-primary" href="/static/downloads/ld-apps/LD-FDPI_1.7.3_6127f36_x64-setup.exe?v=6127f36" download>Setup indir</a>
|
||||||
<a class="btn btn-ghost" href="/static/downloads/ld-apps/LD-FDPI_1.7.2_f2e7b19-source.zip?v=f2e7b19" download>Kaynak ZIP</a>
|
<a class="btn btn-ghost" href="/static/downloads/ld-apps/LD-FDPI_1.7.3_6127f36-source.zip?v=6127f36" download>Kaynak ZIP</a>
|
||||||
<a class="btn btn-ghost" href="/static/downloads/ld-apps/readmes/ld-fdpi-v1.7.2_f2e7b19-README.md?v=f2e7b19" target="_blank" rel="noopener">README</a>
|
<a class="btn btn-ghost" href="/static/downloads/ld-apps/readmes/ld-fdpi-v1.7.3_6127f36-README.md?v=6127f36" target="_blank" rel="noopener">README</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="hash">SHA-256 · F2E7B19BCAB083C48CF8BD99A0AB7189454345896C3D9AB62548E46E3EEDD604</div>
|
<div class="hash">SHA-256 · 6127F36706EBA762BE9E5B31E7CC0947E5E231243FC06C62144745B6A9887459</div>
|
||||||
<div class="notice"><b>Not:</b> Kod imzası yoktur; SmartScreen “bilinmeyen yayıncı” uyarısı verebilir. Aktivasyon kodu gerekmez.</div>
|
<div class="notice"><b>Not:</b> Kod imzası yoktur; SmartScreen “bilinmeyen yayıncı” uyarısı verebilir. Aktivasyon kodu gerekmez.</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -421,7 +421,7 @@
|
||||||
<section>
|
<section>
|
||||||
<div class="cta reveal">
|
<div class="cta reveal">
|
||||||
<div><div class="kicker">Hazır mısın?</div><h2>Discord açık, ping düşük.</h2><p>Windows için indir; kur, bağlan, işine dön. İstersen Almanya çıkışına geç.</p></div>
|
<div><div class="kicker">Hazır mısın?</div><h2>Discord açık, ping düşük.</h2><p>Windows için indir; kur, bağlan, işine dön. İstersen Almanya çıkışına geç.</p></div>
|
||||||
<div class="actions"><a class="btn btn-primary" href="/static/downloads/ld-apps/LD-FDPI_1.7.2_f2e7b19_x64-setup.exe?v=f2e7b19" download>Setup indir</a><a class="btn btn-ghost" href="/#ldapps">Tüm uygulamalar</a></div>
|
<div class="actions"><a class="btn btn-primary" href="/static/downloads/ld-apps/LD-FDPI_1.7.3_6127f36_x64-setup.exe?v=6127f36" download>Setup indir</a><a class="btn btn-ghost" href="/#ldapps">Tüm uygulamalar</a></div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
|
|
|
||||||
2
src-tauri/Cargo.lock
generated
2
src-tauri/Cargo.lock
generated
|
|
@ -2112,7 +2112,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ld-fdpi"
|
name = "ld-fdpi"
|
||||||
version = "1.7.2"
|
version = "1.7.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64 0.22.1",
|
"base64 0.22.1",
|
||||||
"local-ip-address",
|
"local-ip-address",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ld-fdpi"
|
name = "ld-fdpi"
|
||||||
version = "1.7.2"
|
version = "1.7.3"
|
||||||
description = "LD FDPI  Zor ağlar için yerel proxy ve DPI bypass aracı (Rust, Tauri v2, SpoofDPI 0.12.2)"
|
description = "LD FDPI  Zor ağlar için yerel proxy ve DPI bypass aracı (Rust, Tauri v2, SpoofDPI 0.12.2)"
|
||||||
authors = ["LD FDPI Team"]
|
authors = ["LD FDPI Team"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"productName": "LD FDPI",
|
"productName": "LD FDPI",
|
||||||
"version": "1.7.2",
|
"version": "1.7.3",
|
||||||
"identifier": "com.ldfdpi.desktop",
|
"identifier": "com.ldfdpi.desktop",
|
||||||
"build": {
|
"build": {
|
||||||
"beforeDevCommand": "npm run dev",
|
"beforeDevCommand": "npm run dev",
|
||||||
|
|
|
||||||
106
src/App.jsx
106
src/App.jsx
|
|
@ -32,6 +32,7 @@ import {
|
||||||
Sparkles,
|
Sparkles,
|
||||||
Server,
|
Server,
|
||||||
FolderOpen,
|
FolderOpen,
|
||||||
|
Search,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
import { QRCodeSVG } from "qrcode.react";
|
import { QRCodeSVG } from "qrcode.react";
|
||||||
import { TEXT } from "./i18n";
|
import { TEXT } from "./i18n";
|
||||||
|
|
@ -130,7 +131,7 @@ export default function App() {
|
||||||
const [engineVersion, setEngineVersion] = useState(`SpoofDPI ${SPOOFDPI_VERSION}`);
|
const [engineVersion, setEngineVersion] = useState(`SpoofDPI ${SPOOFDPI_VERSION}`);
|
||||||
const [localIp, setLocalIp] = useState("127.0.0.1");
|
const [localIp, setLocalIp] = useState("127.0.0.1");
|
||||||
const [isAdmin, setIsAdmin] = useState(false);
|
const [isAdmin, setIsAdmin] = useState(false);
|
||||||
const [appVersion, setAppVersion] = useState("1.7.2");
|
const [appVersion, setAppVersion] = useState("1.7.3");
|
||||||
const [updateInfo, setUpdateInfo] = useState(null);
|
const [updateInfo, setUpdateInfo] = useState(null);
|
||||||
const [updateBusy, setUpdateBusy] = useState(false);
|
const [updateBusy, setUpdateBusy] = useState(false);
|
||||||
const [updateError, setUpdateError] = useState(null);
|
const [updateError, setUpdateError] = useState(null);
|
||||||
|
|
@ -148,6 +149,9 @@ export default function App() {
|
||||||
const [lanWarn, setLanWarn] = useState(false);
|
const [lanWarn, setLanWarn] = useState(false);
|
||||||
const [autostartNote, setAutostartNote] = useState(false);
|
const [autostartNote, setAutostartNote] = useState(false);
|
||||||
const [resetArmed, setResetArmed] = useState(false);
|
const [resetArmed, setResetArmed] = useState(false);
|
||||||
|
const settingsRef = useRef(null);
|
||||||
|
const [settingsQuery, setSettingsQuery] = useState("");
|
||||||
|
const [settingsVisible, setSettingsVisible] = useState(0);
|
||||||
const [eduroam, setEduroam] = useState(null);
|
const [eduroam, setEduroam] = useState(null);
|
||||||
const [captive, setCaptive] = useState(null);
|
const [captive, setCaptive] = useState(null);
|
||||||
const [autoBypass, setAutoBypass] = useState(null);
|
const [autoBypass, setAutoBypass] = useState(null);
|
||||||
|
|
@ -416,6 +420,30 @@ export default function App() {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (view !== "settings") return undefined;
|
||||||
|
const root = settingsRef.current;
|
||||||
|
if (!root) return undefined;
|
||||||
|
const query = settingsQuery.trim().toLowerCase();
|
||||||
|
const items = root.querySelectorAll("[data-settings-item]");
|
||||||
|
let visible = 0;
|
||||||
|
items.forEach((item) => {
|
||||||
|
const haystack = `${item.dataset.settingsKeywords || ""} ${item.textContent || ""}`.toLowerCase();
|
||||||
|
const match = !query || haystack.includes(query);
|
||||||
|
item.style.display = match ? "" : "none";
|
||||||
|
if (match) visible += 1;
|
||||||
|
});
|
||||||
|
setSettingsVisible(query ? visible : items.length);
|
||||||
|
return undefined;
|
||||||
|
}, [view, settingsQuery, config?.connectionMode, vpn?.connected, resetArmed]);
|
||||||
|
|
||||||
|
const jumpToSetting = (id) => {
|
||||||
|
setSettingsQuery("");
|
||||||
|
window.setTimeout(() => {
|
||||||
|
document.getElementById(id)?.scrollIntoView({ behavior: "smooth", block: "start" });
|
||||||
|
}, 30);
|
||||||
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (logsOpen && logEndRef.current) {
|
if (logsOpen && logEndRef.current) {
|
||||||
logEndRef.current.scrollIntoView({ behavior: "smooth", block: "end" });
|
logEndRef.current.scrollIntoView({ behavior: "smooth", block: "end" });
|
||||||
|
|
@ -1184,7 +1212,7 @@ export default function App() {
|
||||||
|
|
||||||
{view === "settings" && (
|
{view === "settings" && (
|
||||||
<>
|
<>
|
||||||
<div className="flex flex-col gap-3">
|
<div ref={settingsRef} className="flex flex-col gap-3">
|
||||||
<section className="order-0 mica-card rounded-2xl p-5 space-y-3">
|
<section className="order-0 mica-card rounded-2xl p-5 space-y-3">
|
||||||
<div className="flex items-start justify-between gap-4">
|
<div className="flex items-start justify-between gap-4">
|
||||||
<div>
|
<div>
|
||||||
|
|
@ -1202,6 +1230,54 @@ export default function App() {
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="flex flex-col gap-2">
|
||||||
|
<div className="relative">
|
||||||
|
<Search className="w-3.5 h-3.5 text-slate-500 absolute left-3 top-1/2 -translate-y-1/2 pointer-events-none" />
|
||||||
|
<input
|
||||||
|
value={settingsQuery}
|
||||||
|
onChange={(event) => setSettingsQuery(event.target.value)}
|
||||||
|
placeholder={lang === "tr" ? "Ayar ara: QUIC, DNS, port, eduroam..." : "Search settings: QUIC, DNS, port, eduroam..."}
|
||||||
|
aria-label={lang === "tr" ? "Ayar ara" : "Search settings"}
|
||||||
|
className="w-full pl-9 pr-9 py-2 rounded-lg border border-slate-700/70 bg-slate-900/60 text-xs text-slate-200 placeholder:text-slate-500 focus:outline-none focus:border-cyan-400/50"
|
||||||
|
/>
|
||||||
|
{settingsQuery && (
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
onClick={() => setSettingsQuery("")}
|
||||||
|
aria-label={lang === "tr" ? "Aramayı temizle" : "Clear search"}
|
||||||
|
className="absolute right-2.5 top-1/2 -translate-y-1/2 text-slate-500 hover:text-slate-200"
|
||||||
|
>
|
||||||
|
<X className="w-3.5 h-3.5" />
|
||||||
|
</button>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
<div className="flex flex-wrap gap-1.5">
|
||||||
|
{[
|
||||||
|
["settings-update", lang === "tr" ? "Güncelleme" : "Updates"],
|
||||||
|
["settings-general", lang === "tr" ? "Genel" : "General"],
|
||||||
|
["settings-lan", "LAN"],
|
||||||
|
["settings-captive", lang === "tr" ? "Captive" : "Captive"],
|
||||||
|
["settings-eduroam", "Eduroam"],
|
||||||
|
["settings-bypass", "DPI"],
|
||||||
|
["settings-dns", "DNS"],
|
||||||
|
["settings-advanced", lang === "tr" ? "Gelişmiş" : "Advanced"],
|
||||||
|
].map(([id, label]) => (
|
||||||
|
<button
|
||||||
|
key={id}
|
||||||
|
type="button"
|
||||||
|
onClick={() => jumpToSetting(id)}
|
||||||
|
className="px-2 py-1 rounded-md border border-slate-700/70 bg-slate-900/50 text-[10px] text-slate-400 hover:border-cyan-400/40 hover:text-cyan-100"
|
||||||
|
>
|
||||||
|
{label}
|
||||||
|
</button>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
{settingsQuery && settingsVisible === 0 && (
|
||||||
|
<div className="rounded-lg border border-slate-700 bg-slate-900/60 px-3 py-2 text-[10px] text-slate-400">
|
||||||
|
{lang === "tr" ? "Eşleşen ayar bulunamadı." : "No matching setting found."}
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
<div className="flex flex-wrap gap-2">
|
<div className="flex flex-wrap gap-2">
|
||||||
<button
|
<button
|
||||||
onClick={() => copyText("settings", JSON.stringify(config, null, 2))}
|
onClick={() => copyText("settings", JSON.stringify(config, null, 2))}
|
||||||
|
|
@ -1244,11 +1320,17 @@ export default function App() {
|
||||||
VPN açık. DPI ayarları kilitli; değiştirmek için önce VPN sekmesinden bağlantıyı kesin.
|
VPN açık. DPI ayarları kilitli; değiştirmek için önce VPN sekmesinden bağlantıyı kesin.
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<UpdatePanel appVersion={appVersion} lang={lang} />
|
<UpdatePanel
|
||||||
|
appVersion={appVersion}
|
||||||
|
lang={lang}
|
||||||
|
id="settings-update"
|
||||||
|
data-settings-item
|
||||||
|
data-settings-keywords="güncelleme update sürüm version latest minisign"
|
||||||
|
/>
|
||||||
<div className="order-1 px-1 text-[10px] font-semibold uppercase tracking-wider text-slate-500">
|
<div className="order-1 px-1 text-[10px] font-semibold uppercase tracking-wider text-slate-500">
|
||||||
{lang === "tr" ? "Genel" : "General"}
|
{lang === "tr" ? "Genel" : "General"}
|
||||||
</div>
|
</div>
|
||||||
<section className="order-3 mica-card rounded-2xl p-5">
|
<section id="settings-general" data-settings-item data-settings-keywords="genel general başlangıç startup otomatik başlat otomatik bağlan tepsi minimize" className="order-3 mica-card rounded-2xl p-5">
|
||||||
<div className="flex items-center gap-2 text-sm font-semibold text-slate-200 mb-1">
|
<div className="flex items-center gap-2 text-sm font-semibold text-slate-200 mb-1">
|
||||||
<Power className="w-4 h-4 text-blue-400" />
|
<Power className="w-4 h-4 text-blue-400" />
|
||||||
{t.settings.startup}
|
{t.settings.startup}
|
||||||
|
|
@ -1294,7 +1376,7 @@ export default function App() {
|
||||||
)}
|
)}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section className="order-4 mica-card rounded-2xl p-5">
|
<section id="settings-lan" data-settings-item data-settings-keywords="lan paylaşım proxy pac port firewall manuel" className="order-4 mica-card rounded-2xl p-5">
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<div className="flex items-center gap-2 text-sm font-semibold text-slate-200">
|
<div className="flex items-center gap-2 text-sm font-semibold text-slate-200">
|
||||||
<Smartphone className="w-4 h-4 text-emerald-400" />
|
<Smartphone className="w-4 h-4 text-emerald-400" />
|
||||||
|
|
@ -1360,7 +1442,7 @@ export default function App() {
|
||||||
)}
|
)}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section className="order-2 mica-card rounded-2xl p-5 flex items-center justify-between">
|
<section id="settings-language" data-settings-item data-settings-keywords="dil language türkçe english" className="order-2 mica-card rounded-2xl p-5 flex items-center justify-between">
|
||||||
<div className="flex items-center gap-2 text-sm font-semibold text-slate-200">
|
<div className="flex items-center gap-2 text-sm font-semibold text-slate-200">
|
||||||
<Languages className="w-4 h-4 text-cyan-400" />
|
<Languages className="w-4 h-4 text-cyan-400" />
|
||||||
{t.settings.language}
|
{t.settings.language}
|
||||||
|
|
@ -1384,7 +1466,7 @@ export default function App() {
|
||||||
<div className="order-5 px-1 text-[10px] font-semibold uppercase tracking-wider text-slate-500">
|
<div className="order-5 px-1 text-[10px] font-semibold uppercase tracking-wider text-slate-500">
|
||||||
{lang === "tr" ? "DPI / Bağlantı" : "DPI / Connection"}
|
{lang === "tr" ? "DPI / Bağlantı" : "DPI / Connection"}
|
||||||
</div>
|
</div>
|
||||||
<section className="order-6 mica-card rounded-2xl p-5">
|
<section id="settings-captive" data-settings-item data-settings-keywords="captive portal giriş wifi otel" className="order-6 mica-card rounded-2xl p-5">
|
||||||
<Toggle
|
<Toggle
|
||||||
checked={config.captiveAssistant !== false}
|
checked={config.captiveAssistant !== false}
|
||||||
onChange={(value) => saveConfig({ captiveAssistant: value })}
|
onChange={(value) => saveConfig({ captiveAssistant: value })}
|
||||||
|
|
@ -1393,7 +1475,7 @@ export default function App() {
|
||||||
/>
|
/>
|
||||||
</section>
|
</section>
|
||||||
{config.captiveAssistant !== false && (
|
{config.captiveAssistant !== false && (
|
||||||
<section className={`order-7 mica-card rounded-2xl p-5 space-y-3 border border-cyan-500/25 ${vpn?.connected ? "opacity-40 pointer-events-none" : ""}`}>
|
<section id="settings-captive-connect" data-settings-item data-settings-keywords="captive portal giriş wifi otel bağlan" className={`order-7 mica-card rounded-2xl p-5 space-y-3 border border-cyan-500/25 ${vpn?.connected ? "opacity-40 pointer-events-none" : ""}`}>
|
||||||
<div className="flex items-center gap-2 text-sm font-semibold text-slate-200">
|
<div className="flex items-center gap-2 text-sm font-semibold text-slate-200">
|
||||||
<DoorOpen className="w-4 h-4 text-cyan-300" />
|
<DoorOpen className="w-4 h-4 text-cyan-300" />
|
||||||
{t.captive.title}
|
{t.captive.title}
|
||||||
|
|
@ -1435,7 +1517,7 @@ export default function App() {
|
||||||
<p className="text-[10px] text-slate-500 leading-relaxed">{t.captive.note}</p>
|
<p className="text-[10px] text-slate-500 leading-relaxed">{t.captive.note}</p>
|
||||||
</section>
|
</section>
|
||||||
)}
|
)}
|
||||||
<section className={`order-8 mica-card rounded-2xl p-5 ${vpn?.connected ? "opacity-40 pointer-events-none" : ""}`}>
|
<section id="settings-eduroam" data-settings-item data-settings-keywords="eduroam mtu wifi üniversite kampüs" className={`order-8 mica-card rounded-2xl p-5 ${vpn?.connected ? "opacity-40 pointer-events-none" : ""}`}>
|
||||||
<div className="flex items-center gap-2 text-sm font-semibold text-slate-200 mb-1">
|
<div className="flex items-center gap-2 text-sm font-semibold text-slate-200 mb-1">
|
||||||
<GraduationCap className="w-4 h-4 text-emerald-400" />
|
<GraduationCap className="w-4 h-4 text-emerald-400" />
|
||||||
{t.mode.eduroam}
|
{t.mode.eduroam}
|
||||||
|
|
@ -1554,7 +1636,7 @@ export default function App() {
|
||||||
</section>
|
</section>
|
||||||
)}
|
)}
|
||||||
{/* Bypass strength */}
|
{/* Bypass strength */}
|
||||||
<section className={`order-10 mica-card rounded-2xl p-5 space-y-3 ${vpn?.connected ? "opacity-40 pointer-events-none" : ""}`}>
|
<section id="settings-bypass" data-settings-item data-settings-keywords="dpi bypass quic spoofdpi turbo dengeli güçlü chunk dns" className={`order-10 mica-card rounded-2xl p-5 space-y-3 ${vpn?.connected ? "opacity-40 pointer-events-none" : ""}`}>
|
||||||
<div className="flex items-center gap-2 text-sm font-semibold text-slate-200">
|
<div className="flex items-center gap-2 text-sm font-semibold text-slate-200">
|
||||||
<Gauge className="w-4 h-4 text-cyan-400" />
|
<Gauge className="w-4 h-4 text-cyan-400" />
|
||||||
{t.power.title}
|
{t.power.title}
|
||||||
|
|
@ -1655,7 +1737,7 @@ export default function App() {
|
||||||
<div className="order-11 px-1 text-[10px] font-semibold uppercase tracking-wider text-slate-500">
|
<div className="order-11 px-1 text-[10px] font-semibold uppercase tracking-wider text-slate-500">
|
||||||
DNS
|
DNS
|
||||||
</div>
|
</div>
|
||||||
<section className={`order-12 mica-card rounded-2xl p-5 space-y-3 ${vpn?.connected ? "opacity-40 pointer-events-none" : ""}`}>
|
<section id="settings-dns" data-settings-item data-settings-keywords="dns doh cloudflare google adguard benchmark" className={`order-12 mica-card rounded-2xl p-5 space-y-3 ${vpn?.connected ? "opacity-40 pointer-events-none" : ""}`}>
|
||||||
<div className="flex items-center gap-2 text-sm font-semibold text-slate-200">
|
<div className="flex items-center gap-2 text-sm font-semibold text-slate-200">
|
||||||
<Wifi className="w-4 h-4 text-emerald-400" />
|
<Wifi className="w-4 h-4 text-emerald-400" />
|
||||||
{t.dns.title}
|
{t.dns.title}
|
||||||
|
|
@ -1709,7 +1791,7 @@ export default function App() {
|
||||||
<div className="order-[13] px-1 text-[10px] font-semibold uppercase tracking-wider text-slate-500">
|
<div className="order-[13] px-1 text-[10px] font-semibold uppercase tracking-wider text-slate-500">
|
||||||
{lang === "tr" ? "Gelişmiş" : "Advanced"}
|
{lang === "tr" ? "Gelişmiş" : "Advanced"}
|
||||||
</div>
|
</div>
|
||||||
<details className={`order-[14] mica-card rounded-2xl overflow-hidden group ${vpn?.connected ? "opacity-40 pointer-events-none" : ""}`}>
|
<details id="settings-advanced" data-settings-item data-settings-keywords="gelişmiş advanced port cli tanılama diagnostics acil restore" className={`order-[14] mica-card rounded-2xl overflow-hidden group ${vpn?.connected ? "opacity-40 pointer-events-none" : ""}`}>
|
||||||
<summary className="cursor-pointer list-none px-5 py-3.5 flex items-center justify-between text-sm font-semibold text-slate-300">
|
<summary className="cursor-pointer list-none px-5 py-3.5 flex items-center justify-between text-sm font-semibold text-slate-300">
|
||||||
<span className="flex items-center gap-2">
|
<span className="flex items-center gap-2">
|
||||||
<Settings className="w-4 h-4 text-slate-400" />
|
<Settings className="w-4 h-4 text-slate-400" />
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ function Spinner() {
|
||||||
return <Loader2 className="w-4 h-4 animate-spin" />;
|
return <Loader2 className="w-4 h-4 animate-spin" />;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function UpdatePanel({ appVersion = "1.7.2", lang = "tr" }) {
|
export default function UpdatePanel({ appVersion = "1.7.3", lang = "tr", ...rest }) {
|
||||||
const t = T[lang] || T.tr;
|
const t = T[lang] || T.tr;
|
||||||
const [state, setState] = useState("idle");
|
const [state, setState] = useState("idle");
|
||||||
const [update, setUpdate] = useState(null);
|
const [update, setUpdate] = useState(null);
|
||||||
|
|
@ -143,7 +143,7 @@ export default function UpdatePanel({ appVersion = "1.7.2", lang = "tr" }) {
|
||||||
const busy = state === "checking" || state === "downloading";
|
const busy = state === "checking" || state === "downloading";
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section className="order-0 mica-card rounded-2xl p-5 space-y-4">
|
<section {...rest} className="order-0 mica-card rounded-2xl p-5 space-y-4">
|
||||||
<div className="flex items-start justify-between gap-4">
|
<div className="flex items-start justify-between gap-4">
|
||||||
<div className="flex items-start gap-3 min-w-0">
|
<div className="flex items-start gap-3 min-w-0">
|
||||||
<div className="w-9 h-9 rounded-xl bg-cyan-500/10 border border-cyan-400/25 flex items-center justify-center shrink-0">
|
<div className="w-9 h-9 rounded-xl bg-cyan-500/10 border border-cyan-400/25 flex items-center justify-center shrink-0">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue