Merge branch 'dev' of github.com:amnezia-vpn/amnezia-client into bugfix/split-tunneling
This commit is contained in:
commit
3340451245
12 changed files with 235 additions and 104 deletions
|
|
@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.25.0 FATAL_ERROR)
|
|||
|
||||
set(PROJECT AmneziaVPN)
|
||||
|
||||
project(${PROJECT} VERSION 4.0.8.2
|
||||
project(${PROJECT} VERSION 4.0.8.3
|
||||
DESCRIPTION "AmneziaVPN"
|
||||
HOMEPAGE_URL "https://amnezia.org/"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -119,13 +119,17 @@
|
|||
<name>HomeContainersListView</name>
|
||||
<message>
|
||||
<location filename="../ui/qml/Components/HomeContainersListView.qml" line="58"/>
|
||||
<source>Unable change protocol while there is an active connection</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Components/HomeContainersListView.qml" line="69"/>
|
||||
<source>The selected protocol is not supported on the current platform</source>
|
||||
<translation>Выбранный протокол не поддерживается на данном устройстве</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Components/HomeContainersListView.qml" line="76"/>
|
||||
<source>Reconnect via VPN Procotol: </source>
|
||||
<translation>Переподключение через VPN протокол: </translation>
|
||||
<translation type="vanished">Переподключение через VPN протокол: </translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
|
@ -267,6 +271,11 @@ Already installed containers were found on the server. All installed containers
|
|||
<source>Servers</source>
|
||||
<translation>Серверы</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageHome.qml" line="480"/>
|
||||
<source>Unable change server while there is an active connection</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PageProtocolAwgSettings</name>
|
||||
|
|
@ -611,7 +620,7 @@ Already installed containers were found on the server. All installed containers
|
|||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageProtocolRaw.qml" line="177"/>
|
||||
<source>All users who you shared a connection with will no longer be able to connect to it.</source>
|
||||
<translation>Все пользователи, с которыми вы поделились этим VPN-протоколом, больше не смогут к нему подключаться.</translation>
|
||||
<translation type="unfinished">Все пользователи, с которыми вы поделились этим VPN-протоколом, больше не смогут к нему подключаться.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageProtocolRaw.qml" line="178"/>
|
||||
|
|
@ -765,7 +774,7 @@ Already installed containers were found on the server. All installed containers
|
|||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageServiceSftpSettings.qml" line="251"/>
|
||||
<source>Remove SFTP and all data stored there?</source>
|
||||
<translation>Удалить SFTP-хранилище и все хранящиеся на нем данные?</translation>
|
||||
<translation>Удалить SFTP-хранилище и все хранящиеся на нем данные?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageServiceSftpSettings.qml" line="252"/>
|
||||
|
|
@ -985,8 +994,8 @@ Already installed containers were found on the server. All installed containers
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsApplication.qml" line="73"/>
|
||||
<source>Launch the application every time %1 starts</source>
|
||||
<translation>Запускать приложение при каждом включении %1</translation>
|
||||
<source>Launch the application every time the device is starts</source>
|
||||
<translation>Запускать приложение при каждом включении</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsApplication.qml" line="93"/>
|
||||
|
|
@ -1085,7 +1094,7 @@ Already installed containers were found on the server. All installed containers
|
|||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsBackup.qml" line="106"/>
|
||||
<source>Backup file saved</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Бэкап файл сохранен</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsBackup.qml" line="122"/>
|
||||
|
|
@ -1184,52 +1193,52 @@ Already installed containers were found on the server. All installed containers
|
|||
<translation>DNS сервер</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="49"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="50"/>
|
||||
<source>If AmneziaDNS is not used or installed</source>
|
||||
<translation>Эти адреса будут использоваться, если не включен или не установлен AmneziaDNS</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="56"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="57"/>
|
||||
<source>Primary DNS</source>
|
||||
<translation>Первичный DNS</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="68"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="69"/>
|
||||
<source>Secondary DNS</source>
|
||||
<translation>Вторичный DNS</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="86"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="87"/>
|
||||
<source>Restore default</source>
|
||||
<translation>Восстановить по умолчанию</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="89"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="90"/>
|
||||
<source>Restore default DNS settings?</source>
|
||||
<translation>Восстановить настройки DNS по умолчанию?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="90"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="91"/>
|
||||
<source>Continue</source>
|
||||
<translation>Продолжить</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="91"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="92"/>
|
||||
<source>Cancel</source>
|
||||
<translation>Отменить</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="99"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="100"/>
|
||||
<source>Settings have been reset</source>
|
||||
<translation>Настройки сброшены</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="111"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="112"/>
|
||||
<source>Save</source>
|
||||
<translation>Сохранить</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="120"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="121"/>
|
||||
<source>Settings saved</source>
|
||||
<translation>Сохранить настройки</translation>
|
||||
</message>
|
||||
|
|
@ -1244,7 +1253,7 @@ Already installed containers were found on the server. All installed containers
|
|||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsLogging.qml" line="54"/>
|
||||
<source>Save logs</source>
|
||||
<translation>Сохранить логи</translation>
|
||||
<translation>Сохранять логи</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsLogging.qml" line="86"/>
|
||||
|
|
@ -1264,7 +1273,7 @@ Already installed containers were found on the server. All installed containers
|
|||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsLogging.qml" line="118"/>
|
||||
<source>Logs file saved</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Файл с логами сохранен</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsLogging.qml" line="127"/>
|
||||
|
|
@ -1700,12 +1709,12 @@ and will not be shared or disclosed to the Amnezia or any third parties</source>
|
|||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardInstalling.qml" line="62"/>
|
||||
<source>Amnezia has detected that your server is currently </source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Amnezia обнаружила, что ваш сервер в настоящее время </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardInstalling.qml" line="63"/>
|
||||
<source>busy installing other software. Amnezia installation </source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>занят установкой другого программного обеспечения. Установка Amnezia </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardInstalling.qml" line="64"/>
|
||||
|
|
@ -2424,7 +2433,15 @@ While it offers a blend of security, stability, and speed, it's essential t
|
|||
* Minimal configuration
|
||||
* Recognised by DPI analysis systems
|
||||
* Works over UDP network protocol, ports 500 and 4500.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>IKEv2 в сочетании с уровнем шифрования IPSec это современный и стабильный протокол VPN.
|
||||
Он может быстро переключаться между сетями и устройствами, что делает его особенно адаптивным в динамичных сетевых средах.
|
||||
Несмотря на сочетание безопасности, стабильности и скорости, необходимо отметить, что IKEv2 легко обнаруживается и подвержен блокировке.
|
||||
|
||||
* Доступно в AmneziaVPN только для Windows.
|
||||
* Низкое энергопотребление, на мобильных устройствах
|
||||
* Минимальная конфигурация
|
||||
* Распознается системами DPI-анализа
|
||||
* Работает по сетевому протоколу UDP, порты 500 и 4500.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="215"/>
|
||||
|
|
@ -2470,7 +2487,7 @@ While it offers a blend of security, stability, and speed, it's essential t
|
|||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="111"/>
|
||||
<source>AmneziaWG - Special protocol from Amnezia, based on WireGuard. It's fast like WireGuard, but very resistant to blockages. Recommended for regions with high levels of censorship.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>AmneziaWG - Специальный протокол от Amnezia, основанный на протоколе WireGuard. Он такой же быстрый, как WireGuard, но очень устойчив к блокировкам. Рекомендуется для регионов с высоким уровнем цензуры.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="115"/>
|
||||
|
|
@ -2502,7 +2519,14 @@ It employs its unique security protocol, leveraging the strength of SSL/TLS for
|
|||
* Flexible customisation to suit user needs to work with different operating systems and devices
|
||||
* Recognised by DPI analysis systems and therefore susceptible to blocking
|
||||
* Can operate over both TCP and UDP network protocols.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>OpenVPN однин из самых популярных и проверенных временем VPN-протоколов.
|
||||
В нем используется уникальный протокол безопасности, опирающийся на протокол SSL/TLS для шифрования и обмена ключами. Кроме того, поддержка OpenVPN множества методов аутентификации делает его универсальным и адаптируемым к широкому спектру устройств и операционных систем. Благодаря открытому исходному коду OpenVPN подвергается тщательному анализу со стороны мирового сообщества, что постоянно повышает его безопасность. Благодаря оптимальному соотношению производительности, безопасности и совместимости OpenVPN остается лучшим выбором как для частных лиц, так и для компаний, заботящихся о конфиденциальности.
|
||||
|
||||
* Доступность AmneziaVPN для всех платформ
|
||||
* Нормальное энергопотребление на мобильных устройствах
|
||||
* Гибкая настройка под нужды пользователя для работы с различными операционными системами и устройствами
|
||||
* Распознается системами DPI-анализа и поэтому подвержен блокировке
|
||||
* Может работать по сетевым протоколам TCP и UDP.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="145"/>
|
||||
|
|
@ -2514,7 +2538,12 @@ It employs its unique security protocol, leveraging the strength of SSL/TLS for
|
|||
* Configurable encryption protocol
|
||||
* Detectable by some DPI systems
|
||||
* Works over TCP network protocol.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Shadowsocks, создан на основе протокола SOCKS5, защищает соединение с помощью шифра AEAD. Несмотря на то, что протокол Shadowsocks разработан таким образом, чтобы быть незаметным и сложным для идентификации, он не идентичен стандартному HTTPS-соединению. Однако некоторые системы анализа трафика все же могут обнаружить соединение Shadowsocks. В связи с ограниченной поддержкой в Amnezia рекомендуется использовать протокол AmneziaWG, или OpenVPN over Cloak.
|
||||
|
||||
* Доступен в AmneziaVPN только на ПК ноутбуках.
|
||||
* Настраиваемый протокол шифрования
|
||||
* Обнаруживается некоторыми DPI-системами
|
||||
* Работает по сетевому протоколу TCP.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="155"/>
|
||||
|
|
@ -2536,7 +2565,24 @@ If there is a extreme level of Internet censorship in your region, we advise you
|
|||
* Not recognised by DPI analysis systems
|
||||
* Works over TCP network protocol, 443 port.
|
||||
</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>OpenVPN over Cloak - это комбинация протокола OpenVPN и плагина Cloak, разработанного специально для защиты от блокировок.
|
||||
|
||||
OpenVPN обеспечивает безопасное VPN-соединение за счет шифрования всего интернет-трафика между клиентом и сервером.
|
||||
|
||||
Cloak защищает OpenVPN от обнаружения и блокировок.
|
||||
|
||||
Cloak может изменять метаданные пакетов. Он полностью маскирует VPN-трафик под обычный веб-трафик, а также защищает VPN от обнаружения с помощью Active Probing. Это делает ее очень устойчивой к обнаружению
|
||||
|
||||
Сразу же после получения первого пакета данных Cloak проверяет подлинность входящего соединения. Если аутентификация не проходит, плагин маскирует сервер под поддельный сайт, и ваша VPN становится невидимой для аналитических систем.
|
||||
|
||||
Если в вашем регионе существует экстремальный уровень цензуры в Интернете, мы советуем вам при первом подключении использовать только OpenVPN через Cloak
|
||||
|
||||
* Доступность AmneziaVPN на всех платформах
|
||||
* Высокое энергопотребление на мобильных устройствах
|
||||
* Гибкие настройки
|
||||
* Не распознается системами DPI-анализа
|
||||
* Работает по сетевому протоколу TCP, 443 порт.
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="174"/>
|
||||
|
|
@ -2549,7 +2595,15 @@ WireGuard is very susceptible to blocking due to its distinct packet signatures.
|
|||
* Minimum number of settings
|
||||
* Easily recognised by DPI analysis systems, susceptible to blocking
|
||||
* Works over UDP network protocol.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>WireGuard - относительно новый популярный VPN-протокол с упрощенной архитектурой.
|
||||
Обеспечивает стабильное VPN-соединение, высокую производительность на всех устройствах. Использует жестко заданные настройки шифрования. WireGuard по сравнению с OpenVPN имеет меньшую задержку и лучшую пропускную способность при передаче данных.
|
||||
WireGuard очень восприимчив к блокированию из-за особенностей сигнатур пакетов. В отличие от некоторых других VPN-протоколов, использующих методы обфускации, последовательные сигнатуры пакетов WireGuard легче выявляются и, соответственно, блокируются современными системами глубокой проверки пакетов (DPI) и другими средствами сетевого мониторинга.
|
||||
|
||||
* Доступность AmneziaVPN для всех платформ
|
||||
* Низкое энергопотребление
|
||||
* Минимальное количество настроек
|
||||
* Легко распознается системами DPI-анализа, подвержен блокировке
|
||||
* Работает по сетевому протоколу UDP.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="187"/>
|
||||
|
|
@ -2562,7 +2616,15 @@ This means that AmneziaWG keeps the fast performance of the original while addin
|
|||
* Minimum number of settings
|
||||
* Not recognised by DPI analysis systems, resistant to blocking
|
||||
* Works over UDP network protocol.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>AmneziaWG - усовершенствованная версия популярного VPN-протокола Wireguard. AmneziaWG опирается на фундамент, заложенный WireGuard, сохраняя упрощенную архитектуру и высокопроизводительные возможности работы на разных устройствах.
|
||||
Хотя WireGuard известен своей эффективностью, у него были проблемы с обнаружением из-за характерных сигнатур пакетов. AmneziaWG решает эту проблему за счет использования более совершенных методов обфускации, благодаря чему его трафик сливается с обычным интернет-трафиком.
|
||||
Таким образом, AmneziaWG сохраняет высокую производительность оригинала, добавляя при этом дополнительный уровень скрытности, что делает его отличным выбором для тех, кому нужно быстрое и незаметное VPN-соединение.
|
||||
|
||||
* Доступность AmneziaVPN на всех платформах
|
||||
* Низкое энергопотребление
|
||||
* Минимальное количество настроек
|
||||
* Не распознается системами DPI-анализа, устойчив к блокировке
|
||||
* Работает по сетевому протоколу UDP.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>AmneziaWG container</source>
|
||||
|
|
@ -2873,7 +2935,7 @@ This means that AmneziaWG keeps the fast performance of the original while addin
|
|||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="309"/>
|
||||
<source>Medium or High</source>
|
||||
<translation>Спедний или Высокий</translation>
|
||||
<translation>Средний или Высокий</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="310"/>
|
||||
|
|
@ -2921,7 +2983,7 @@ This means that AmneziaWG keeps the fast performance of the original while addin
|
|||
<message>
|
||||
<location filename="../ui/qml/main2.qml" line="172"/>
|
||||
<source>Private key passphrase</source>
|
||||
<translation>Кодовая фраза для закрытого ключа</translation>
|
||||
<translation>Кодовая фраза для закрытого ключа</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/main2.qml" line="191"/>
|
||||
|
|
|
|||
|
|
@ -74,17 +74,17 @@
|
|||
<message>
|
||||
<location filename="../ui/qml/Components/ConnectionTypeSelectionDrawer.qml" line="30"/>
|
||||
<source>Add new connection</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>添加新连接</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Components/ConnectionTypeSelectionDrawer.qml" line="38"/>
|
||||
<source>Configure your server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>配置您的服务器</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Components/ConnectionTypeSelectionDrawer.qml" line="52"/>
|
||||
<source>Open config file, key or QR code</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>配置文件,授权码或二维码</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Server IP, login and password</source>
|
||||
|
|
@ -130,13 +130,17 @@
|
|||
<name>HomeContainersListView</name>
|
||||
<message>
|
||||
<location filename="../ui/qml/Components/HomeContainersListView.qml" line="58"/>
|
||||
<source>Unable change protocol while there is an active connection</source>
|
||||
<translation>Невозможно изменить протокол при наличии активного соединения</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Components/HomeContainersListView.qml" line="69"/>
|
||||
<source>The selected protocol is not supported on the current platform</source>
|
||||
<translation>当前平台不支持所选协议</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Components/HomeContainersListView.qml" line="76"/>
|
||||
<source>Reconnect via VPN Procotol: </source>
|
||||
<translation>重连VPN基于协议: </translation>
|
||||
<translation type="vanished">重连VPN基于协议: </translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
|
@ -301,6 +305,11 @@ Already installed containers were found on the server. All installed containers
|
|||
<source>Servers</source>
|
||||
<translation>服务器</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageHome.qml" line="480"/>
|
||||
<source>Unable change server while there is an active connection</source>
|
||||
<translation>Невозможно изменить сервер при наличии активного соединения</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PageProtocolAwgSettings</name>
|
||||
|
|
@ -860,7 +869,7 @@ Already installed containers were found on the server. All installed containers
|
|||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageServiceTorWebsiteSettings.qml" line="112"/>
|
||||
<source>When configuring WordPress set the this onion address as domain.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>配置 WordPress 时,将此洋葱地址设置为域。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>When configuring WordPress set the domain as this onion address.</source>
|
||||
|
|
@ -1046,9 +1055,13 @@ And if you don't like the app, all the more support it - the donation will
|
|||
<translation type="obsolete"> 启动时自动运行运用程序</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsApplication.qml" line="73"/>
|
||||
<source>Launch the application every time %1 starts</source>
|
||||
<translation>运行应用软件在%1系统启动时</translation>
|
||||
<translation type="vanished">运行应用软件在%1系统启动时</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsApplication.qml" line="73"/>
|
||||
<source>Launch the application every time the device is starts</source>
|
||||
<translation>每次设备启动时启动应用程序</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsApplication.qml" line="93"/>
|
||||
|
|
@ -1151,7 +1164,7 @@ And if you don't like the app, all the more support it - the donation will
|
|||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsBackup.qml" line="106"/>
|
||||
<source>Backup file saved</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>备份文件已保存</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsBackup.qml" line="122"/>
|
||||
|
|
@ -1266,52 +1279,52 @@ And if you don't like the app, all the more support it - the donation will
|
|||
<translation>DNS服务器</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="49"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="50"/>
|
||||
<source>If AmneziaDNS is not used or installed</source>
|
||||
<translation>如果未使用或未安装AmneziaDNS</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="56"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="57"/>
|
||||
<source>Primary DNS</source>
|
||||
<translation>首选 DNS</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="68"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="69"/>
|
||||
<source>Secondary DNS</source>
|
||||
<translation>备用 DNS</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="86"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="87"/>
|
||||
<source>Restore default</source>
|
||||
<translation>恢复默认配置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="89"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="90"/>
|
||||
<source>Restore default DNS settings?</source>
|
||||
<translation>是否恢复默认DNS配置?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="90"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="91"/>
|
||||
<source>Continue</source>
|
||||
<translation>继续</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="91"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="92"/>
|
||||
<source>Cancel</source>
|
||||
<translation>取消</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="99"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="100"/>
|
||||
<source>Settings have been reset</source>
|
||||
<translation>已重置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="111"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="112"/>
|
||||
<source>Save</source>
|
||||
<translation>保存</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="120"/>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="121"/>
|
||||
<source>Settings saved</source>
|
||||
<translation>配置已保存</translation>
|
||||
</message>
|
||||
|
|
@ -1346,7 +1359,7 @@ And if you don't like the app, all the more support it - the donation will
|
|||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsLogging.qml" line="118"/>
|
||||
<source>Logs file saved</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>日志文件已保存</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSettingsLogging.qml" line="127"/>
|
||||
|
|
@ -1701,7 +1714,7 @@ It's okay as long as it's from someone you trust.</source>
|
|||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardCredentials.qml" line="44"/>
|
||||
<source>Configure your server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>配置服务器</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardCredentials.qml" line="51"/>
|
||||
|
|
@ -1716,7 +1729,7 @@ It's okay as long as it's from someone you trust.</source>
|
|||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardCredentials.qml" line="66"/>
|
||||
<source>Login to connect via SSH</source>
|
||||
<translation>ssh账号</translation>
|
||||
<translation>用户</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardCredentials.qml" line="76"/>
|
||||
|
|
@ -1732,7 +1745,8 @@ It's okay as long as it's from someone you trust.</source>
|
|||
<location filename="../ui/qml/Pages2/PageSetupWizardCredentials.qml" line="115"/>
|
||||
<source>All data you enter will remain strictly confidential
|
||||
and will not be shared or disclosed to the Amnezia or any third parties</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>您输入的所有数据将严格保密
|
||||
不会向 Amnezia 或任何第三方分享或披露</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardCredentials.qml" line="125"/>
|
||||
|
|
@ -1799,12 +1813,12 @@ and will not be shared or disclosed to the Amnezia or any third parties</source>
|
|||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardInstalling.qml" line="62"/>
|
||||
<source>Amnezia has detected that your server is currently </source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Amnezia 检测到您的服务器当前</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageSetupWizardInstalling.qml" line="63"/>
|
||||
<source>busy installing other software. Amnezia installation </source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>正安装其他软件。Amnezia安装</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Amnesia has detected that your server is currently </source>
|
||||
|
|
@ -2013,7 +2027,7 @@ and will not be shared or disclosed to the Amnezia or any third parties</source>
|
|||
<message>
|
||||
<location filename="../ui/qml/Pages2/PageShare.qml" line="175"/>
|
||||
<source>Access to server management. The user with whom you share full access to the connection will be able to add and remove your protocols and services to the server, as well as change settings.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>除访问VPN外,用户还能添加和删除协议、服务以及更改配置信息</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Access to server management. The user with whom you share full access to the connection will be able to add and remove your protocols and services to the servers, as well as change settings.</source>
|
||||
|
|
@ -2574,7 +2588,7 @@ and will not be shared or disclosed to the Amnezia or any third parties</source>
|
|||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="111"/>
|
||||
<source>AmneziaWG - Special protocol from Amnezia, based on WireGuard. It's fast like WireGuard, but very resistant to blockages. Recommended for regions with high levels of censorship.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>AmneziaWG - Amnezia 的特殊协议,基于 WireGuard。它的速度像 WireGuard 一样快,但非常抗堵塞。推荐用于审查较严的地区。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="115"/>
|
||||
|
|
@ -2606,7 +2620,14 @@ It employs its unique security protocol, leveraging the strength of SSL/TLS for
|
|||
* Flexible customisation to suit user needs to work with different operating systems and devices
|
||||
* Recognised by DPI analysis systems and therefore susceptible to blocking
|
||||
* Can operate over both TCP and UDP network protocols.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>OpenVPN 是最流行且经过时间考验的 VPN 协议之一。
|
||||
它采用其独特的安全协议,利用 SSL/TLS 的优势进行加密和密钥交换。此外,OpenVPN 支持多种身份验证方法,使其具有多功能性和适应性,可适应各种设备和操作系统。由于其开源性质,OpenVPN 受益于全球社区的广泛审查,这不断增强了其安全性。凭借性能、安全性和兼容性的强大平衡,OpenVPN 仍然是注重隐私的个人和企业的首选。
|
||||
|
||||
* 可在所有平台的 AmneziaVPN 中使用
|
||||
* 移动设备的正常功耗
|
||||
* 灵活定制,满足用户使用不同操作系统和设备的需求
|
||||
* 被DPI分析系统识别,因此容易被阻塞
|
||||
* 可以通过 TCP 和 UDP 网络协议运行</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="145"/>
|
||||
|
|
@ -2618,7 +2639,14 @@ It employs its unique security protocol, leveraging the strength of SSL/TLS for
|
|||
* Configurable encryption protocol
|
||||
* Detectable by some DPI systems
|
||||
* Works over TCP network protocol.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Shadowsocks 受到 SOCKS5 协议的启发,使用 AEAD 密码保护连接。尽管 Shadowsocks 设计得谨慎且难以识别,但它与标准 HTTPS 连接并不相同。但是,某些流量分析系统可能仍会检测到 Shadowsocks 连接。由于Amnezia支持有限,建议使用AmneziaWG协议。
|
||||
|
||||
* 仅在桌面平台上的 AmneziaVPN 中可用
|
||||
* 移动设备的正常功耗
|
||||
|
||||
* 可配置的加密协议
|
||||
* 可以被某些 DPI 系统检测到
|
||||
* 通过 TCP 网络协议工作。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="155"/>
|
||||
|
|
@ -2640,7 +2668,23 @@ If there is a extreme level of Internet censorship in your region, we advise you
|
|||
* Not recognised by DPI analysis systems
|
||||
* Works over TCP network protocol, 443 port.
|
||||
</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>这是 OpenVPN 协议和专门用于阻止保护的 Cloak 插件的组合。
|
||||
|
||||
OpenVPN 通过加密客户端和服务器之间的所有 Internet 流量来提供安全的 VPN 连接。
|
||||
|
||||
Cloak 可保护 OpenVPN 免遭检测和阻止。
|
||||
|
||||
Cloak 可以修改数据包元数据,以便将 VPN 流量完全屏蔽为正常 Web 流量,并且还可以保护 VPN 免受主动探测的检测。这使得它非常难以被发现
|
||||
|
||||
收到第一个数据包后,Cloak 立即对传入连接进行身份验证。如果身份验证失败,该插件会将服务器伪装成虚假网站,并且您的 VPN 对分析系统来说将变得不可见。
|
||||
|
||||
如果您所在地区的互联网审查非常严格,我们建议您在第一次连接时仅使用 OpenVPN over Cloak
|
||||
|
||||
* 可在所有平台的 AmneziaVPN 中使用
|
||||
* 移动设备功耗高
|
||||
* 配置灵活
|
||||
* 不被 DPI 分析系统识别
|
||||
* 通过 TCP 网络协议、443 端口工作。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="174"/>
|
||||
|
|
@ -2653,7 +2697,15 @@ WireGuard is very susceptible to blocking due to its distinct packet signatures.
|
|||
* Minimum number of settings
|
||||
* Easily recognised by DPI analysis systems, susceptible to blocking
|
||||
* Works over UDP network protocol.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>一种相对较新的流行 VPN 协议,具有简化的架构。
|
||||
在所有设备上提供稳定的 VPN 连接和高性能。使用硬编码的加密设置。 WireGuard 与 OpenVPN 相比具有更低的延迟和更好的数据传输吞吐量。
|
||||
由于其独特的数据包签名,WireGuard 非常容易受到阻塞。与其他一些采用混淆技术的 VPN 协议不同,WireGuard 数据包的一致签名模式可以更容易地被高级深度数据包检测 (DPI) 系统和其他网络监控工具识别并阻止。
|
||||
|
||||
* 可在所有平台的 AmneziaVPN 中使用
|
||||
* 低功耗
|
||||
* 配置简单
|
||||
* 容易被DPI分析系统识别,容易被阻塞
|
||||
* 通过 UDP 网络协议工作。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="187"/>
|
||||
|
|
@ -2666,7 +2718,15 @@ This means that AmneziaWG keeps the fast performance of the original while addin
|
|||
* Minimum number of settings
|
||||
* Not recognised by DPI analysis systems, resistant to blocking
|
||||
* Works over UDP network protocol.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>AmneziaWG 是流行 VPN 协议的现代迭代,它建立在 WireGuard 的基础上,保留了其简化的架构和跨设备的高性能功能。
|
||||
虽然 WireGuard 以其高效而闻名,但由于其独特的数据包签名,它存在容易被检测到的问题。 AmneziaWG 通过使用更好的混淆方法解决了这个问题,使其流量与常规互联网流量融合在一起。
|
||||
这意味着 AmneziaWG 保留了原始版本的快速性能,同时添加了额外的隐秘层,使其成为那些想要快速且谨慎的 VPN 连接的人的绝佳选择。
|
||||
|
||||
* 可在所有平台的 AmneziaVPN 中使用
|
||||
* 低功耗
|
||||
* 配置简单
|
||||
* 不被DPI分析系统识别,抗阻塞
|
||||
* 通过 UDP 网络协议工作。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="203"/>
|
||||
|
|
@ -2679,7 +2739,15 @@ While it offers a blend of security, stability, and speed, it's essential t
|
|||
* Minimal configuration
|
||||
* Recognised by DPI analysis systems
|
||||
* Works over UDP network protocol, ports 500 and 4500.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>IKEv2 与 IPSec 加密层配合使用,是一种现代且稳定的 VPN 协议。
|
||||
其显着特征之一是能够在网络和设备之间快速切换,使其特别适应动态网络环境。
|
||||
虽然 IKEv2 兼具安全性、稳定性和速度,但必须注意的是,IKEv2 很容易被检测到,并且容易受到阻止。
|
||||
|
||||
* 仅在 Windows 上的 AmneziaVPN 中可用
|
||||
* 低功耗,在移动设备上
|
||||
* 最低配置
|
||||
* 获得DPI分析系统认可
|
||||
* 通过 UDP 网络协议、端口 500 和 4500 工作。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>OpenVPN container</source>
|
||||
|
|
@ -3010,27 +3078,27 @@ While it offers a blend of security, stability, and speed, it's essential t
|
|||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="309"/>
|
||||
<source>Medium or High</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>中或高</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="310"/>
|
||||
<source>Extreme</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>极度</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="318"/>
|
||||
<source>I just want to increase the level of my privacy.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>只是想提高隐私保护级别。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="319"/>
|
||||
<source>I want to bypass censorship. This option recommended in most cases.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>想要绕过审查制度。大多数情况下推荐使用此选项。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../containers/containers_defs.cpp" line="321"/>
|
||||
<source>Most VPN protocols are blocked. Recommended if other options are not working.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>大多数 VPN 协议都被阻止。如果其他选项不起作用,推荐此选项。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>High</source>
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ void InstallController::installContainer(DockerContainer container, QJsonObject
|
|||
}
|
||||
|
||||
if (ContainerProps::containerService(container) == ServiceType::Vpn) {
|
||||
m_containersModel->setData(m_containersModel->index(0, 0), container, ContainersModel::Roles::IsDefaultRole);
|
||||
m_containersModel->setData(m_containersModel->index(container), true, ContainersModel::Roles::IsDefaultRole);
|
||||
}
|
||||
emit installContainerFinished(finishMessage, ContainerProps::containerService(container) == ServiceType::Other);
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -50,34 +50,26 @@ ListView {
|
|||
imageSource: "qrc:/images/controls/download.svg"
|
||||
showImage: !isInstalled
|
||||
|
||||
checkable: isInstalled
|
||||
checkable: isInstalled && !ConnectionController.isConnected && isSupported
|
||||
checked: isDefault
|
||||
|
||||
onPressed: function(mouse) {
|
||||
if (!isSupported) {
|
||||
PageController.showErrorMessage(qsTr("The selected protocol is not supported on the current platform"))
|
||||
}
|
||||
}
|
||||
|
||||
onClicked: {
|
||||
if (checked) {
|
||||
var needReconnected = false
|
||||
if (!isDefault) {
|
||||
needReconnected = true
|
||||
}
|
||||
if (ConnectionController.isConnected && isInstalled) {
|
||||
PageController.showNotificationMessage(qsTr("Unable change protocol while there is an active connection"))
|
||||
return
|
||||
}
|
||||
|
||||
if (checked) {
|
||||
isDefault = true
|
||||
|
||||
menuContent.currentIndex = index
|
||||
containersDropDown.menuVisible = false
|
||||
|
||||
|
||||
if (needReconnected && (ConnectionController.isConnected || ConnectionController.isConnectionInProgress)) {
|
||||
PageController.showNotificationMessage(qsTr("Reconnect via VPN Procotol: ") + name)
|
||||
PageController.goToPageHome()
|
||||
ConnectionController.openConnection()
|
||||
}
|
||||
} else {
|
||||
if (!isSupported && isInstalled) {
|
||||
PageController.showErrorMessage(qsTr("The selected protocol is not supported on the current platform"))
|
||||
return
|
||||
}
|
||||
|
||||
ContainersModel.setCurrentlyProcessedContainerIndex(proxyContainersModel.mapToSource(index))
|
||||
InstallController.setShouldCreateServer(false)
|
||||
PageController.goToPage(PageEnum.PageSetupWizardProtocolSettings)
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@ RadioButton {
|
|||
|
||||
Text {
|
||||
text: root.headerText
|
||||
wrapMode: Text.WordWrap
|
||||
color: "#D7D8DB"
|
||||
font.pixelSize: 25
|
||||
font.weight: 700
|
||||
|
|
@ -110,6 +111,7 @@ RadioButton {
|
|||
|
||||
Text {
|
||||
text: root.footerText
|
||||
wrapMode: Text.WordWrap
|
||||
visible: root.footerText !== ""
|
||||
color: "#878B91"
|
||||
font.pixelSize: 13
|
||||
|
|
|
|||
|
|
@ -471,10 +471,16 @@ PageType {
|
|||
}
|
||||
|
||||
checked: index === serversMenuContent.currentIndex
|
||||
checkable: !ConnectionController.isConnected
|
||||
|
||||
ButtonGroup.group: serversRadioButtonGroup
|
||||
|
||||
onClicked: {
|
||||
if (ConnectionController.isConnected) {
|
||||
PageController.showNotificationMessage(qsTr("Unable change server while there is an active connection"))
|
||||
return
|
||||
}
|
||||
|
||||
serversMenuContent.currentIndex = index
|
||||
|
||||
ServersModel.currentlyProcessedIndex = index
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ PageType {
|
|||
Layout.margins: 16
|
||||
|
||||
text: qsTr("Auto start")
|
||||
descriptionText: qsTr("Launch the application every time %1 starts").arg(Qt.platform.os)
|
||||
descriptionText: qsTr("Launch the application every time the device is starts")
|
||||
|
||||
checked: SettingsController.isAutoStartEnabled()
|
||||
onCheckedChanged: {
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ PageType {
|
|||
DividerType {}
|
||||
|
||||
LabelWithButtonType {
|
||||
visible: !GC.isMobile()
|
||||
visible: GC.isDesktop()
|
||||
|
||||
Layout.fillWidth: true
|
||||
|
||||
|
|
@ -108,11 +108,11 @@ PageType {
|
|||
}
|
||||
|
||||
DividerType {
|
||||
visible: !GC.isMobile()
|
||||
visible: GC.isDesktop()
|
||||
}
|
||||
|
||||
LabelWithButtonType {
|
||||
visible: false//!GC.isMobile()
|
||||
visible: false
|
||||
|
||||
Layout.fillWidth: true
|
||||
|
||||
|
|
@ -125,7 +125,7 @@ PageType {
|
|||
}
|
||||
|
||||
DividerType {
|
||||
visible: !GC.isMobile()
|
||||
visible: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ PageType {
|
|||
}
|
||||
|
||||
ParagraphTextType {
|
||||
Layout.fillWidth: true
|
||||
text: qsTr("If AmneziaDNS is not used or installed")
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -320,7 +320,7 @@ PageType {
|
|||
|
||||
if (index === ContainerProps.containerFromString("amnezia-openvpn")) {
|
||||
root.connectionTypesModel.push(openVpnConnectionFormat)
|
||||
} else if (index === ContainerProps.containerFromString("amnezia-awg")) {
|
||||
} else if (index === ContainerProps.containerFromString("amnezia-wireguard")) {
|
||||
root.connectionTypesModel.push(wireGuardConnectionFormat)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -96,16 +96,16 @@ if [ "${MAC_CERT_PW+x}" ]; then
|
|||
security find-identity -p codesigning
|
||||
|
||||
echo "Signing App bundle..."
|
||||
/usr/bin/codesign --deep --force --verbose --timestamp -o runtime --sign "Developer ID Application: Privacy Technologies OU (X7UJ388FXK)" $BUNDLE_DIR
|
||||
/usr/bin/codesign --deep --force --verbose --timestamp -o runtime --sign "$MAC_SIGNER_ID" $BUNDLE_DIR
|
||||
/usr/bin/codesign --verify -vvvv $BUNDLE_DIR || true
|
||||
spctl -a -vvvv $BUNDLE_DIR || true
|
||||
|
||||
if [ "${NOTARIZE_APP+x}" ]; then
|
||||
echo "Notarizing App bundle..."
|
||||
/usr/bin/ditto -c -k --keepParent $BUNDLE_DIR $PROJECT_DIR/Bundle_to_notarize.zip
|
||||
xcrun altool --notarize-app -f $PROJECT_DIR/Bundle_to_notarize.zip -t osx --primary-bundle-id "$APP_DOMAIN" -u "$APPLE_DEV_EMAIL" -p $APPLE_DEV_PASSWORD
|
||||
xcrun notarytool submit $PROJECT_DIR/Bundle_to_notarize.zip --apple-id $APPLE_DEV_EMAIL --team-id $MAC_TEAM_ID --password $APPLE_DEV_PASSWORD
|
||||
rm $PROJECT_DIR/Bundle_to_notarize.zip
|
||||
sleep 600
|
||||
sleep 300
|
||||
xcrun stapler staple $BUNDLE_DIR
|
||||
xcrun stapler validate $BUNDLE_DIR
|
||||
spctl -a -vvvv $BUNDLE_DIR || true
|
||||
|
|
@ -130,15 +130,15 @@ $QIF_BIN_DIR/binarycreator --offline-only -v -c $BUILD_DIR/installer/config/maco
|
|||
if [ "${MAC_CERT_PW+x}" ]; then
|
||||
echo "Signing installer bundle..."
|
||||
security unlock-keychain -p $TEMP_PASS $KEYCHAIN
|
||||
/usr/bin/codesign --deep --force --verbose --timestamp -o runtime --sign "Developer ID Application: Privacy Technologies OU (X7UJ388FXK)" $INSTALLER_BUNDLE_DIR
|
||||
/usr/bin/codesign --deep --force --verbose --timestamp -o runtime --sign "$MAC_SIGNER_ID" $INSTALLER_BUNDLE_DIR
|
||||
/usr/bin/codesign --verify -vvvv $INSTALLER_BUNDLE_DIR || true
|
||||
|
||||
if [ "${NOTARIZE_APP+x}" ]; then
|
||||
echo "Notarizing installer bundle..."
|
||||
/usr/bin/ditto -c -k --keepParent $INSTALLER_BUNDLE_DIR $PROJECT_DIR/Installer_bundle_to_notarize.zip
|
||||
xcrun altool --notarize-app -f $PROJECT_DIR/Installer_bundle_to_notarize.zip -t osx --primary-bundle-id "$APP_DOMAIN" -u "$APPLE_DEV_EMAIL" -p $APPLE_DEV_PASSWORD
|
||||
xcrun notarytool submit $PROJECT_DIR/Installer_bundle_to_notarize.zip --apple-id $APPLE_DEV_EMAIL --team-id $MAC_TEAM_ID --password $APPLE_DEV_PASSWORD
|
||||
rm $PROJECT_DIR/Installer_bundle_to_notarize.zip
|
||||
sleep 600
|
||||
sleep 300
|
||||
xcrun stapler staple $INSTALLER_BUNDLE_DIR
|
||||
xcrun stapler validate $INSTALLER_BUNDLE_DIR
|
||||
spctl -a -vvvv $INSTALLER_BUNDLE_DIR || true
|
||||
|
|
@ -151,13 +151,13 @@ hdiutil create -volname AmneziaVPN -srcfolder $BUILD_DIR/installer/$APP_NAME.app
|
|||
if [ "${MAC_CERT_PW+x}" ]; then
|
||||
echo "Signing DMG installer..."
|
||||
security unlock-keychain -p $TEMP_PASS $KEYCHAIN
|
||||
/usr/bin/codesign --deep --force --verbose --timestamp -o runtime --sign "Developer ID Application: Privacy Technologies OU (X7UJ388FXK)" $DMG_FILENAME
|
||||
/usr/bin/codesign --deep --force --verbose --timestamp -o runtime --sign "$MAC_SIGNER_ID" $DMG_FILENAME
|
||||
/usr/bin/codesign --verify -vvvv $DMG_FILENAME || true
|
||||
|
||||
if [ "${NOTARIZE_APP+x}" ]; then
|
||||
echo "Notarizing DMG installer..."
|
||||
xcrun altool --notarize-app -f $DMG_FILENAME -t osx --primary-bundle-id $APP_DOMAIN -u $APPLE_DEV_EMAIL -p $APPLE_DEV_PASSWORD
|
||||
sleep 600
|
||||
xcrun notarytool submit $DMG_FILENAME --apple-id $APPLE_DEV_EMAIL --team-id $MAC_TEAM_ID --password $APPLE_DEV_PASSWORD
|
||||
sleep 300
|
||||
xcrun stapler staple $DMG_FILENAME
|
||||
xcrun stapler validate $DMG_FILENAME
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue