mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
deploy fix
This commit is contained in:
@@ -41,6 +41,8 @@ QProcessEnvironment OpenVpnConfigurator::prepareEnv()
|
||||
QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
|
||||
QString pathEnvVar = env.value("PATH");
|
||||
pathEnvVar.prepend(QDir::toNativeSeparators(QApplication::applicationDirPath()) + "\\easyrsa\\bin;");
|
||||
pathEnvVar.prepend(QDir::toNativeSeparators(QApplication::applicationDirPath()) + "\\openvpn\\i386;");
|
||||
pathEnvVar.prepend(QDir::toNativeSeparators(QApplication::applicationDirPath()) + "\\openvpn\\x64;");
|
||||
|
||||
env.insert("PATH", pathEnvVar);
|
||||
return env;
|
||||
|
||||
@@ -51,13 +51,11 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
// Post initialization
|
||||
|
||||
if (m_settings->haveAuthData()) {
|
||||
goToPage(Page::Vpn);
|
||||
ui->stackedWidget_main->setCurrentWidget(ui->page_amnezia);
|
||||
} else {
|
||||
goToPage(Page::Initialization);
|
||||
ui->stackedWidget_main->setCurrentWidget(ui->page_new_server);
|
||||
}
|
||||
|
||||
//goToPage(Page::Initialization);
|
||||
|
||||
connect(ui->pushButton_blocked_list, SIGNAL(clicked(bool)), this, SLOT(onPushButtonBlockedListClicked(bool)));
|
||||
connect(ui->pushButton_connect, SIGNAL(toggled(bool)), this, SLOT(onPushButtonConnectToggled(bool)));
|
||||
connect(ui->pushButton_settings, SIGNAL(clicked(bool)), this, SLOT(onPushButtonSettingsClicked(bool)));
|
||||
|
||||
@@ -267,7 +267,7 @@ QStackedWidget QWidget {
|
||||
</string>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
<number>2</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="page_connect_server">
|
||||
<widget class="QLabel" name="label_23">
|
||||
@@ -833,9 +833,6 @@ QPushButton:hover {
|
||||
<height>325</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="cursor">
|
||||
<cursorShape>PointingHandCursor</cursorShape>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border-image: url(:/images/background_connected.png);</string>
|
||||
</property>
|
||||
@@ -1114,6 +1111,9 @@ color: #181922;
|
||||
<property name="text">
|
||||
<string>For all connections</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QRadioButton" name="radioButton_2">
|
||||
<property name="enabled">
|
||||
@@ -1131,7 +1131,7 @@ color: #181922;
|
||||
<string>For selected sites</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
|
||||
BIN
deploy/data/windows/openvpn/i386/openssl.exe
Normal file
BIN
deploy/data/windows/openvpn/i386/openssl.exe
Normal file
Binary file not shown.
Reference in New Issue
Block a user