diff --git a/WireGuard/WireGuard.xcodeproj/project.pbxproj b/WireGuard/WireGuard.xcodeproj/project.pbxproj index 966cf71..585fc22 100644 --- a/WireGuard/WireGuard.xcodeproj/project.pbxproj +++ b/WireGuard/WireGuard.xcodeproj/project.pbxproj @@ -29,6 +29,10 @@ 6F7774EF21722D97006A79B3 /* TunnelsManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6F7774EE21722D97006A79B3 /* TunnelsManager.swift */; }; 6F7774F321774263006A79B3 /* TunnelEditTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6F7774F221774263006A79B3 /* TunnelEditTableViewController.swift */; }; 6F919EC3218A2AE90023B400 /* ErrorPresenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6F919EC2218A2AE90023B400 /* ErrorPresenter.swift */; }; + 6F919ED9218C65C50023B400 /* wireguard_doc_logo_22x29.png in Resources */ = {isa = PBXBuildFile; fileRef = 6F919ED5218C65C50023B400 /* wireguard_doc_logo_22x29.png */; }; + 6F919EDA218C65C50023B400 /* wireguard_doc_logo_44x58.png in Resources */ = {isa = PBXBuildFile; fileRef = 6F919ED6218C65C50023B400 /* wireguard_doc_logo_44x58.png */; }; + 6F919EDB218C65C50023B400 /* wireguard_doc_logo_64x64.png in Resources */ = {isa = PBXBuildFile; fileRef = 6F919ED7218C65C50023B400 /* wireguard_doc_logo_64x64.png */; }; + 6F919EDC218C65C50023B400 /* wireguard_doc_logo_320x320.png in Resources */ = {isa = PBXBuildFile; fileRef = 6F919ED8218C65C50023B400 /* wireguard_doc_logo_320x320.png */; }; 6FDEF7E421846C1A00D8FBF6 /* libwg-go.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6FDEF7E321846C1A00D8FBF6 /* libwg-go.a */; }; 6FDEF7E62185EFB200D8FBF6 /* QRScanViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FDEF7E52185EFAF00D8FBF6 /* QRScanViewController.swift */; }; 6FDEF7FB21863B6100D8FBF6 /* unzip.c in Sources */ = {isa = PBXBuildFile; fileRef = 6FDEF7F621863B6100D8FBF6 /* unzip.c */; }; @@ -99,6 +103,10 @@ 6F7774EE21722D97006A79B3 /* TunnelsManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TunnelsManager.swift; sourceTree = ""; }; 6F7774F221774263006A79B3 /* TunnelEditTableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TunnelEditTableViewController.swift; sourceTree = ""; }; 6F919EC2218A2AE90023B400 /* ErrorPresenter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ErrorPresenter.swift; sourceTree = ""; }; + 6F919ED5218C65C50023B400 /* wireguard_doc_logo_22x29.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = wireguard_doc_logo_22x29.png; sourceTree = ""; }; + 6F919ED6218C65C50023B400 /* wireguard_doc_logo_44x58.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = wireguard_doc_logo_44x58.png; sourceTree = ""; }; + 6F919ED7218C65C50023B400 /* wireguard_doc_logo_64x64.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = wireguard_doc_logo_64x64.png; sourceTree = ""; }; + 6F919ED8218C65C50023B400 /* wireguard_doc_logo_320x320.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = wireguard_doc_logo_320x320.png; sourceTree = ""; }; 6FDEF7E321846C1A00D8FBF6 /* libwg-go.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = "libwg-go.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 6FDEF7E52185EFAF00D8FBF6 /* QRScanViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = QRScanViewController.swift; sourceTree = ""; }; 6FDEF7F621863B6100D8FBF6 /* unzip.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = unzip.c; sourceTree = ""; }; @@ -222,6 +230,25 @@ path = VPN; sourceTree = ""; }; + 6F919ED3218C65C50023B400 /* Resources */ = { + isa = PBXGroup; + children = ( + 6F919ED4218C65C50023B400 /* DocumentIcons */, + ); + path = Resources; + sourceTree = ""; + }; + 6F919ED4218C65C50023B400 /* DocumentIcons */ = { + isa = PBXGroup; + children = ( + 6F919ED5218C65C50023B400 /* wireguard_doc_logo_22x29.png */, + 6F919ED6218C65C50023B400 /* wireguard_doc_logo_44x58.png */, + 6F919ED7218C65C50023B400 /* wireguard_doc_logo_64x64.png */, + 6F919ED8218C65C50023B400 /* wireguard_doc_logo_320x320.png */, + ); + path = DocumentIcons; + sourceTree = ""; + }; 6FDEF7E72186320E00D8FBF6 /* ZipArchive */ = { isa = PBXGroup; children = ( @@ -275,6 +302,7 @@ 6FF4AC16211EC46F002C96EB /* WireGuard */ = { isa = PBXGroup; children = ( + 6F919ED3218C65C50023B400 /* Resources */, 6F6899A32180445A0012E523 /* Crypto */, 6F6899AA218099D00012E523 /* ConfigFile */, 6F7774E6217201E0006A79B3 /* Model */, @@ -418,8 +446,12 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 6F919ED9218C65C50023B400 /* wireguard_doc_logo_22x29.png in Resources */, 6FF4AC22211EC472002C96EB /* LaunchScreen.storyboard in Resources */, + 6F919EDA218C65C50023B400 /* wireguard_doc_logo_44x58.png in Resources */, 6FF4AC1F211EC472002C96EB /* Assets.xcassets in Resources */, + 6F919EDB218C65C50023B400 /* wireguard_doc_logo_64x64.png in Resources */, + 6F919EDC218C65C50023B400 /* wireguard_doc_logo_320x320.png in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/WireGuard/WireGuard/Assets.xcassets/Image.imageset/Contents.json b/WireGuard/WireGuard/Assets.xcassets/Image.imageset/Contents.json new file mode 100644 index 0000000..f8f827e --- /dev/null +++ b/WireGuard/WireGuard/Assets.xcassets/Image.imageset/Contents.json @@ -0,0 +1,20 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/WireGuard/WireGuard/Info.plist b/WireGuard/WireGuard/Info.plist index ea9d0c2..dc3a8c8 100644 --- a/WireGuard/WireGuard/Info.plist +++ b/WireGuard/WireGuard/Info.plist @@ -8,7 +8,12 @@ CFBundleTypeIconFiles - + + wireguard_doc_logo_22x29.png + wireguard_doc_logo_44x58.png + wireguard_doc_logo_64x64.png + wireguard_doc_logo_320x320.png + CFBundleTypeName WireGuard wg-quick configuration file CFBundleTypeRole @@ -21,8 +26,6 @@ - LSSupportsOpeningDocumentsInPlace - CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -39,14 +42,16 @@ 1 LSRequiresIPhoneOS + LSSupportsOpeningDocumentsInPlace + + NSCameraUsageDescription + Camera is used for scanning QR codes for importing WireGuard configurations UILaunchStoryboardName LaunchScreen UIRequiredDeviceCapabilities armv7 - NSCameraUsageDescription - Camera is used for scanning QR codes for importing WireGuard configurations UISupportedInterfaceOrientations UIInterfaceOrientationPortrait diff --git a/WireGuard/WireGuard/Resources/DocumentIcons/wireguard_doc_logo_22x29.png b/WireGuard/WireGuard/Resources/DocumentIcons/wireguard_doc_logo_22x29.png new file mode 100644 index 0000000..41644c7 Binary files /dev/null and b/WireGuard/WireGuard/Resources/DocumentIcons/wireguard_doc_logo_22x29.png differ diff --git a/WireGuard/WireGuard/Resources/DocumentIcons/wireguard_doc_logo_320x320.png b/WireGuard/WireGuard/Resources/DocumentIcons/wireguard_doc_logo_320x320.png new file mode 100644 index 0000000..8d5d95f Binary files /dev/null and b/WireGuard/WireGuard/Resources/DocumentIcons/wireguard_doc_logo_320x320.png differ diff --git a/WireGuard/WireGuard/Resources/DocumentIcons/wireguard_doc_logo_44x58.png b/WireGuard/WireGuard/Resources/DocumentIcons/wireguard_doc_logo_44x58.png new file mode 100644 index 0000000..7ace770 Binary files /dev/null and b/WireGuard/WireGuard/Resources/DocumentIcons/wireguard_doc_logo_44x58.png differ diff --git a/WireGuard/WireGuard/Resources/DocumentIcons/wireguard_doc_logo_64x64.png b/WireGuard/WireGuard/Resources/DocumentIcons/wireguard_doc_logo_64x64.png new file mode 100644 index 0000000..7adfa43 Binary files /dev/null and b/WireGuard/WireGuard/Resources/DocumentIcons/wireguard_doc_logo_64x64.png differ