The bundling loop ran under set -euo pipefail; once no new /mingw64 deps
remained, grep exited 1 and aborted the script before makensis ran, so no
Setup.exe was produced. Disable strict mode in that subshell and collect
deps before copying. Anchor all installer source paths to the script dir
via ${__FILEDIR__} and switch the File glob to "\*" so extensionless files
and plugin subfolders are included.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
build-linux.sh configures and builds via CMake. build-windows.sh builds
in MSYS2/MINGW64, bundles Qt and transitive MinGW DLLs via windeployqt
plus an ldd pass, and produces an NSIS installer (installer.nsi). Ignore
the dist/ output and generated Setup.exe.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Block saving a new item when one already exists, so no duplicate is
created and existing progress is never overwritten. Matches by provider
id (external_source/external_id) when available, otherwise by media
type, year and title.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>