Linux activation

Lets annoy some Linux users by showing a watermark in the bottom-right corner:

![https://i.imgur.com/XdrQDCt.png](https://i.imgur.com/XdrQDCt.png)

Settings

![https://i.imgur.com/1yNDYuJ.png](https://i.imgur.com/1yNDYuJ.png)

Serial number(s) will be available on the Wownero forum in a topic posted by notorious software pirate `sp00kyhax`.

With these serial(s) one can activate WOWlet:

![https://i.imgur.com/cGpmpkk.png](https://i.imgur.com/cGpmpkk.png)
This commit is contained in:
dsc
2022-05-18 00:07:38 +02:00
parent 46accb1077
commit 6cf4299f78
11 changed files with 519 additions and 4 deletions
+9
View File
@@ -4,6 +4,7 @@
#include <QPixmap>
#include <QMessageBox>
#include <QDesktopServices>
#include <QDesktopWidget>
#include <QCoreApplication>
#include <QSystemTrayIcon>
#include <QMessageBox>
@@ -27,6 +28,7 @@
#include "globals.h"
#include "config-wowlet.h"
#include "utils/ColorScheme.h"
#include "utils/activate_linux.h"
// libwalletqt
#include "libwalletqt/AddressBook.h"
@@ -359,6 +361,13 @@ MainWindow::MainWindow(AppContext *ctx, QWidget *parent) :
m_touchbarWizardItems = {m_touchbarActionWelcome};
#endif
#ifdef LINUX_ACTIVATION
// Linux activation kek
auto activatedSerial = config()->get(Config::LinuxActivated).toString();
if(activatedSerial.isEmpty())
LinuxActivator::start();
#endif
// setup some UI
this->initMain();
this->initWidgets();