MainWindow: Use different Sparkle URL for x86

This commit is contained in:
Jonas Kvinge 2022-08-13 20:19:43 +02:00
parent 1b754a35ff
commit 8d9af59db2
1 changed files with 4 additions and 0 deletions

View File

@ -223,8 +223,12 @@ const int kTrackPositionUpdateTimeMs = 1000;
#ifdef HAVE_QTSPARKLE #ifdef HAVE_QTSPARKLE
# ifdef _MSC_VER # ifdef _MSC_VER
# ifdef _M_X64
constexpr char QTSPARKLE_URL[] = "https://www.strawberrymusicplayer.org/sparkle-windows-msvc-x64"; constexpr char QTSPARKLE_URL[] = "https://www.strawberrymusicplayer.org/sparkle-windows-msvc-x64";
# else # else
constexpr char QTSPARKLE_URL[] = "https://www.strawberrymusicplayer.org/sparkle-windows-msvc-x86";
# endif
# else
# ifdef __x86_64__ # ifdef __x86_64__
constexpr char QTSPARKLE_URL[] = "https://www.strawberrymusicplayer.org/sparkle-windows-mingw-x64"; constexpr char QTSPARKLE_URL[] = "https://www.strawberrymusicplayer.org/sparkle-windows-mingw-x64";
# else # else