Fix update loop: read APP_VERSION from package.json v1.3.1

APP_VERSION was hardcoded as "1.1.29" in constants.ts causing the app
to always report the old version and re-trigger the update prompt.
Now reads version dynamically from package.json via import.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sucukdeluxe
2026-02-27 13:43:33 +01:00
co-authored by Claude Opus 4.6
parent 73c8b6e670
commit 7381e54f4f
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "real-debrid-downloader",
"version": "1.3.0",
"version": "1.3.1",
"description": "Real-Debrid Downloader Desktop (Electron + React + TypeScript)",
"main": "build/main/main/main.js",
"author": "Sucukdeluxe",