fixed ability to share warguard in native format
This commit is contained in:
parent
591d98d8b6
commit
c1c68cf72d
3 changed files with 8 additions and 5 deletions
|
@ -2,11 +2,11 @@ cmake_minimum_required(VERSION 3.25.0 FATAL_ERROR)
|
|||
|
||||
set(PROJECT AmneziaVPN)
|
||||
|
||||
project(${PROJECT} VERSION 4.0.0.1
|
||||
project(${PROJECT} VERSION 4.0.1.1
|
||||
DESCRIPTION "AmneziaVPN"
|
||||
HOMEPAGE_URL "https://amnezia.org/"
|
||||
)
|
||||
set(RELEASE_DATE "2023-07-31")
|
||||
set(RELEASE_DATE "2023-08-10")
|
||||
set(APP_MAJOR_VERSION ${CMAKE_PROJECT_VERSION_MAJOR}.${CMAKE_PROJECT_VERSION_MINOR}.${CMAKE_PROJECT_VERSION_PATCH})
|
||||
|
||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
||||
|
|
|
@ -41,6 +41,7 @@ Button {
|
|||
anchors.right: parent.right
|
||||
layer.enabled: true
|
||||
layer.samples: 4
|
||||
layer.smooth: true
|
||||
layer.effect: DropShadow {
|
||||
anchors.fill: backgroundCircle
|
||||
horizontalOffset: 0
|
||||
|
|
|
@ -310,10 +310,12 @@ PageType {
|
|||
function fillConnectionTypeModel() {
|
||||
root.connectionTypesModel = [amneziaConnectionFormat]
|
||||
|
||||
if (currentIndex === ContainerProps.containerFromString("OpenVpn")) {
|
||||
var index = proxyContainersModel.mapToSource(currentIndex)
|
||||
|
||||
if (index === ContainerProps.containerFromString("amnezia-openvpn")) {
|
||||
root.connectionTypesModel.push(openVpnConnectionFormat)
|
||||
} else if (currentIndex === ContainerProps.containerFromString("wireGuardConnectionType")) {
|
||||
root.connectionTypesModel.push(amneziaConnectionFormat)
|
||||
} else if (index === ContainerProps.containerFromString("amnezia-wireguard")) {
|
||||
root.connectionTypesModel.push(wireGuardConnectionFormat)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue