Fix ffprobe path resolution and release v3.7.6

Use a safe path join for ffprobe instead of broad string replacement so video info, cutter duration, and merge duration checks work reliably on Windows installations.
This commit is contained in:
xRangerDE 2026-02-13 11:41:39 +01:00
parent 301132c9ee
commit 46f7085342
4 changed files with 8 additions and 7 deletions

View File

@ -1,12 +1,12 @@
{
"name": "twitch-vod-manager",
"version": "3.7.5",
"version": "3.7.6",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "twitch-vod-manager",
"version": "3.7.5",
"version": "3.7.6",
"license": "MIT",
"dependencies": {
"axios": "^1.6.0",

View File

@ -1,6 +1,6 @@
{
"name": "twitch-vod-manager",
"version": "3.7.5",
"version": "3.7.6",
"description": "Twitch VOD Manager - Download Twitch VODs easily",
"main": "dist/main.js",
"author": "xRangerDE",

View File

@ -335,7 +335,7 @@
<div class="settings-card">
<h3>Updates</h3>
<p id="versionInfo" style="margin-bottom: 10px; color: var(--text-secondary);">Version: v3.7.5</p>
<p id="versionInfo" style="margin-bottom: 10px; color: var(--text-secondary);">Version: v3.7.6</p>
<button class="btn-secondary" onclick="checkUpdate()">Nach Updates suchen</button>
</div>
</div>
@ -346,7 +346,7 @@
<div class="status-dot" id="statusDot"></div>
<span id="statusText">Nicht verbunden</span>
</div>
<span id="versionText">v3.7.5</span>
<span id="versionText">v3.7.6</span>
</div>
</main>
</div>

View File

@ -8,7 +8,7 @@ import { autoUpdater } from 'electron-updater';
// ==========================================
// CONFIG & CONSTANTS
// ==========================================
const APP_VERSION = '3.7.5';
const APP_VERSION = '3.7.6';
const UPDATE_CHECK_URL = 'http://24-music.de/version.json';
// Paths
@ -219,7 +219,8 @@ function getFFmpegPath(): string {
function getFFprobePath(): string {
const ffmpegPath = getFFmpegPath();
return ffmpegPath.replace('ffmpeg.exe', 'ffprobe.exe').replace('ffmpeg', 'ffprobe');
const ffprobeExe = process.platform === 'win32' ? 'ffprobe.exe' : 'ffprobe';
return path.join(path.dirname(ffmpegPath), ffprobeExe);
}
// ==========================================