mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4be5c14999 | ||
|
|
b92ffebdb4 | ||
|
|
7b6e48b09e |
@@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
<!-- Release -->
|
<!-- Release -->
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
<!-- Build (Next Release) -->
|
<!-- Build (Next Release) -->
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
> Ce projet a pour but de permettre le téléchargement de contenu Vidéo/Audio de manière gratuite, open source et libre.
|
> Ce projet a pour but de permettre le téléchargement de contenu Vidéo/Audio de manière gratuite, open source et libre.
|
||||||
|
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
<!-- Release -->
|
<!-- Release -->
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
<!-- Build (Next Release) -->
|
<!-- Build (Next Release) -->
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
> This project aims to enable free, open-source, and unrestricted downloading of Video/Audio content.
|
> This project aims to enable free, open-source, and unrestricted downloading of Video/Audio content.
|
||||||
|
|
||||||
|
|||||||
2
main.js
2
main.js
@@ -40,7 +40,7 @@ async function createWindow() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mainWindow = new BrowserWindow({
|
mainWindow = new BrowserWindow({
|
||||||
title: "Freedom Loader 1.2.3", // A Changer à chaque Version
|
title: "Freedom Loader 1.2.4", // A Changer à chaque Version
|
||||||
width: 750,
|
width: 750,
|
||||||
height: 800,
|
height: 800,
|
||||||
minWidth: 750,
|
minWidth: 750,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "freedom-loader",
|
"name": "freedom-loader",
|
||||||
"productName": "Freedom Loader",
|
"productName": "Freedom Loader",
|
||||||
"version": "1.2.3",
|
"version": "1.2.4",
|
||||||
"author": "MasterAcnolo",
|
"author": "MasterAcnolo",
|
||||||
"description": "Freedom Loader",
|
"description": "Freedom Loader",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
@@ -50,8 +50,8 @@
|
|||||||
"to": "confirm-icon.png"
|
"to": "confirm-icon.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"from": "ressources/yt-dlp 2025.09.23.exe",
|
"from": "ressources/yt-dlp.exe",
|
||||||
"to": "yt-dlp 2025.09.23.exe"
|
"to": "yt-dlp.exe"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"from": "ressources/ffmpeg.exe",
|
"from": "ressources/ffmpeg.exe",
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -23,7 +23,15 @@ const logger = require("../logger").logger;
|
|||||||
|
|
||||||
// Path vers le fichier exécutable yt-dlp (outil tiers pour le téléchargement)
|
// Path vers le fichier exécutable yt-dlp (outil tiers pour le téléchargement)
|
||||||
// const ytDlpPath = path.join(process.resourcesPath, '../../yt-dlp.exe');
|
// const ytDlpPath = path.join(process.resourcesPath, '../../yt-dlp.exe');
|
||||||
const ytDlpPath = path.join(process.resourcesPath, 'yt-dlp 2025.09.23.exe');
|
const ytDlpPath = path.join(process.resourcesPath, 'yt-dlp.exe');
|
||||||
|
|
||||||
|
execFile(ytDlpPath, ["-U"], (err, stdout, stderr) => {
|
||||||
|
if (err) {
|
||||||
|
logger.error("Erreur update yt-dlp:", err);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
logger.info(`Update yt-dlp : ${stdout}`);
|
||||||
|
});
|
||||||
|
|
||||||
router.post("/", (req, res) => {
|
router.post("/", (req, res) => {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ const fs = require("fs");
|
|||||||
const { logger } = require("../logger"); // On récupère ton logger Winston
|
const { logger } = require("../logger"); // On récupère ton logger Winston
|
||||||
|
|
||||||
// Path absolu vers l'exécutable yt-dlp
|
// Path absolu vers l'exécutable yt-dlp
|
||||||
const ytDlpPath = path.join(__dirname, '../../ressources/yt-dlp 2025.09.23.exe');
|
const ytDlpPath = path.join(__dirname, '../../ressources/yt-dlp.exe');
|
||||||
|
|
||||||
// Vérification que yt-dlp.exe existe bien au lancement du module
|
// Vérification que yt-dlp.exe existe bien au lancement du module
|
||||||
if (!fs.existsSync(ytDlpPath)) {
|
if (!fs.existsSync(ytDlpPath)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user