From 70c6e69b3616b713323fb7c0ad0c89c33e4d7dfa Mon Sep 17 00:00:00 2001 From: Shahzain Ali Date: Tue, 6 Dec 2022 03:09:45 +0500 Subject: [PATCH] updatinf info.plist for .vpn type. --- client/CMakeLists.txt | 6 +++--- client/ios/app/Info.plist.in | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index fb4dacbe..dc27ab96 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -9,9 +9,9 @@ if(${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.17) cmake_policy(SET CMP0099 OLD) endif() -#set(CMAKE_AUTOMOC ON) -#set(CMAKE_AUTORCC ON) -#set(CMAKE_AUTOUIC ON) +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) set_property(GLOBAL PROPERTY USE_FOLDERS ON) set_property(GLOBAL PROPERTY AUTOGEN_TARGETS_FOLDER "Autogen") set_property(GLOBAL PROPERTY AUTOMOC_TARGETS_FOLDER "Autogen") diff --git a/client/ios/app/Info.plist.in b/client/ios/app/Info.plist.in index 82613f43..8ef6aacf 100644 --- a/client/ios/app/Info.plist.in +++ b/client/ios/app/Info.plist.in @@ -51,5 +51,31 @@ NSCameraUsageDescription Amnezia VPN needs access to the camera for reading QR-codes. + UTImportedTypeDeclarations + + + UTTypeConformsTo + + public.data + + UTTypeDescription + Amnezia VPN config + UTTypeIconFiles + + UTTypeIdentifier + org.amnezia.AmneziaVPN.amnezia-config + UTTypeTagSpecification + + public.filename-extension + + vpn + + public.mime-type + + text/plain + + + + \ No newline at end of file