@fnet/cli 1.12.1 → 1.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fbin/index.js +1 -1
- package/dist/fnet/index.4gymwzqb.js +1 -0
- package/dist/fnet/index.5r21wfyc.js +1 -0
- package/dist/fnet/index.js +9 -9
- package/dist/fnet/index.kanz1359.js +2 -0
- package/dist/fnet/index.kjw4nv5z.js +1 -0
- package/dist/fnet/index.n7q2w82x.js +1 -0
- package/dist/{fnode/index.c8qd1bz3.js → fnet/index.pj3wr582.js} +1 -1
- package/dist/fnet/index.r3cben5x.js +1 -0
- package/dist/fnet/index.sbphkm7x.js +1 -0
- package/dist/{fnode/index.e6g5y0zg.js → fnet/index.wmeh7jrw.js} +1 -1
- package/dist/fnet/index.xym49mp3.js +1 -0
- package/dist/fnet/index.ydv6st7k.js +1 -0
- package/dist/fnode/index.05n3mvs9.js +2 -0
- package/dist/fnode/index.22v7wtt0.js +2 -0
- package/dist/fnode/{index.dtp0a202.js → index.3ay4fp2s.js} +1 -1
- package/dist/fnode/index.6g3j97vm.js +1 -0
- package/dist/fnode/{index.q61zqpb9.js → index.782edcjp.js} +1 -1
- package/dist/fnode/index.7cqahb2f.js +1 -0
- package/dist/fnode/index.fy1xwqp2.js +1 -0
- package/dist/fnode/index.js +2 -2
- package/dist/fnode/index.kswhzt5n.js +1 -0
- package/dist/fnode/{index.1k1sj9qs.js → index.q9ghzdn2.js} +3 -3
- package/dist/fnode/index.r4xke6yy.js +1 -0
- package/dist/fnode/index.w4cz5r8m.js +1 -0
- package/dist/fnode/index.wd23pxn8.js +1 -0
- package/dist/fnode/index.xvyybysy.js +1 -0
- package/dist/fnode/index.z9232w6h.js +1 -0
- package/dist/frun/index.js +1 -1
- package/dist/fservice/index.js +1 -1
- package/package.json +6 -10
- package/readme.md +240 -191
- package/scripts/postinstall.js +19 -4
- package/template/deploy/to-docker/aws/Dockerfile.njk +114 -0
- package/template/deploy/to-docker/aws/build.sh.njk +127 -0
- package/template/deploy/to-docker/docker/Dockerfile.njk +67 -0
- package/template/deploy/to-docker/docker/build.sh.njk +48 -0
- package/template/deploy/to-docker/gcloud/Dockerfile.njk +69 -0
- package/template/deploy/to-docker/gcloud/build.sh.njk +39 -0
- package/template/deploy/to-docker/podman/Dockerfile.njk +69 -0
- package/template/deploy/to-docker/podman/build.sh.njk +44 -0
- package/template/deploy/to-electron/mac/entitlements.plist.njk +18 -0
- package/template/deploy/to-electron/main.js.njk +37 -0
- package/template/deploy/to-electron/package.json.njk +36 -0
- package/template/deploy/to-electron/src/index.html.njk +23 -0
- package/template/deploy/to-ios-app/fnet/index.html.njk +23 -0
- package/template/deploy/to-ios-app/fnet-ios-app/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/template/deploy/to-ios-app/fnet-ios-app/Assets.xcassets/AppIcon.appiconset/Contents.json +112 -0
- package/template/deploy/to-ios-app/fnet-ios-app/Assets.xcassets/Contents.json +6 -0
- package/template/deploy/to-ios-app/fnet-ios-app/Assets.xcassets/launch-images.imageset/Contents.json +23 -0
- package/template/deploy/to-ios-app/fnet-ios-app/ContentView.swift +32 -0
- package/template/deploy/to-ios-app/fnet-ios-app/Info.plist +10 -0
- package/template/deploy/to-ios-app/fnet-ios-app/LaunchScreen.storyboard +26 -0
- package/template/deploy/to-ios-app/fnet-ios-app/Preview Content/Preview Assets.xcassets/Contents.json +6 -0
- package/template/deploy/to-ios-app/fnet-ios-app/WebView.swift +42 -0
- package/template/deploy/to-ios-app/fnet-ios-app/fnet_ios_appApp.swift +17 -0
- package/template/deploy/to-ios-app/fnet-ios-app.xcodeproj/project.pbxproj.njk +417 -0
- package/template/deploy/to-ios-app/fnet-ios-app.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/template/deploy/to-ios-app/fnet-ios-app.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/template/deploy/to-ios-app/fnet-ios-app.xcodeproj/xcshareddata/xcschemes/fnet-ios-app.xcscheme +77 -0
- package/template/deploy/to-macos-app/fnet/index.html.njk +23 -0
- package/template/deploy/to-macos-app/fnet-macos-app/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/template/deploy/to-macos-app/fnet-macos-app/Assets.xcassets/AppIcon.appiconset/Contents.json +68 -0
- package/template/deploy/to-macos-app/fnet-macos-app/Assets.xcassets/Contents.json +6 -0
- package/template/deploy/to-macos-app/fnet-macos-app/ContentView.swift +13 -0
- package/template/deploy/to-macos-app/fnet-macos-app/Preview Content/Preview Assets.xcassets/Contents.json +6 -0
- package/template/deploy/to-macos-app/fnet-macos-app/WebView.swift +30 -0
- package/template/deploy/to-macos-app/fnet-macos-app/fnet_macos_app.entitlements +16 -0
- package/template/deploy/to-macos-app/fnet-macos-app/fnet_macos_appApp.swift +17 -0
- package/template/deploy/to-macos-app/fnet-macos-app.xcodeproj/project.pbxproj.njk +396 -0
- package/template/deploy/to-macos-app/fnet-macos-app.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/template/deploy/to-macos-app/fnet-macos-app.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/template/deploy/to-nextjs/app/layout.tsx.njk +13 -0
- package/template/deploy/to-nextjs/app/page.tsx.njk +28 -0
- package/template/deploy/to-nextjs/next-env.d.ts +5 -0
- package/template/deploy/to-nextjs/package.json.njk +20 -0
- package/template/deploy/to-nextjs/tsconfig.json +34 -0
- package/template/deploy/to-pyip/package/__init__.py.njk +4 -0
- package/template/deploy/to-pyip/package/cli/__init__.py.njk +3 -0
- package/template/deploy/to-pyip/package/cli/index.py.njk +24 -0
- package/template/deploy/to-pyip/package/lib/__init__.py.njk +3 -0
- package/template/deploy/to-pyip/pyproject.toml +3 -0
- package/template/deploy/to-pyip/setup.py.njk +32 -0
- package/template/deploy/to-rust/Cargo.toml.njk +16 -0
- package/template/deploy/to-rust/src/main.rs.njk +112 -0
- package/template/deploy/to-webos/appinfo.json.njk +14 -0
- package/template/deploy/to-webos/index.html.njk +39 -0
- package/template/deploy/to-webos/webOSTVjs-1.2.10/LICENSE-2.0.txt +202 -0
- package/template/deploy/to-webos/webOSTVjs-1.2.10/webOSTV-dev.js +1 -0
- package/template/deploy/to-webos/webOSTVjs-1.2.10/webOSTV.js +1 -0
- package/dist/fnet/index.06vbpwcx.js +0 -1
- package/dist/fnet/index.26r88tdp.js +0 -1
- package/dist/fnet/index.2g93a9kt.js +0 -1
- package/dist/fnet/index.61jdafta.js +0 -1
- package/dist/fnet/index.80hh5mtp.js +0 -1
- package/dist/fnet/index.a2mbqyxe.js +0 -1
- package/dist/fnet/index.gywx3fae.js +0 -1
- package/dist/fnet/index.gza1frda.js +0 -1
- package/dist/fnet/index.r2gf0b3s.js +0 -1
- package/dist/fnet/index.rfysmk2b.js +0 -2
- package/dist/fnode/index.5f1kfz9t.js +0 -1
- package/dist/fnode/index.7ev6y63q.js +0 -1
- package/dist/fnode/index.a4q2w1yd.js +0 -1
- package/dist/fnode/index.btj5x5s4.js +0 -1
- package/dist/fnode/index.n1598ffs.js +0 -1
- package/dist/fnode/index.ng6w9cac.js +0 -1
- package/dist/fnode/index.r8s8r2n7.js +0 -2
- package/dist/fnode/index.xc08sjp4.js +0 -1
- package/dist/fnode/index.zb59076q.js +0 -1
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
// !$*UTF8*$!
|
|
2
|
+
{
|
|
3
|
+
archiveVersion = 1;
|
|
4
|
+
classes = {
|
|
5
|
+
};
|
|
6
|
+
objectVersion = 56;
|
|
7
|
+
objects = {
|
|
8
|
+
|
|
9
|
+
/* Begin PBXBuildFile section */
|
|
10
|
+
4518F7822AB4BA77007E9F7C /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4518F7812AB4BA77007E9F7C /* LaunchScreen.storyboard */; };
|
|
11
|
+
45BE3DE32AB48A1200D2EAE3 /* fnet_ios_appApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45BE3DE22AB48A1200D2EAE3 /* fnet_ios_appApp.swift */; };
|
|
12
|
+
45BE3DE52AB48A1200D2EAE3 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45BE3DE42AB48A1200D2EAE3 /* ContentView.swift */; };
|
|
13
|
+
45BE3DE72AB48A1300D2EAE3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 45BE3DE62AB48A1300D2EAE3 /* Assets.xcassets */; };
|
|
14
|
+
45BE3DEA2AB48A1300D2EAE3 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 45BE3DE92AB48A1300D2EAE3 /* Preview Assets.xcassets */; };
|
|
15
|
+
45BE3DF12AB48A3C00D2EAE3 /* fnet in Resources */ = {isa = PBXBuildFile; fileRef = 45BE3DF02AB48A3C00D2EAE3 /* fnet */; };
|
|
16
|
+
45BE3DF32AB48A7400D2EAE3 /* WebView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45BE3DF22AB48A7400D2EAE3 /* WebView.swift */; };
|
|
17
|
+
45BE3DF62AB48A9700D2EAE3 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 45BE3DF52AB48A9700D2EAE3 /* WebKit.framework */; };
|
|
18
|
+
45BE3DF82AB48A9F00D2EAE3 /* Speech.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 45BE3DF72AB48A9F00D2EAE3 /* Speech.framework */; };
|
|
19
|
+
/* End PBXBuildFile section */
|
|
20
|
+
|
|
21
|
+
/* Begin PBXFileReference section */
|
|
22
|
+
4518F7812AB4BA77007E9F7C /* LaunchScreen.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
|
|
23
|
+
4518F7832AB4BBA1007E9F7C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
|
|
24
|
+
45BE3DDF2AB48A1200D2EAE3 /* fnet-ios-app.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "fnet-ios-app.app"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
25
|
+
45BE3DE22AB48A1200D2EAE3 /* fnet_ios_appApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = fnet_ios_appApp.swift; sourceTree = "<group>"; };
|
|
26
|
+
45BE3DE42AB48A1200D2EAE3 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
|
|
27
|
+
45BE3DE62AB48A1300D2EAE3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
|
28
|
+
45BE3DE92AB48A1300D2EAE3 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
|
|
29
|
+
45BE3DF02AB48A3C00D2EAE3 /* fnet */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = fnet; sourceTree = SOURCE_ROOT; };
|
|
30
|
+
45BE3DF22AB48A7400D2EAE3 /* WebView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebView.swift; sourceTree = "<group>"; };
|
|
31
|
+
45BE3DF52AB48A9700D2EAE3 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; };
|
|
32
|
+
45BE3DF72AB48A9F00D2EAE3 /* Speech.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Speech.framework; path = System/Library/Frameworks/Speech.framework; sourceTree = SDKROOT; };
|
|
33
|
+
/* End PBXFileReference section */
|
|
34
|
+
|
|
35
|
+
/* Begin PBXFrameworksBuildPhase section */
|
|
36
|
+
45BE3DDC2AB48A1200D2EAE3 /* Frameworks */ = {
|
|
37
|
+
isa = PBXFrameworksBuildPhase;
|
|
38
|
+
buildActionMask = 2147483647;
|
|
39
|
+
files = (
|
|
40
|
+
45BE3DF82AB48A9F00D2EAE3 /* Speech.framework in Frameworks */,
|
|
41
|
+
45BE3DF62AB48A9700D2EAE3 /* WebKit.framework in Frameworks */,
|
|
42
|
+
);
|
|
43
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
44
|
+
};
|
|
45
|
+
/* End PBXFrameworksBuildPhase section */
|
|
46
|
+
|
|
47
|
+
/* Begin PBXGroup section */
|
|
48
|
+
45BE3DD62AB48A1200D2EAE3 = {
|
|
49
|
+
isa = PBXGroup;
|
|
50
|
+
children = (
|
|
51
|
+
45BE3DE12AB48A1200D2EAE3 /* fnet-ios-app */,
|
|
52
|
+
45BE3DE02AB48A1200D2EAE3 /* Products */,
|
|
53
|
+
45BE3DF42AB48A9700D2EAE3 /* Frameworks */,
|
|
54
|
+
);
|
|
55
|
+
sourceTree = "<group>";
|
|
56
|
+
};
|
|
57
|
+
45BE3DE02AB48A1200D2EAE3 /* Products */ = {
|
|
58
|
+
isa = PBXGroup;
|
|
59
|
+
children = (
|
|
60
|
+
45BE3DDF2AB48A1200D2EAE3 /* fnet-ios-app.app */,
|
|
61
|
+
);
|
|
62
|
+
name = Products;
|
|
63
|
+
sourceTree = "<group>";
|
|
64
|
+
};
|
|
65
|
+
45BE3DE12AB48A1200D2EAE3 /* fnet-ios-app */ = {
|
|
66
|
+
isa = PBXGroup;
|
|
67
|
+
children = (
|
|
68
|
+
4518F7832AB4BBA1007E9F7C /* Info.plist */,
|
|
69
|
+
45BE3DF02AB48A3C00D2EAE3 /* fnet */,
|
|
70
|
+
45BE3DE22AB48A1200D2EAE3 /* fnet_ios_appApp.swift */,
|
|
71
|
+
45BE3DE42AB48A1200D2EAE3 /* ContentView.swift */,
|
|
72
|
+
45BE3DE62AB48A1300D2EAE3 /* Assets.xcassets */,
|
|
73
|
+
45BE3DE82AB48A1300D2EAE3 /* Preview Content */,
|
|
74
|
+
45BE3DF22AB48A7400D2EAE3 /* WebView.swift */,
|
|
75
|
+
4518F7812AB4BA77007E9F7C /* LaunchScreen.storyboard */,
|
|
76
|
+
);
|
|
77
|
+
path = "fnet-ios-app";
|
|
78
|
+
sourceTree = "<group>";
|
|
79
|
+
};
|
|
80
|
+
45BE3DE82AB48A1300D2EAE3 /* Preview Content */ = {
|
|
81
|
+
isa = PBXGroup;
|
|
82
|
+
children = (
|
|
83
|
+
45BE3DE92AB48A1300D2EAE3 /* Preview Assets.xcassets */,
|
|
84
|
+
);
|
|
85
|
+
path = "Preview Content";
|
|
86
|
+
sourceTree = "<group>";
|
|
87
|
+
};
|
|
88
|
+
45BE3DF42AB48A9700D2EAE3 /* Frameworks */ = {
|
|
89
|
+
isa = PBXGroup;
|
|
90
|
+
children = (
|
|
91
|
+
45BE3DF72AB48A9F00D2EAE3 /* Speech.framework */,
|
|
92
|
+
45BE3DF52AB48A9700D2EAE3 /* WebKit.framework */,
|
|
93
|
+
);
|
|
94
|
+
name = Frameworks;
|
|
95
|
+
sourceTree = "<group>";
|
|
96
|
+
};
|
|
97
|
+
/* End PBXGroup section */
|
|
98
|
+
|
|
99
|
+
/* Begin PBXNativeTarget section */
|
|
100
|
+
45BE3DDE2AB48A1200D2EAE3 /* fnet-ios-app */ = {
|
|
101
|
+
isa = PBXNativeTarget;
|
|
102
|
+
buildConfigurationList = 45BE3DED2AB48A1300D2EAE3 /* Build configuration list for PBXNativeTarget "fnet-ios-app" */;
|
|
103
|
+
buildPhases = (
|
|
104
|
+
45BE3DDB2AB48A1200D2EAE3 /* Sources */,
|
|
105
|
+
45BE3DDC2AB48A1200D2EAE3 /* Frameworks */,
|
|
106
|
+
45BE3DDD2AB48A1200D2EAE3 /* Resources */,
|
|
107
|
+
);
|
|
108
|
+
buildRules = (
|
|
109
|
+
);
|
|
110
|
+
dependencies = (
|
|
111
|
+
);
|
|
112
|
+
name = "fnet-ios-app";
|
|
113
|
+
productName = "fnet-ios-app";
|
|
114
|
+
productReference = 45BE3DDF2AB48A1200D2EAE3 /* fnet-ios-app.app */;
|
|
115
|
+
productType = "com.apple.product-type.application";
|
|
116
|
+
};
|
|
117
|
+
/* End PBXNativeTarget section */
|
|
118
|
+
|
|
119
|
+
/* Begin PBXProject section */
|
|
120
|
+
45BE3DD72AB48A1200D2EAE3 /* Project object */ = {
|
|
121
|
+
isa = PBXProject;
|
|
122
|
+
attributes = {
|
|
123
|
+
BuildIndependentTargetsInParallel = 1;
|
|
124
|
+
LastSwiftUpdateCheck = 1430;
|
|
125
|
+
LastUpgradeCheck = 1430;
|
|
126
|
+
TargetAttributes = {
|
|
127
|
+
45BE3DDE2AB48A1200D2EAE3 = {
|
|
128
|
+
CreatedOnToolsVersion = 14.3.1;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
buildConfigurationList = 45BE3DDA2AB48A1200D2EAE3 /* Build configuration list for PBXProject "fnet-ios-app" */;
|
|
133
|
+
compatibilityVersion = "Xcode 14.0";
|
|
134
|
+
developmentRegion = en;
|
|
135
|
+
hasScannedForEncodings = 0;
|
|
136
|
+
knownRegions = (
|
|
137
|
+
en,
|
|
138
|
+
Base,
|
|
139
|
+
);
|
|
140
|
+
mainGroup = 45BE3DD62AB48A1200D2EAE3;
|
|
141
|
+
productRefGroup = 45BE3DE02AB48A1200D2EAE3 /* Products */;
|
|
142
|
+
projectDirPath = "";
|
|
143
|
+
projectRoot = "";
|
|
144
|
+
targets = (
|
|
145
|
+
45BE3DDE2AB48A1200D2EAE3 /* fnet-ios-app */,
|
|
146
|
+
);
|
|
147
|
+
};
|
|
148
|
+
/* End PBXProject section */
|
|
149
|
+
|
|
150
|
+
/* Begin PBXResourcesBuildPhase section */
|
|
151
|
+
45BE3DDD2AB48A1200D2EAE3 /* Resources */ = {
|
|
152
|
+
isa = PBXResourcesBuildPhase;
|
|
153
|
+
buildActionMask = 2147483647;
|
|
154
|
+
files = (
|
|
155
|
+
45BE3DEA2AB48A1300D2EAE3 /* Preview Assets.xcassets in Resources */,
|
|
156
|
+
45BE3DF12AB48A3C00D2EAE3 /* fnet in Resources */,
|
|
157
|
+
4518F7822AB4BA77007E9F7C /* LaunchScreen.storyboard in Resources */,
|
|
158
|
+
45BE3DE72AB48A1300D2EAE3 /* Assets.xcassets in Resources */,
|
|
159
|
+
);
|
|
160
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
161
|
+
};
|
|
162
|
+
/* End PBXResourcesBuildPhase section */
|
|
163
|
+
|
|
164
|
+
/* Begin PBXSourcesBuildPhase section */
|
|
165
|
+
45BE3DDB2AB48A1200D2EAE3 /* Sources */ = {
|
|
166
|
+
isa = PBXSourcesBuildPhase;
|
|
167
|
+
buildActionMask = 2147483647;
|
|
168
|
+
files = (
|
|
169
|
+
45BE3DF32AB48A7400D2EAE3 /* WebView.swift in Sources */,
|
|
170
|
+
45BE3DE52AB48A1200D2EAE3 /* ContentView.swift in Sources */,
|
|
171
|
+
45BE3DE32AB48A1200D2EAE3 /* fnet_ios_appApp.swift in Sources */,
|
|
172
|
+
);
|
|
173
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
174
|
+
};
|
|
175
|
+
/* End PBXSourcesBuildPhase section */
|
|
176
|
+
|
|
177
|
+
/* Begin XCBuildConfiguration section */
|
|
178
|
+
45BE3DEB2AB48A1300D2EAE3 /* Debug */ = {
|
|
179
|
+
isa = XCBuildConfiguration;
|
|
180
|
+
buildSettings = {
|
|
181
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
182
|
+
CLANG_ANALYZER_NONNULL = YES;
|
|
183
|
+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
|
184
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
|
|
185
|
+
CLANG_ENABLE_MODULES = YES;
|
|
186
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
|
187
|
+
CLANG_ENABLE_OBJC_WEAK = YES;
|
|
188
|
+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
189
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
190
|
+
CLANG_WARN_COMMA = YES;
|
|
191
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
192
|
+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
|
193
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
194
|
+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
|
195
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
|
196
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
197
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
198
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
|
199
|
+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
200
|
+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
201
|
+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
202
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
203
|
+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
|
204
|
+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
205
|
+
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
206
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
207
|
+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
|
208
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
209
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
210
|
+
COPY_PHASE_STRIP = NO;
|
|
211
|
+
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
212
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
213
|
+
ENABLE_TESTABILITY = YES;
|
|
214
|
+
GCC_C_LANGUAGE_STANDARD = gnu11;
|
|
215
|
+
GCC_DYNAMIC_NO_PIC = NO;
|
|
216
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
|
217
|
+
GCC_OPTIMIZATION_LEVEL = 0;
|
|
218
|
+
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
219
|
+
"DEBUG=1",
|
|
220
|
+
"$(inherited)",
|
|
221
|
+
);
|
|
222
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
223
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
224
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
225
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
226
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
227
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
228
|
+
GENERATE_INFOPLIST_FILE = YES;
|
|
229
|
+
IPHONEOS_DEPLOYMENT_TARGET = 16.4;
|
|
230
|
+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
|
231
|
+
MTL_FAST_MATH = YES;
|
|
232
|
+
ONLY_ACTIVE_ARCH = YES;
|
|
233
|
+
SDKROOT = iphoneos;
|
|
234
|
+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
|
235
|
+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
236
|
+
};
|
|
237
|
+
name = Debug;
|
|
238
|
+
};
|
|
239
|
+
45BE3DEC2AB48A1300D2EAE3 /* Release */ = {
|
|
240
|
+
isa = XCBuildConfiguration;
|
|
241
|
+
buildSettings = {
|
|
242
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
243
|
+
CLANG_ANALYZER_NONNULL = YES;
|
|
244
|
+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
|
245
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
|
|
246
|
+
CLANG_ENABLE_MODULES = YES;
|
|
247
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
|
248
|
+
CLANG_ENABLE_OBJC_WEAK = YES;
|
|
249
|
+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
250
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
251
|
+
CLANG_WARN_COMMA = YES;
|
|
252
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
253
|
+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
|
254
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
255
|
+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
|
256
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
|
257
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
258
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
259
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
|
260
|
+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
261
|
+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
262
|
+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
263
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
264
|
+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
|
265
|
+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
266
|
+
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
267
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
268
|
+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
|
269
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
270
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
271
|
+
COPY_PHASE_STRIP = NO;
|
|
272
|
+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
|
273
|
+
ENABLE_NS_ASSERTIONS = NO;
|
|
274
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
275
|
+
GCC_C_LANGUAGE_STANDARD = gnu11;
|
|
276
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
|
277
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
278
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
279
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
280
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
281
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
282
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
283
|
+
GENERATE_INFOPLIST_FILE = YES;
|
|
284
|
+
IPHONEOS_DEPLOYMENT_TARGET = 16.4;
|
|
285
|
+
MTL_ENABLE_DEBUG_INFO = NO;
|
|
286
|
+
MTL_FAST_MATH = YES;
|
|
287
|
+
SDKROOT = iphoneos;
|
|
288
|
+
SWIFT_COMPILATION_MODE = wholemodule;
|
|
289
|
+
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
|
290
|
+
VALIDATE_PRODUCT = YES;
|
|
291
|
+
};
|
|
292
|
+
name = Release;
|
|
293
|
+
};
|
|
294
|
+
45BE3DEE2AB48A1300D2EAE3 /* Debug */ = {
|
|
295
|
+
isa = XCBuildConfiguration;
|
|
296
|
+
buildSettings = {
|
|
297
|
+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
298
|
+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
|
299
|
+
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
|
|
300
|
+
{% if params.code_sign_style ==='Automatic' %}
|
|
301
|
+
CODE_SIGN_IDENTITY = "{{params.code_sign_identity}}";
|
|
302
|
+
{% else %}
|
|
303
|
+
CODE_SIGN_IDENTITY = "{{params.code_sign_identity}}";
|
|
304
|
+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
305
|
+
{% endif%}
|
|
306
|
+
|
|
307
|
+
CODE_SIGN_STYLE = {{params.code_sign_style}};
|
|
308
|
+
CURRENT_PROJECT_VERSION = 2;
|
|
309
|
+
DEVELOPMENT_ASSET_PATHS = "\"fnet-ios-app/Preview Content\"";
|
|
310
|
+
DEVELOPMENT_TEAM = {{params.development_team}};
|
|
311
|
+
ENABLE_PREVIEWS = YES;
|
|
312
|
+
GENERATE_INFOPLIST_FILE = YES;
|
|
313
|
+
INFOPLIST_FILE = "fnet-ios-app/Info.plist";
|
|
314
|
+
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
|
|
315
|
+
INFOPLIST_KEY_NSMicrophoneUsageDescription = "We use the microphone to recognize and process voice commands within the app.";
|
|
316
|
+
INFOPLIST_KEY_NSSpeechRecognitionUsageDescription = "We need access to speech recognition to process voice commands.";
|
|
317
|
+
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
|
|
318
|
+
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
|
319
|
+
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen.storyboard;
|
|
320
|
+
INFOPLIST_KEY_UIRequiresFullScreen = YES;
|
|
321
|
+
INFOPLIST_KEY_UIStatusBarStyle = UIStatusBarStyleDarkContent;
|
|
322
|
+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
|
323
|
+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
|
324
|
+
LD_RUNPATH_SEARCH_PATHS = (
|
|
325
|
+
"$(inherited)",
|
|
326
|
+
"@executable_path/Frameworks",
|
|
327
|
+
);
|
|
328
|
+
MARKETING_VERSION = {{params.version}};
|
|
329
|
+
PRODUCT_BUNDLE_IDENTIFIER = "{{params.product_bundle_identifier}}";
|
|
330
|
+
{# PRODUCT_NAME = "$(TARGET_NAME)"; #}
|
|
331
|
+
PRODUCT_NAME = "{{params.product_name}}";
|
|
332
|
+
{% if params.code_sign_style ==='Automatic' %}
|
|
333
|
+
PROVISIONING_PROFILE_SPECIFIER = "";
|
|
334
|
+
{% else %}
|
|
335
|
+
PROVISIONING_PROFILE_SPECIFIER = "";
|
|
336
|
+
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "{{params.provisioning_profile_specifier}}";
|
|
337
|
+
{% endif%}
|
|
338
|
+
SWIFT_EMIT_LOC_STRINGS = YES;
|
|
339
|
+
SWIFT_VERSION = 5.0;
|
|
340
|
+
TARGETED_DEVICE_FAMILY = "1,2";
|
|
341
|
+
};
|
|
342
|
+
name = Debug;
|
|
343
|
+
};
|
|
344
|
+
45BE3DEF2AB48A1300D2EAE3 /* Release */ = {
|
|
345
|
+
isa = XCBuildConfiguration;
|
|
346
|
+
buildSettings = {
|
|
347
|
+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
348
|
+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
|
349
|
+
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
|
|
350
|
+
{% if params.code_sign_style ==='Automatic' %}
|
|
351
|
+
CODE_SIGN_IDENTITY = "{{params.code_sign_identity}}";
|
|
352
|
+
{% else %}
|
|
353
|
+
CODE_SIGN_IDENTITY = "{{params.code_sign_identity}}";
|
|
354
|
+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
355
|
+
{% endif%}
|
|
356
|
+
CODE_SIGN_STYLE = {{params.code_sign_style}};
|
|
357
|
+
CURRENT_PROJECT_VERSION = 2;
|
|
358
|
+
DEVELOPMENT_ASSET_PATHS = "\"fnet-ios-app/Preview Content\"";
|
|
359
|
+
DEVELOPMENT_TEAM = {{params.development_team}};
|
|
360
|
+
ENABLE_PREVIEWS = YES;
|
|
361
|
+
GENERATE_INFOPLIST_FILE = YES;
|
|
362
|
+
INFOPLIST_FILE = "fnet-ios-app/Info.plist";
|
|
363
|
+
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
|
|
364
|
+
INFOPLIST_KEY_NSMicrophoneUsageDescription = "We use the microphone to recognize and process voice commands within the app.";
|
|
365
|
+
INFOPLIST_KEY_NSSpeechRecognitionUsageDescription = "We need access to speech recognition to process voice commands.";
|
|
366
|
+
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
|
|
367
|
+
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
|
368
|
+
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen.storyboard;
|
|
369
|
+
INFOPLIST_KEY_UIRequiresFullScreen = YES;
|
|
370
|
+
INFOPLIST_KEY_UIStatusBarStyle = UIStatusBarStyleDarkContent;
|
|
371
|
+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
|
372
|
+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
|
373
|
+
LD_RUNPATH_SEARCH_PATHS = (
|
|
374
|
+
"$(inherited)",
|
|
375
|
+
"@executable_path/Frameworks",
|
|
376
|
+
);
|
|
377
|
+
MARKETING_VERSION = {{params.version}};
|
|
378
|
+
PRODUCT_BUNDLE_IDENTIFIER = "{{params.product_bundle_identifier}}";
|
|
379
|
+
{# PRODUCT_NAME = "$(TARGET_NAME)"; #}
|
|
380
|
+
PRODUCT_NAME = "{{params.product_name}}";
|
|
381
|
+
{% if params.code_sign_style ==='Automatic' %}
|
|
382
|
+
PROVISIONING_PROFILE_SPECIFIER = "";
|
|
383
|
+
{% else %}
|
|
384
|
+
PROVISIONING_PROFILE_SPECIFIER = "";
|
|
385
|
+
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "{{params.provisioning_profile_specifier}}";
|
|
386
|
+
{% endif%}
|
|
387
|
+
SWIFT_EMIT_LOC_STRINGS = YES;
|
|
388
|
+
SWIFT_VERSION = 5.0;
|
|
389
|
+
TARGETED_DEVICE_FAMILY = "1,2";
|
|
390
|
+
};
|
|
391
|
+
name = Release;
|
|
392
|
+
};
|
|
393
|
+
/* End XCBuildConfiguration section */
|
|
394
|
+
|
|
395
|
+
/* Begin XCConfigurationList section */
|
|
396
|
+
45BE3DDA2AB48A1200D2EAE3 /* Build configuration list for PBXProject "fnet-ios-app" */ = {
|
|
397
|
+
isa = XCConfigurationList;
|
|
398
|
+
buildConfigurations = (
|
|
399
|
+
45BE3DEB2AB48A1300D2EAE3 /* Debug */,
|
|
400
|
+
45BE3DEC2AB48A1300D2EAE3 /* Release */,
|
|
401
|
+
);
|
|
402
|
+
defaultConfigurationIsVisible = 0;
|
|
403
|
+
defaultConfigurationName = Release;
|
|
404
|
+
};
|
|
405
|
+
45BE3DED2AB48A1300D2EAE3 /* Build configuration list for PBXNativeTarget "fnet-ios-app" */ = {
|
|
406
|
+
isa = XCConfigurationList;
|
|
407
|
+
buildConfigurations = (
|
|
408
|
+
45BE3DEE2AB48A1300D2EAE3 /* Debug */,
|
|
409
|
+
45BE3DEF2AB48A1300D2EAE3 /* Release */,
|
|
410
|
+
);
|
|
411
|
+
defaultConfigurationIsVisible = 0;
|
|
412
|
+
defaultConfigurationName = Release;
|
|
413
|
+
};
|
|
414
|
+
/* End XCConfigurationList section */
|
|
415
|
+
};
|
|
416
|
+
rootObject = 45BE3DD72AB48A1200D2EAE3 /* Project object */;
|
|
417
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<Scheme
|
|
3
|
+
LastUpgradeVersion = "1430"
|
|
4
|
+
version = "1.7">
|
|
5
|
+
<BuildAction
|
|
6
|
+
parallelizeBuildables = "YES"
|
|
7
|
+
buildImplicitDependencies = "YES">
|
|
8
|
+
<BuildActionEntries>
|
|
9
|
+
<BuildActionEntry
|
|
10
|
+
buildForTesting = "YES"
|
|
11
|
+
buildForRunning = "YES"
|
|
12
|
+
buildForProfiling = "YES"
|
|
13
|
+
buildForArchiving = "YES"
|
|
14
|
+
buildForAnalyzing = "YES">
|
|
15
|
+
<BuildableReference
|
|
16
|
+
BuildableIdentifier = "primary"
|
|
17
|
+
BlueprintIdentifier = "45BE3DDE2AB48A1200D2EAE3"
|
|
18
|
+
BuildableName = "fnet-ios-app.app"
|
|
19
|
+
BlueprintName = "fnet-ios-app"
|
|
20
|
+
ReferencedContainer = "container:fnet-ios-app.xcodeproj">
|
|
21
|
+
</BuildableReference>
|
|
22
|
+
</BuildActionEntry>
|
|
23
|
+
</BuildActionEntries>
|
|
24
|
+
</BuildAction>
|
|
25
|
+
<TestAction
|
|
26
|
+
buildConfiguration = "Debug"
|
|
27
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
28
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
29
|
+
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
30
|
+
shouldAutocreateTestPlan = "YES">
|
|
31
|
+
</TestAction>
|
|
32
|
+
<LaunchAction
|
|
33
|
+
buildConfiguration = "Debug"
|
|
34
|
+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
35
|
+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
36
|
+
launchStyle = "0"
|
|
37
|
+
useCustomWorkingDirectory = "NO"
|
|
38
|
+
ignoresPersistentStateOnLaunch = "NO"
|
|
39
|
+
debugDocumentVersioning = "YES"
|
|
40
|
+
debugServiceExtension = "internal"
|
|
41
|
+
allowLocationSimulation = "YES">
|
|
42
|
+
<BuildableProductRunnable
|
|
43
|
+
runnableDebuggingMode = "0">
|
|
44
|
+
<BuildableReference
|
|
45
|
+
BuildableIdentifier = "primary"
|
|
46
|
+
BlueprintIdentifier = "45BE3DDE2AB48A1200D2EAE3"
|
|
47
|
+
BuildableName = "fnet-ios-app.app"
|
|
48
|
+
BlueprintName = "fnet-ios-app"
|
|
49
|
+
ReferencedContainer = "container:fnet-ios-app.xcodeproj">
|
|
50
|
+
</BuildableReference>
|
|
51
|
+
</BuildableProductRunnable>
|
|
52
|
+
</LaunchAction>
|
|
53
|
+
<ProfileAction
|
|
54
|
+
buildConfiguration = "Release"
|
|
55
|
+
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
56
|
+
savedToolIdentifier = ""
|
|
57
|
+
useCustomWorkingDirectory = "NO"
|
|
58
|
+
debugDocumentVersioning = "YES">
|
|
59
|
+
<BuildableProductRunnable
|
|
60
|
+
runnableDebuggingMode = "0">
|
|
61
|
+
<BuildableReference
|
|
62
|
+
BuildableIdentifier = "primary"
|
|
63
|
+
BlueprintIdentifier = "45BE3DDE2AB48A1200D2EAE3"
|
|
64
|
+
BuildableName = "fnet-ios-app.app"
|
|
65
|
+
BlueprintName = "fnet-ios-app"
|
|
66
|
+
ReferencedContainer = "container:fnet-ios-app.xcodeproj">
|
|
67
|
+
</BuildableReference>
|
|
68
|
+
</BuildableProductRunnable>
|
|
69
|
+
</ProfileAction>
|
|
70
|
+
<AnalyzeAction
|
|
71
|
+
buildConfiguration = "Debug">
|
|
72
|
+
</AnalyzeAction>
|
|
73
|
+
<ArchiveAction
|
|
74
|
+
buildConfiguration = "Release"
|
|
75
|
+
revealArchiveInOrganizer = "YES">
|
|
76
|
+
</ArchiveAction>
|
|
77
|
+
</Scheme>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>{{params.title}}</title>
|
|
8
|
+
{% if params.include_css===true %}
|
|
9
|
+
<link rel="stylesheet" href='./dist/{{params.entry}}/index.css' />
|
|
10
|
+
{% endif %}
|
|
11
|
+
<script src="./dist/{{params.entry}}/index.js"></script>
|
|
12
|
+
</head>
|
|
13
|
+
<body style="height:100vh;margin:0;padding:0;background-color: #eeeeee;">
|
|
14
|
+
<div id="container" style="height:100%;"></div>
|
|
15
|
+
<script>
|
|
16
|
+
const { createApp } = window['{{params.bundle_name}}'];
|
|
17
|
+
const run = createApp({
|
|
18
|
+
container: document.getElementById("container"),
|
|
19
|
+
});
|
|
20
|
+
const dispose = run();
|
|
21
|
+
</script>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
package/template/deploy/to-macos-app/fnet-macos-app/Assets.xcassets/AppIcon.appiconset/Contents.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"images" : [
|
|
3
|
+
{
|
|
4
|
+
"filename" : "icon_16x16.png",
|
|
5
|
+
"idiom" : "mac",
|
|
6
|
+
"scale" : "1x",
|
|
7
|
+
"size" : "16x16"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"filename" : "icon_32x32.png",
|
|
11
|
+
"idiom" : "mac",
|
|
12
|
+
"scale" : "2x",
|
|
13
|
+
"size" : "16x16"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"filename" : "icon_32x32.png",
|
|
17
|
+
"idiom" : "mac",
|
|
18
|
+
"scale" : "1x",
|
|
19
|
+
"size" : "32x32"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"filename" : "icon_64x64.png",
|
|
23
|
+
"idiom" : "mac",
|
|
24
|
+
"scale" : "2x",
|
|
25
|
+
"size" : "32x32"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"filename" : "icon_128x128.png",
|
|
29
|
+
"idiom" : "mac",
|
|
30
|
+
"scale" : "1x",
|
|
31
|
+
"size" : "128x128"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"filename" : "icon_256x256.png",
|
|
35
|
+
"idiom" : "mac",
|
|
36
|
+
"scale" : "2x",
|
|
37
|
+
"size" : "128x128"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"filename" : "icon_256x256.png",
|
|
41
|
+
"idiom" : "mac",
|
|
42
|
+
"scale" : "1x",
|
|
43
|
+
"size" : "256x256"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"filename" : "icon_512x512.png",
|
|
47
|
+
"idiom" : "mac",
|
|
48
|
+
"scale" : "2x",
|
|
49
|
+
"size" : "256x256"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"filename" : "icon_512x512.png",
|
|
53
|
+
"idiom" : "mac",
|
|
54
|
+
"scale" : "1x",
|
|
55
|
+
"size" : "512x512"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"filename" : "icon_1024x1024.png",
|
|
59
|
+
"idiom" : "mac",
|
|
60
|
+
"scale" : "2x",
|
|
61
|
+
"size" : "512x512"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"info" : {
|
|
65
|
+
"author" : "xcode",
|
|
66
|
+
"version" : 1
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import SwiftUI
|
|
2
|
+
import WebKit
|
|
3
|
+
|
|
4
|
+
struct WebView: NSViewRepresentable {
|
|
5
|
+
|
|
6
|
+
func makeNSView(context: Context) -> WKWebView {
|
|
7
|
+
let webView = WKWebView()
|
|
8
|
+
webView.navigationDelegate = context.coordinator
|
|
9
|
+
return webView
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
func updateNSView(_ nsView: WKWebView, context: Context) {
|
|
13
|
+
if let url = Bundle.main.url(forResource: "fnet/index", withExtension: "html") {
|
|
14
|
+
let baseUrl = Bundle.main.bundleURL
|
|
15
|
+
nsView.loadFileURL(url, allowingReadAccessTo: baseUrl)
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
func makeCoordinator() -> Coordinator {
|
|
20
|
+
Coordinator(self)
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
class Coordinator: NSObject, WKNavigationDelegate {
|
|
24
|
+
var parent: WebView
|
|
25
|
+
|
|
26
|
+
init(_ parent: WebView) {
|
|
27
|
+
self.parent = parent
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|