changeset 98:fb4ca43863b5

This will be a test release
author Chris Cannam
date Fri, 28 Feb 2020 11:34:19 +0000
parents b5230bda1f1f
children de8552bfeadf
files installer.cpp version.h
diffstat 2 files changed, 15 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/installer.cpp	Fri Feb 28 10:41:54 2020 +0000
+++ b/installer.cpp	Fri Feb 28 11:34:19 2020 +0000
@@ -54,6 +54,7 @@
 #include <QProgressDialog>
 #include <QThread>
 #include <QDateTime>
+#include <QTimer>
 
 #include <vamp-hostsdk/PluginHostAdapter.h>
 
@@ -932,7 +933,19 @@
                  SVCERR << "WARNING: Unexpected role " << role << endl;
              }
          });
-    
+
+    if (QString(PACK_VERSION).contains("-pre") ||
+        QString(PACK_VERSION).contains("-alpha") ||
+        QString(PACK_VERSION).contains("-beta")) {
+        QTimer::singleShot
+            (500, [&]() {
+                      QString url = "https://code.soundsoftware.ac.uk/projects/vamp-plugin-pack";
+                      QMessageBox::information
+                          (&dialog, QObject::tr("Test release"),
+                           QObject::tr("<b>This is a test release of %1</b><p>Please send any feedback to the developers. See <a href=\"%2\">%3</a> for more information.</p>").arg(QApplication::applicationName()).arg(url).arg(url));
+                  });
+    }
+
     if (dialog.exec() != QDialog::Accepted) {
         SVCERR << "rejected" << endl;
         return {};
--- a/version.h	Fri Feb 28 10:41:54 2020 +0000
+++ b/version.h	Fri Feb 28 11:34:19 2020 +0000
@@ -1,1 +1,1 @@
-#define PACK_VERSION "1.0"
+#define PACK_VERSION "1.0-pre1"