From cce914d4bc688f04f70cffc915d8529fb3454121 Mon Sep 17 00:00:00 2001 From: aandrew-me Date: Sun, 7 Sep 2025 15:13:53 +0300 Subject: [PATCH] macOS and FreeBSD fixes --- READMES/README_tr.md | 79 ------------------- READMES/list.md | 2 - .../io.github.aandrew_me.ytdn.metainfo.xml | 1 - main.js | 10 +-- src/renderer.js | 2 + 5 files changed, 7 insertions(+), 87 deletions(-) delete mode 100644 READMES/README_tr.md delete mode 100644 READMES/list.md diff --git a/READMES/README_tr.md b/READMES/README_tr.md deleted file mode 100644 index 4780a16..0000000 --- a/READMES/README_tr.md +++ /dev/null @@ -1,79 +0,0 @@ - -# ytDownloader -[Yüzlerce site](https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md)yi destekleyen, modern bir video indirme programı - - - -[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/ytdownloader) - -[![Get AppImage](https://raw.githubusercontent.com/srevinsaju/get-appimage/master/static/badges/get-appimage-branding-blue.png)](https://github.com/aandrew-me/ytDownloader/releases/latest/download/YTDownloader.AppImage) - - - - -## Özellikler - -✅ Açık/Koyu tema - -✅ Youtube, Facebook, Instagram, Tiktok, Twitter dahil yüzlerce siteyi destekler. - -✅ İndirilecek dosyanın zaman aralığını seçme gibi gelişmiş özellikler - -✅ Windows ve Linux versiyonları mevcuttur - -✅ Hızlı indirme hızları - -✅ Elbette, izleyici ve reklam yok - -## Ekran Görüntüleri - -![image](https://user-images.githubusercontent.com/61632416/188954447-356acb65-09fb-43da-b79f-655767f4d2bb.png) -![image](https://user-images.githubusercontent.com/61632416/188954452-fd59f517-1d42-47be-ac8e-b0f9cab2c4b6.png) - - - - - -# Kurulum - -## Windows -exe dosyasını indirin ve kurulumu gerçekleştirin - -## Linux - -Linux için çeşitli seçenekler var - AppImage, Deb, Snap ve flatpak olarak indirebilirsiniz. - -### AppImage (Tıkla Çalıştır) - -**AppImage** formatı çoğu Linux dağıtımında desteklenir ve otomatik güncelleme özelliği vardır. Bu yüzden AppImage kullanmanız tavsiye edilir. -İndirildikten sonra sadece çalıştırılması gerekiyor. Daha fazlası için [AppImage sitesini ziyaret edin](https://appimage.org/). - -[AppImageLauncher](https://github.com/TheAssassin/AppImageLauncher), AppImage'leri entegre etmek için önerilir. - - -### Debian paketi -Ubuntu gibi Debian temelli dağıtımlar için .deb dosyası mevcuttur. İndirin ve komutu çalıştırın - -``` -sudo dpkg -i dosya_adı.deb -``` - -## Kaynak koddan derlemek ve çalıştırmak için - -[Nodejs](https://nodejs.org/) (npm ile birlikte) kurulu olması gerekiyor. - -Başlamak için komutlar. -``` -git clone https://github.com/aandrew-me/ytDownloader.git -cd ytDownloader -npm i -``` - -[Electron](https://www.electronjs.org/) ile çalıştırmak için : -``` -npm start -``` -Linux versiyonunu derlemek için -``` -npm run linux -``` diff --git a/READMES/list.md b/READMES/list.md deleted file mode 100644 index bef8241..0000000 --- a/READMES/list.md +++ /dev/null @@ -1,2 +0,0 @@ -## Available languages -- [Turkish](README_tr.md) \ No newline at end of file diff --git a/flatpak/io.github.aandrew_me.ytdn.metainfo.xml b/flatpak/io.github.aandrew_me.ytdn.metainfo.xml index 96d192c..ba93bed 100644 --- a/flatpak/io.github.aandrew_me.ytdn.metainfo.xml +++ b/flatpak/io.github.aandrew_me.ytdn.metainfo.xml @@ -24,7 +24,6 @@

✔️ Supports multiple themes

✔️ Completely free and open source

✔️ Fast download speeds

-

✔️ Free and Open Source

GPL-3.0 CC0-1.0 diff --git a/main.js b/main.js index 56a0dfd..81f9532 100644 --- a/main.js +++ b/main.js @@ -293,11 +293,11 @@ ipcMain.on("quit", () => { app.quit(); }); -ipcMain.handle('get-proxy', async (event, url) => { - const sess = event.sender.session; // get session from sender - const proxy = await sess.resolveProxy(url); - return proxy; -}); +// ipcMain.handle('get-proxy', async (event, url) => { +// const sess = event.sender.session; // get session from sender +// const proxy = await sess.resolveProxy(url); +// return proxy; +// }); // Auto update let autoUpdate = false; diff --git a/src/renderer.js b/src/renderer.js index ad2bdc0..98b3b49 100644 --- a/src/renderer.js +++ b/src/renderer.js @@ -128,6 +128,7 @@ if (os.platform() === "darwin") { showMacYtdlpPopup(); } else { ytDlpIsPresent = true; + ytDlp = new YTDlpWrap(`"${ytDlpPath}"`); setLocalStorageYtDlp(ytDlpPath); } } @@ -142,6 +143,7 @@ if (os.platform() === "freebsd") { .trim(); ytDlpIsPresent = true; + ytDlp = new YTDlpWrap(`"${ytDlpPath}"`); setLocalStorageYtDlp(ytDlpPath); } catch (error) { console.log(error);