Skip to content

Commit

Permalink
Fix for update manager. Installer assembly for MacOS in dmg image.
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelsalawa committed Jul 24, 2018
1 parent 9549277 commit 3644b37
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions SQLiteStudio3/coreSQLiteStudio/services/updatemanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
UpdateManager::UpdateManager(QObject *parent) :
QObject(parent)
{
qRegisterMetaType<QList<UpdateManager::UpdateEntry>>();

connect(this, SIGNAL(updatingError(QString)), NOTIFY_MANAGER, SLOT(error(QString)));

QString updateBinary =
Expand Down
2 changes: 2 additions & 0 deletions SQLiteStudio3/coreSQLiteStudio/services/updatemanager.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ class API_EXPORT UpdateManager : public QObject
void updatingError(const QString& errorMessage);
};

Q_DECLARE_METATYPE(QList<UpdateManager::UpdateEntry>)

#define UPDATES SQLITESTUDIO->getUpdateManager()

#endif // PORTABLE_CONFIG
Expand Down
2 changes: 1 addition & 1 deletion scripts/installer/assemble.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 3644b37

Please sign in to comment.