mirror of
https://github.com/kkebo/DNSecure.git
synced 2026-03-11 08:54:36 +00:00
Add instructions for macOS
This commit is contained in:
parent
8c7df4a721
commit
4cfb651de1
9 changed files with 145 additions and 26 deletions
21
DNSecure/Assets.xcassets/HowToActivate/MakeServiceActive.imageset/Contents.json
vendored
Normal file
21
DNSecure/Assets.xcassets/HowToActivate/MakeServiceActive.imageset/Contents.json
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "IMG_0244.jpg",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
BIN
DNSecure/Assets.xcassets/HowToActivate/MakeServiceActive.imageset/IMG_0244.jpg
vendored
Normal file
BIN
DNSecure/Assets.xcassets/HowToActivate/MakeServiceActive.imageset/IMG_0244.jpg
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
21
DNSecure/Assets.xcassets/HowToActivate/NetworkSettings.imageset/Contents.json
vendored
Normal file
21
DNSecure/Assets.xcassets/HowToActivate/NetworkSettings.imageset/Contents.json
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "Screen Shot 2021-02-13 at 11.25.16 AM.jpg",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 155 KiB |
21
DNSecure/Assets.xcassets/HowToActivate/SystemPreferences.imageset/Contents.json
vendored
Normal file
21
DNSecure/Assets.xcassets/HowToActivate/SystemPreferences.imageset/Contents.json
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "Screen Shot 2021-02-13 at 11.36.47 AM.jpg",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 198 KiB |
21
DNSecure/Assets.xcassets/HowToActivate/SystemPreferencesIcon.imageset/Contents.json
vendored
Normal file
21
DNSecure/Assets.xcassets/HowToActivate/SystemPreferencesIcon.imageset/Contents.json
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "IMG_0250.jpg",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
BIN
DNSecure/Assets.xcassets/HowToActivate/SystemPreferencesIcon.imageset/IMG_0250.jpg
vendored
Normal file
BIN
DNSecure/Assets.xcassets/HowToActivate/SystemPreferencesIcon.imageset/IMG_0250.jpg
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
|
|
@ -36,35 +36,70 @@ extension HowToActivateView: View {
|
|||
.scaledToFit()
|
||||
.frame(maxHeight: 200)
|
||||
}
|
||||
VStack(alignment: .leading) {
|
||||
Text("3. Open the Settings")
|
||||
Image("Settings")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(maxHeight: 200)
|
||||
}
|
||||
VStack(alignment: .leading) {
|
||||
Text("4. Go to \"General\" > \"VPN & Network\" > \"DNS\"")
|
||||
ScrollView(.horizontal) {
|
||||
#if targetEnvironment(macCatalyst)
|
||||
VStack(alignment: .leading) {
|
||||
Text("3. Open the System Preferences")
|
||||
Image("SystemPreferencesIcon")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(maxHeight: 200)
|
||||
}
|
||||
VStack(alignment: .leading) {
|
||||
Text("4. Go to Network settings")
|
||||
Image("SystemPreferences")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(maxHeight: 400)
|
||||
}
|
||||
VStack(alignment: .leading) {
|
||||
HStack {
|
||||
Image("GeneralVPNNetwork")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(maxHeight: 200)
|
||||
Image("DNS")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(maxHeight: 200)
|
||||
Text("5. Select \"\(Bundle.main.displayName!)\" and click")
|
||||
Image(systemName: "ellipsis.circle")
|
||||
Text("button")
|
||||
}
|
||||
Image("NetworkSettings")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(maxHeight: 400)
|
||||
}
|
||||
VStack(alignment: .leading) {
|
||||
Text("6. Click \"Make Service Active\"")
|
||||
Image("MakeServiceActive")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(maxHeight: 200)
|
||||
}
|
||||
#else
|
||||
VStack(alignment: .leading) {
|
||||
Text("3. Open the Settings")
|
||||
Image("Settings")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(maxHeight: 200)
|
||||
}
|
||||
VStack(alignment: .leading) {
|
||||
Text("4. Go to \"General\" > \"VPN & Network\" > \"DNS\"")
|
||||
ScrollView(.horizontal) {
|
||||
HStack {
|
||||
Image("GeneralVPNNetwork")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(maxHeight: 200)
|
||||
Image("DNS")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(maxHeight: 200)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
VStack(alignment: .leading) {
|
||||
Text("5. \"Automatic\" is selected by default, so select \"\(Bundle.main.displayName!)\"")
|
||||
Image("DNSProvider")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(maxHeight: 200)
|
||||
}
|
||||
VStack(alignment: .leading) {
|
||||
Text("5. \"Automatic\" is selected by default, so select \"\(Bundle.main.displayName!)\"")
|
||||
Image("DNSProvider")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(maxHeight: 200)
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
if self.isSheet {
|
||||
|
|
|
|||
Loading…
Reference in a new issue