Quellcode durchsuchen

feat: 多平台发布

kindring vor 1 Jahr
Ursprung
Commit
990f13b5cf
4 geänderte Dateien mit 86 neuen und 1 gelöschten Zeilen
  1. 5 0
      app.miniapp.json
  2. 11 0
      i18n/base.json
  3. 6 1
      project.config.json
  4. 64 0
      project.miniapp.json

+ 5 - 0
app.miniapp.json

@@ -0,0 +1,5 @@
+{
+	"adapteByMiniprogram": {
+		"userName": "gh_6c9000e47323"
+	}
+}

+ 11 - 0
i18n/base.json

@@ -0,0 +1,11 @@
+{
+	"ios": {
+		"name": "蓝牙工具箱"
+	},
+	"android": {
+		"name": "蓝牙工具箱"
+	},
+	"common": {
+		"name": "蓝牙工具箱"
+	}
+}

+ 6 - 1
project.config.json

@@ -41,7 +41,8 @@
       "outputPath": ""
     },
     "disableUseStrict": false,
-    "useCompilerPlugins": false
+    "useCompilerPlugins": false,
+    "condition": true
   },
   "compileType": "miniprogram",
   "libVersion": "2.19.4",
@@ -51,5 +52,9 @@
   "editorSetting": {
     "tabIndent": "insertSpaces",
     "tabSize": 2
+  },
+  "projectArchitecture": "multiPlatform",
+  "simulatorPluginLibVersion": {
+    "wxext14566970e7e9f62": "2.27.3-4"
   }
 }

+ 64 - 0
project.miniapp.json

@@ -0,0 +1,64 @@
+{
+  "miniVersion": "v2",
+  "name": "%name%",
+  "version": "0.0.1",
+  "i18nFilePath": "i18n",
+  "mini-android": {
+    "sdkVersion": "1.2.9",
+    "toolkitVersion": "0.10.0",
+    "useExtendedSdk": {
+      "media": false,
+      "bluetooth": false,
+      "network": false,
+      "scanner": false,
+      "xweb": false
+    },
+    "icons": {
+      "hdpi": "",
+      "xhdpi": "",
+      "xxhdpi": "",
+      "xxxhdpi": ""
+    },
+    "splashscreen": {
+      "hdpi": "",
+      "xhdpi": "",
+      "xxhdpi": ""
+    },
+    "enableVConsole": "open",
+    "privacy": {
+      "enable": true
+    }
+  },
+  "mini-ios": {
+    "sdkVersion": "1.0.21",
+    "toolkitVersion": "0.0.9",
+    "useExtendedSdk": {
+      "WeAppOpenFuns": true,
+      "WeAppNetwork": false,
+      "WeAppBluetooth": false,
+      "WeAppMedia": false,
+      "WeAppLBS": false,
+      "WeAppOthers": false
+    },
+    "enableVConsole": "open",
+    "icons": {
+      "mainIcon120": "",
+      "mainIcon180": "",
+      "spotlightIcon80": "",
+      "spotlightIcon120": "",
+      "settingsIcon58": "",
+      "settingsIcon87": "",
+      "notificationIcon40": "",
+      "notificationIcon60": "",
+      "appStore1024": ""
+    },
+    "splashScreen": {
+      "customImage": ""
+    },
+    "privacy": {
+      "enable": false
+    },
+    "enableOpenUrlNavigate": true
+  },
+  "versionCode": 100
+}