diff --git a/src/appcontext.cpp b/src/appcontext.cpp index 6e0c323..37e9a9a 100644 --- a/src/appcontext.cpp +++ b/src/appcontext.cpp @@ -154,8 +154,7 @@ AppContext::AppContext(QCommandLineParser *cmdargs) { // XMRig #ifdef HAS_XMRIG this->XMRig = new XmRig(this->configDirectory, this); - if(!this->isTails) - this->XMRig->prepare(); + this->XMRig->prepare(); #endif this->walletManager = WalletManager::instance(); diff --git a/src/widgets/xmrigwidget.cpp b/src/widgets/xmrigwidget.cpp index 68dbe92..0795440 100644 --- a/src/widgets/xmrigwidget.cpp +++ b/src/widgets/xmrigwidget.cpp @@ -85,12 +85,8 @@ XMRigWidget::XMRigWidget(AppContext *ctx, QWidget *parent) : ui->console->appendPlainText("Invalid path to XMRig binary detected. Please reconfigure on the Settings tab."); else ui->console->appendPlainText(QString("XMRig path set to %1").arg(path)); - if(m_ctx->isTails) { - ui->console->appendPlainText("Mining not available on Tails."); - ui->btn_start->setEnabled(false); - } - else - ui->console->appendPlainText("Ready to mine."); + + ui->console->appendPlainText("Ready to mine."); // username/password connect(ui->lineEdit_password, &QLineEdit::editingFinished, [=]() {