diff --git a/SQLiteStudio3/coreSQLiteStudio/services/updatemanager.cpp b/SQLiteStudio3/coreSQLiteStudio/services/updatemanager.cpp index 88276f0a49..87df73b2b2 100644 --- a/SQLiteStudio3/coreSQLiteStudio/services/updatemanager.cpp +++ b/SQLiteStudio3/coreSQLiteStudio/services/updatemanager.cpp @@ -12,6 +12,8 @@ UpdateManager::UpdateManager(QObject *parent) : QObject(parent) { + qRegisterMetaType>(); + connect(this, SIGNAL(updatingError(QString)), NOTIFY_MANAGER, SLOT(error(QString))); QString updateBinary = diff --git a/SQLiteStudio3/coreSQLiteStudio/services/updatemanager.h b/SQLiteStudio3/coreSQLiteStudio/services/updatemanager.h index 107857590b..50f4b6b296 100644 --- a/SQLiteStudio3/coreSQLiteStudio/services/updatemanager.h +++ b/SQLiteStudio3/coreSQLiteStudio/services/updatemanager.h @@ -44,6 +44,8 @@ class API_EXPORT UpdateManager : public QObject void updatingError(const QString& errorMessage); }; +Q_DECLARE_METATYPE(QList) + #define UPDATES SQLITESTUDIO->getUpdateManager() #endif // PORTABLE_CONFIG diff --git a/scripts/installer/assemble.tcl b/scripts/installer/assemble.tcl index b0108b3ace..5b0daed9af 100644 --- a/scripts/installer/assemble.tcl +++ b/scripts/installer/assemble.tcl @@ -151,7 +151,7 @@ proc defineGlobalVars {} { set ::libPref "lib" set ::dirsToSkipInPathBeginning 1 set qtCoreFile "$::portableDir/SQLiteStudio/SQLiteStudio.app/Contents/Frameworks/QtCore.framework/QtCore" - set ::output [file normalize $::targetDir/InstallSQLiteStudio-${::sqliteStudioVersion}] + set ::output [file normalize $::targetDir/InstallSQLiteStudio-${::sqliteStudioVersion}.dmg] } "win32" { set ::portableDir [file normalize ../../output/portable]