mirror of
https://github.com/wownero/wowlet.git
synced 2026-11-27 18:44:06 +01:00
Linux activation
Lets annoy some Linux users by showing a watermark in the bottom-right corner:  Settings  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: 
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user