mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
minor fixes:
-build_windows.bat -win build fix -qdebug fix
This commit is contained in:
@@ -263,7 +263,6 @@ void MainWindow::onPushButtonNewServerConnectWithExistingCode(bool)
|
|||||||
s.replace("vpn://", "");
|
s.replace("vpn://", "");
|
||||||
QJsonObject o = QJsonDocument::fromJson(QByteArray::fromBase64(s.toUtf8())).object();
|
QJsonObject o = QJsonDocument::fromJson(QByteArray::fromBase64(s.toUtf8())).object();
|
||||||
|
|
||||||
qDebug().noquote() << QByteArray::fromBase64(s.toUtf8());
|
|
||||||
ServerCredentials credentials;
|
ServerCredentials credentials;
|
||||||
credentials.hostName = o.value("h").toString();
|
credentials.hostName = o.value("h").toString();
|
||||||
credentials.port = o.value("p").toInt();
|
credentials.port = o.value("p").toInt();
|
||||||
|
|||||||
@@ -65,6 +65,8 @@ cd %PROJECT_DIR%
|
|||||||
cd %WORK_DIR%
|
cd %WORK_DIR%
|
||||||
set CL=/MP
|
set CL=/MP
|
||||||
nmake /A /NOLOGO
|
nmake /A /NOLOGO
|
||||||
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
||||||
|
|
||||||
nmake clean
|
nmake clean
|
||||||
rem if not exist "%OUT_APP_DIR:"=%\%APP_FILENAME:"=%" break
|
rem if not exist "%OUT_APP_DIR:"=%\%APP_FILENAME:"=%" break
|
||||||
|
|
||||||
|
|||||||
@@ -274,7 +274,7 @@ bool RouterWin::clearSavedRoutes()
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RouterWin:routeDelete(const QString &ip)
|
bool RouterWin::routeDelete(const QString &ip)
|
||||||
{
|
{
|
||||||
qDebug().noquote() << QString("ROUTE DELETE, IP: %1").arg(ip);
|
qDebug().noquote() << QString("ROUTE DELETE, IP: %1").arg(ip);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user