Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.
Rust downloadmanagerguihacktoberfesthomebrewlightweightlinuxlinux-distributionlocal-firstmacosmacos-packagemedia-toolboxopen-sourcerustsveltetauritrendingtrending-repositorieswindowswindows-desktopytdlp
fix(about): switch Discord to Telegram, restore star badge CSP, and update Telegram app credentials
IGECT6c0ac9c69512
diff --git a/src-tauri/plugins/telegram/src/platforms/telegram/auth.rs b/src-tauri/plugins/telegram/src/platforms/telegram/auth.rsindex ad9ffc0b..d1066b1b 100644--- a/src-tauri/plugins/telegram/src/platforms/telegram/auth.rs+++ b/src-tauri/plugins/telegram/src/platforms/telegram/auth.rs@@ -15,8 +15,8 @@ use qrcode::render::svg;use qrcode::QrCode;use tokio::sync::{mpsc, Mutex};-const API_ID: i32 = 15055931;-const API_HASH: &str = "021d433426cbb920eeb95164498fe3d3";+const API_ID: i32 = 35888717;+const API_HASH: &str = "16869ec2471d85a6bc4fe08aad088e67";pub type TelegramSessionHandle = Arc<Mutex<TelegramState>>;diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.jsonindex 4398b5fc..11ed582e 100644--- a/src-tauri/tauri.conf.json+++ b/src-tauri/tauri.conf.json@@ -25,7 +25,7 @@}],"security": {- "csp": "default-src 'self' ipc:; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline'; connect-src 'self' https: ipc:; img-src 'self' asset: data: blob: https:; media-src 'self' asset: blob: https:; font-src 'self' data:;",+ "csp": "default-src 'self' ipc:; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline'; connect-src 'self' https: ipc:; img-src 'self' asset: data: blob: https:; media-src 'self' asset: blob: https:; font-src 'self' data:; frame-src 'self' https://ghbtns.com;","assetProtocol": {"enable": true,"scope": {diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelteindex 621fd764..6d850bf2 100644--- a/src/routes/about/+page.svelte+++ b/src/routes/about/+page.svelte@@ -26,6 +26,16 @@e.preventDefault();await open("https://github.com/OpenSelena");}++ async function openProjectGithub(e: Event) {+ e.preventDefault();+ await open("https://github.com/OpenSelena/omniget");+ }++ async function openTelegram(e: Event) {+ e.preventDefault();+ await open("https://t.me/OpenSelena");+ }</script><div class="about-overview">@@ -61,17 +71,17 @@</div><div class="about-external">- <a href="https://github.com/OpenSelena/omniget" target="_blank" rel="noopener" class="btn about-ext-link">+ <a href="https://github.com/OpenSelena/omniget" target="_blank" rel="noopener" class="btn about-ext-link" onclick={openProjectGithub}><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"/></svg>{$t("about.star_button")}</a>- <a href="https://discord.gg/jgdxyPy7Vn" target="_blank" rel="noopener" class="btn about-ext-link">- <svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">- <path d="M18.9 5.3a16.6 16.6 0 0 0-4.1-1.3 12.2 12.2 0 0 0-.5 1.1 15.4 15.4 0 0 0-4.6 0A12.2 12.2 0 0 0 9.2 4a16.6 16.6 0 0 0-4.1 1.3A17.3 17.3 0 0 0 2 17.2a16.7 16.7 0 0 0 5.1 2.6 12.5 12.5 0 0 0 1.1-1.8 10.8 10.8 0 0 1-1.7-.8l.4-.3a11.9 11.9 0 0 0 10.2 0l.4.3a10.8 10.8 0 0 1-1.7.8 12.5 12.5 0 0 0 1.1 1.8 16.7 16.7 0 0 0 5.1-2.6A17.3 17.3 0 0 0 18.9 5.3zM8.7 14.8c-1 0-1.8-.9-1.8-2s.8-2 1.8-2 1.8.9 1.8 2-.8 2-1.8 2zm6.6 0c-1 0-1.8-.9-1.8-2s.8-2 1.8-2 1.8.9 1.8 2-.8 2-1.8 2z"/>+ <a href="https://t.me/OpenSelena" target="_blank" rel="noopener" class="btn about-ext-link" onclick={openTelegram}>+ <svg viewBox="0 0 24 24" width="16" height="16" fill="currentColor">+ <path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg>- Discord+ Telegram</a></div>