tremble 3 سال پیش
والد
کامیت
1edd086d23

+ 45 - 0
package-lock.json

@@ -12,6 +12,7 @@
         "axios": "^0.22.0",
         "core-js": "^3.6.5",
         "dom-to-image": "^2.6.0",
+        "jsonp": "^0.2.1",
         "qs": "^6.10.1",
         "v-viewer": "^1.6.4",
         "vue": "^2.6.11",
@@ -8246,6 +8247,27 @@
         "graceful-fs": "^4.1.6"
       }
     },
+    "node_modules/jsonp": {
+      "version": "0.2.1",
+      "resolved": "https://registry.npmmirror.com/jsonp/-/jsonp-0.2.1.tgz",
+      "integrity": "sha512-pfog5gdDxPdV4eP7Kg87M8/bHgshlZ5pybl+yKxAnCZ5O7lCIn7Ixydj03wOlnDQesky2BPyA91SQ+5Y/mNwzw==",
+      "dependencies": {
+        "debug": "^2.1.3"
+      }
+    },
+    "node_modules/jsonp/node_modules/debug": {
+      "version": "2.6.9",
+      "resolved": "https://registry.npmmirror.com/debug/-/debug-2.6.9.tgz",
+      "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+      "dependencies": {
+        "ms": "2.0.0"
+      }
+    },
+    "node_modules/jsonp/node_modules/ms": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmmirror.com/ms/-/ms-2.0.0.tgz",
+      "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="
+    },
     "node_modules/jsprim": {
       "version": "1.4.1",
       "resolved": "http://registry.npm.taobao.org/jsprim/download/jsprim-1.4.1.tgz",
@@ -21326,6 +21348,29 @@
         "graceful-fs": "^4.1.6"
       }
     },
+    "jsonp": {
+      "version": "0.2.1",
+      "resolved": "https://registry.npmmirror.com/jsonp/-/jsonp-0.2.1.tgz",
+      "integrity": "sha512-pfog5gdDxPdV4eP7Kg87M8/bHgshlZ5pybl+yKxAnCZ5O7lCIn7Ixydj03wOlnDQesky2BPyA91SQ+5Y/mNwzw==",
+      "requires": {
+        "debug": "^2.1.3"
+      },
+      "dependencies": {
+        "debug": {
+          "version": "2.6.9",
+          "resolved": "https://registry.npmmirror.com/debug/-/debug-2.6.9.tgz",
+          "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+          "requires": {
+            "ms": "2.0.0"
+          }
+        },
+        "ms": {
+          "version": "2.0.0",
+          "resolved": "https://registry.npmmirror.com/ms/-/ms-2.0.0.tgz",
+          "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="
+        }
+      }
+    },
     "jsprim": {
       "version": "1.4.1",
       "resolved": "http://registry.npm.taobao.org/jsprim/download/jsprim-1.4.1.tgz",

+ 1 - 0
package.json

@@ -12,6 +12,7 @@
     "axios": "^0.22.0",
     "core-js": "^3.6.5",
     "dom-to-image": "^2.6.0",
+    "jsonp": "^0.2.1",
     "qs": "^6.10.1",
     "v-viewer": "^1.6.4",
     "vue": "^2.6.11",

+ 1 - 9
public/index.html

@@ -13,15 +13,6 @@
   <link rel="stylesheet" type="text/css" href="<%= VUE_APP_STATIC_DIR %>/js/lib/lunpan/hyglobal.min.css?20201226" />
   <link rel="icon" href="<%= BASE_URL %>logo.png">
   <title>新时代中国网络文明建设成果展云展示</title>
-  <script>
-    var _hmt = _hmt || [];
-    (function () {
-      var hm = document.createElement("script");
-      hm.src = "https://hm.baidu.com/hm.js?a1af463bc2692b6861ac40d2e024b07d";
-      var s = document.getElementsByTagName("script")[0];
-      s.parentNode.insertBefore(hm, s);
-    })();
-  </script>
   <style>
     .broswertips {
       position: fixed;
@@ -154,6 +145,7 @@
 
   </script>
   <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/jquery-2.1.1.min.js" class="build keep"></script>
+  <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/jweixin-1.6.0.js"></script>
 
   <script type="text/javascript" src="https://js.player.cntv.cn/creator/swfobject.js"></script>
   <script type="text/javascript" src="https://js.player.cntv.cn/creator/vodplayer.js"></script>

+ 1 - 18
public/mobile.html

@@ -13,24 +13,6 @@
   <link rel="stylesheet" type="text/css" href="<%= VUE_APP_STATIC_DIR %>/js/lib/lunpan/hyglobal.min.css?20201226" />
   <link rel="icon" href="<%= BASE_URL %>logo.png">
   <title>新时代中国网络文明建设成果展云展示</title>
-  <script>
-    var _hmt = _hmt || [];
-    (function () {
-      var hm = document.createElement("script");
-      hm.src = "https://hm.baidu.com/hm.js?a1af463bc2692b6861ac40d2e024b07d";
-      var s = document.getElementsByTagName("script")[0];
-      s.parentNode.insertBefore(hm, s);
-    })();
-  </script>
-  <script>
-    var _hmt = _hmt || [];
-    (function () {
-      var hm = document.createElement("script");
-      hm.src = "https://hm.baidu.com/hm.js?a1af463bc2692b6861ac40d2e024b07d";
-      var s = document.getElementsByTagName("script")[0];
-      s.parentNode.insertBefore(hm, s);
-    })();
-  </script>
   <style>
     .broswertips {
       position: fixed;
@@ -114,6 +96,7 @@
   </div>
 
   <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/jquery-2.1.1.min.js" class="build keep"></script>
+  <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/jweixin-1.6.0.js"></script>
 
   <script type="text/javascript" src="https://js.player.cntv.cn/creator/swfobject.js"></script>
   <script type="text/javascript" src="https://js.player.cntv.cn/creator/vodplayer.js"></script>

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 0
public/static/js/lib/jweixin-1.6.0.js


+ 2 - 1
public/static/js/lib/lunpan/hyglobal.min.css

@@ -4569,7 +4569,7 @@ video {
   color: rgba(255, 255, 255, .8);
   z-index: 9999;
   font-size: 1.6vh;
-  padding: 1.4vh .4vh;
+  padding: 1.4vh 0;
   position: relative;
   font-weight: 400;
   display: inline-block;
@@ -4577,6 +4577,7 @@ video {
   transform: translateY(0);
   transition: all .5s ease-in-out;
   cursor: pointer;
+  white-space: nowrap;
   border-radius: 40px;
   -webkit-transition: all 1s ease-in-out
 }

+ 8 - 76
src/clients/index.vue

@@ -6,83 +6,11 @@
 import "@/assets/style/reset.less";
 import "@/assets/style/public.less";
 import "@/assets/theme/color.less";
-import wx from "weixin-js-sdk";
-
-// let tongjiurl = "https://shuangchuang-api.kczg.org.cn/Web/jt/";
-
-let shareUrl = "";
+import wxShare from "@/utils/wxshare";
 
 export default {
   methods: {
-    wxShare() {
-      let url = location.href.split("#")[0];
-
-      $.ajax({
-        url: shareUrl + `?url=${encodeURIComponent(url)}`,
-        type: "get",
-        dataType: "json",
-        contentType: "application/json",
-        success: (result) => {
-          if ("0" == result.code) {
-            wx.config({
-              debug: !1,
-              appId: result.data.appId,
-              timestamp: result.data.timestamp,
-              nonceStr: result.data.nonceStr,
-              signature: result.data.signature,
-              jsApiList: [
-                "checkJsApi",
-                "getLocation",
-                "onMenuShareTimeline",
-                "updateAppMessageShareData",
-                "updateTimelineShareData",
-                "onMenuShareAppMessage",
-                "hideMenuItems",
-              ],
-            });
-            wx.ready(function() {
-              wx.onMenuShareTimeline({
-                title: "新时代中国网络文明建设成果展云展示",
-                desc:
-                  "云上展厅分为序厅及五个主题展区,展出了144个项目,打造永不落幕的云端展览。",
-                link: url,
-                imgUrl:
-                  "https://shuangchuangyunzhanlan.bj.bcebos.com/Img/20211010172438.jpg",
-                success: function() {},
-                cancel: function() {},
-              });
-              wx.onMenuShareAppMessage({
-                title: "新时代中国网络文明建设成果展云展示",
-                desc:
-                  "云上展厅分为序厅及五个主题展区,展出了144个项目,打造永不落幕的云端展览。",
-                link: url,
-                imgUrl:
-                  "https://shuangchuangyunzhanlan.bj.bcebos.com/Img/20211010172438.jpg",
-                type: "",
-                dataUrl: "",
-                success: function() {},
-                cancel: function() {},
-              });
-              wx.error(function() {});
-            });
-          }
-        },
-      });
-    },
-    tongji(event) {
-      if (event) {
-        $.ajax({
-          url:
-            tongjiurl +
-            `?Area=yunzhanlan&incident=${event}&rnd=` +
-            Math.random(),
-          type: "get",
-          dataType: "json",
-          contentType: "application/json",
-          success: () => {},
-        });
-      }
-    },
+   
   },
   mounted() {
     if (this.isMobile) {
@@ -97,8 +25,12 @@ export default {
       }
     }
 
-
-    // this.wxShare();
+  wxShare({
+        title: `新时代中国网络文明建设成果展云展示`,
+        desc: `弘扬时代新风 建设网络文明`,
+        link: window.location.href,
+        imgUrl: "https://wangzhan.cctv.com/wlwm2022/sharelogo.png",
+      });
   },
 };
 </script>

+ 8 - 60
src/clients/mobile.vue

@@ -8,66 +8,14 @@
 import "@/assets/style/reset.less";
 import "@/assets/style/public.less";
 import "@/assets/theme/color.less";
-import wx from "weixin-js-sdk";
+import wxShare from "@/utils/wxshare";
 
 // let tongjiurl = "https://shuangchuang-api.kczg.org.cn/Web/jt/";
 
-let shareUrl = "";
 
 export default {
   methods: {
-    wxShare() {
-      let url = location.href.split("#")[0];
-
-      $.ajax({
-        url: shareUrl + `?url=${encodeURIComponent(url)}`,
-        type: "get",
-        dataType: "json",
-        contentType: "application/json",
-        success: (result) => {
-          if ("0" == result.code) {
-            wx.config({
-              debug: !1,
-              appId: result.data.appId,
-              timestamp: result.data.timestamp,
-              nonceStr: result.data.nonceStr,
-              signature: result.data.signature,
-              jsApiList: [
-                "checkJsApi",
-                "getLocation",
-                "onMenuShareTimeline",
-                "updateAppMessageShareData",
-                "updateTimelineShareData",
-                "onMenuShareAppMessage",
-                "hideMenuItems",
-              ],
-            });
-            wx.ready(function() {
-              wx.onMenuShareTimeline({
-                title: "新时代中国网络文明建设成果展云展示",
-                desc: "云上展厅分为序厅及五个主题展区,展出了144个项目,打造永不落幕的云端展览。",
-                link: url,
-                imgUrl: "https://img-yunzhanlan.kczg.org.cn/yunzhanlan/images/logo.jpg",
-                success: function() {},
-                cancel: function() {},
-              });
-              wx.onMenuShareAppMessage({
-                title: "新时代中国网络文明建设成果展云展示",
-                desc: "云上展厅分为序厅及五个主题展区,展出了144个项目,打造永不落幕的云端展览。",
-                link: url,
-                imgUrl: "https://img-yunzhanlan.kczg.org.cn/yunzhanlan/images/logo.jpg",
-                type: "",
-                dataUrl: "",
-                success: function() {},
-                cancel: function() {},
-              });
-              wx.error(function() {});
-            });
-          }
-        },
-      });
-    },
- 
+    
   },
   watch: {
     "$route.name": function(newVal) {
@@ -82,13 +30,13 @@ export default {
 
     this.$nextTick(() => {
       document.addEventListener("WeixinJSBridgeReady", () => {}, false);
-
-      // this.$bus.$on('toggleHomeBgm',newVal=>{
-      //   console.log(newVal);
-      //   !newVal ? this.$refs.vgbgm.pause() : this.$refs.vgbgm.play();
-      // })
     });
-    // this.wxShare();
+    wxShare({
+        title: `新时代中国网络文明建设成果展云展示`,
+        desc: `弘扬时代新风 建设网络文明`,
+        link: window.location.href,
+        imgUrl: "https://wangzhan.cctv.com/wlwm2022/sharelogo.png",
+      });
   },
 };
 </script>

+ 0 - 1
src/components/bird_view/index.vue

@@ -17,7 +17,6 @@
 </template>
 
 <script>
-import Vue from "vue";
 import { region } from "@/data/raw.js";
 import { Booth } from "@/data/booth.js";
 

+ 2 - 1
src/pages/Home.vue

@@ -40,7 +40,7 @@ export default {
         name: "scene",
         params: { type: 1, isjump: "yes" },
       });
-    }
+    },
   },
   mounted() {
     this.$nextTick(() => {
@@ -49,6 +49,7 @@ export default {
         .on("click", () => {
           window.goldlog.record("/spec.1.1", "", "snsScene=p_page1&product=pcweb&pagename=中国网络文明建设成果展云展示", "");
         });
+
     });
     // this.openGuide()
   },

+ 1 - 0
src/pages/mobile.vue

@@ -53,6 +53,7 @@ export default {
         .on("touchstart", () => {
           window.goldlog.record("/spec.1.1", "", "snsScene=m_page1&product=mobh5&pagename=中国网络文明建设成果展云展示", "");
         });
+   
     });
   },
 };

+ 1 - 1
src/pages/mobilescene/birdview/ViewOperation.vue

@@ -23,7 +23,7 @@ export default {
       height: wh.height,
       tscale: 1,
       translate: {
-        x: 300,
+        x: (wh.width - window.innerWidth ) / 3.4,
         y: 0
       },
       isFireFox: browser.gecko,

+ 1 - 1
src/pages/scene/raside/map.vue

@@ -149,7 +149,7 @@ export default {
     height: 70px;
     cursor: pointer;
     position: absolute;
-    left: -152px;
+    left: -153px;
     border-radius: 6px 0 0 6px;
     overflow: hidden;
     font-size: 0;

+ 287 - 0
src/utils/wxshare.js

@@ -0,0 +1,287 @@
+import jsonp from 'jsonp'
+function toConfigure() {
+    return new Promise((resolve, reject) => {
+        let name = '新时代网络文明建设展'
+        name = encodeURIComponent(name)
+        let uri = encodeURIComponent(location.href.split('#')[0])
+        jsonp(
+            '//www.4dage.com/wechat/jssdk/share?name=' + name + '&uri=' + uri,
+            {
+                param: 'callback',
+            },
+            function (err, data) {
+                console.log(data, '-------------------------------------=========')
+                wx.config({
+                    debug: false,
+                    appId: data.appId,
+                    timestamp: data.timestamp,
+                    nonceStr: data.nonceStr,
+                    signature: data.signature,
+                    jsApiList: [
+                        'checkJsApi',
+                        'onMenuShareTimeline',
+                        'onMenuShareAppMessage',
+                        'updateTimelineShareData',
+                        'updateAppMessageShareData',
+                        'onMenuShareQQ',
+                        'onMenuShareWeibo',
+                        'hideMenuItems',
+                        'showMenuItems',
+                        'hideAllNonBaseMenuItem',
+                        'showAllNonBaseMenuItem',
+                        'translateVoice',
+                        'startRecord',
+                        'stopRecord',
+                        'onRecordEnd',
+                        'playVoice',
+                        'pauseVoice',
+                        'stopVoice',
+                        'uploadVoice',
+                        'downloadVoice',
+                        'chooseImage',
+                        'previewImage',
+                        'uploadImage',
+                        'downloadImage',
+                        'getNetworkType',
+                        'openLocation',
+                        'getLocation',
+                        'hideOptionMenu',
+                        'showOptionMenu',
+                        'closeWindow',
+                        'scanQRCode',
+                        'chooseWXPay',
+                        'openProductSpecificView',
+                        'addCard',
+                        'chooseCard',
+                        'openCard',
+                    ],
+                })
+                resolve()
+            }
+        )
+
+        // jsonp({
+        //     url: '//www.4dage.com/wechat/jssdk/share',
+        //     data: {
+        //         name: name,
+        //         uri: location.href.split('#')[0],
+        //     },
+        //     // 把前端方法作为参数传递给服务器
+        //     success: function (data) {
+        //         console.log(data)
+        //         wx.config({
+        //             debug: false,
+        //             appId: data.appId,
+        //             timestamp: data.timestamp,
+        //             nonceStr: data.nonceStr,
+        //             signature: data.signature,
+        //             jsApiList: [
+        //                 'checkJsApi',
+        //                 'onMenuShareTimeline',
+        //                 'onMenuShareAppMessage',
+        //                 'updateTimelineShareData',
+        //                 'updateAppMessageShareData',
+        //                 'onMenuShareQQ',
+        //                 'onMenuShareWeibo',
+        //                 'hideMenuItems',
+        //                 'showMenuItems',
+        //                 'hideAllNonBaseMenuItem',
+        //                 'showAllNonBaseMenuItem',
+        //                 'translateVoice',
+        //                 'startRecord',
+        //                 'stopRecord',
+        //                 'onRecordEnd',
+        //                 'playVoice',
+        //                 'pauseVoice',
+        //                 'stopVoice',
+        //                 'uploadVoice',
+        //                 'downloadVoice',
+        //                 'chooseImage',
+        //                 'previewImage',
+        //                 'uploadImage',
+        //                 'downloadImage',
+        //                 'getNetworkType',
+        //                 'openLocation',
+        //                 'getLocation',
+        //                 'hideOptionMenu',
+        //                 'showOptionMenu',
+        //                 'closeWindow',
+        //                 'scanQRCode',
+        //                 'chooseWXPay',
+        //                 'openProductSpecificView',
+        //                 'addCard',
+        //                 'chooseCard',
+        //                 'openCard',
+        //             ],
+        //         })
+        //         resolve()
+        //     },
+        // })
+
+        // $.ajax({
+        //     url: '//www.4dage.com/wechat/jssdk/share',
+        //     type: 'get',
+        //     data: {
+        //         uri: location.href.split('#')[0],
+        //         name: '厦门四维时代微信公众号',
+        //     },
+        //     dataType: 'jsonp',
+        //     //jsonpCallback: "success_jsonp",
+        //     success: function (data, textStatus) {
+        //       console.log(data)
+        //         wx.config({
+        //             debug: false,
+        //             appId: data.appId,
+        //             timestamp: data.timestamp,
+        //             nonceStr: data.nonceStr,
+        //             signature: data.signature,
+        //             jsApiList: [
+        //                 'checkJsApi',
+        //                 'onMenuShareTimeline',
+        //                 'onMenuShareAppMessage',
+        //                 'onMenuShareQQ',
+        //                 'onMenuShareWeibo',
+        //                 'hideMenuItems',
+        //                 'showMenuItems',
+        //                 'hideAllNonBaseMenuItem',
+        //                 'showAllNonBaseMenuItem',
+        //                 'translateVoice',
+        //                 'startRecord',
+        //                 'stopRecord',
+        //                 'onRecordEnd',
+        //                 'playVoice',
+        //                 'pauseVoice',
+        //                 'stopVoice',
+        //                 'uploadVoice',
+        //                 'downloadVoice',
+        //                 'chooseImage',
+        //                 'previewImage',
+        //                 'uploadImage',
+        //                 'downloadImage',
+        //                 'getNetworkType',
+        //                 'openLocation',
+        //                 'getLocation',
+        //                 'hideOptionMenu',
+        //                 'showOptionMenu',
+        //                 'closeWindow',
+        //                 'scanQRCode',
+        //                 'chooseWXPay',
+        //                 'openProductSpecificView',
+        //                 'addCard',
+        //                 'chooseCard',
+        //                 'openCard',
+        //             ],
+        //         })
+        //         resolve()
+        //     },
+        //     error: function (XMLHttpRequest, textStatus, errorThrown) {
+        //         reject('jsonp.error:' + textStatus)
+        //     },
+        // })
+    })
+}
+
+function strToJSON(search) {
+    let args = search.substr(1).split('&')
+    let obj = {}
+    args.forEach(arg => {
+        let index = arg.indexOf('=')
+        if (!~index) {
+            obj[arg] = null
+        } else {
+            obj[arg.substr(0, index)] = arg.substr(index + 1)
+        }
+    })
+
+    return obj
+}
+
+function jsonToStr(data) {
+    let strs = []
+    Object.keys(data).forEach(k => {
+        if (data[k] !== null) {
+            strs.push(`${k}=${data[k]}`)
+        }
+    })
+    return '?' + strs.join('&')
+}
+
+function setup({ title, link, imgUrl, desc }) {
+    let defaultFn = () => { }
+    let defaultChar = ''
+    let search = link.substr(link.indexOf('?'))
+    let path = link.substr(0, link.indexOf('?'))
+    let data = strToJSON(search)
+    wx.ready(function () {
+        // 微信朋友圈
+        data.open = 'wx_friends'
+        wx.onMenuShareTimeline({ title, link: path + jsonToStr(data), imgUrl, desc })
+        // 微信好友
+        data.open = 'wx_friend'
+        wx.onMenuShareAppMessage({ title, desc, link: path + jsonToStr(data), imgUrl, type: defaultChar, dataUrl: defaultChar })
+        // 微博
+        data.open = 'weibo'
+        wx.onMenuShareWeibo({ title, desc, link: path + jsonToStr(data), imgUrl, success: defaultFn, cancel: defaultFn })
+        // 空间
+        data.open = 'qq_zone'
+        wx.onMenuShareQZone({ title, desc, link: path + jsonToStr(data), imgUrl, success: defaultFn, cancel: defaultFn })
+        // QQ好友
+        data.open = 'qq'
+        wx.onMenuShareQQ({ title, desc, link: path + jsonToStr(data), imgUrl, success: defaultFn, cancel: defaultFn })
+
+        wx.hideMenuItems({
+            menuList: [
+                'menuItem:copyUrl',
+                'menuItem:openWithQQBrowser',
+                'menuItem:openWithSafari',
+                'menuItem:originPage',
+            ]
+        });
+        wx.error(function (e) {
+            console.log(e)
+        })
+    })
+}
+// // 封装JSONP方法
+// function jsonp(options) {
+//     // 创建一个script标签
+//     var script = document.createElement('script')
+
+//     // 随机生成一个函数名
+//     /*   Math.random() 随机生成小数 0.123
+//       toString() 转换为字符串
+//       replace('.','') 把点替换 0123
+//       最后随机生成的funName是 myJSONP0123 这种格式 */
+//     var funName = 'myJSONP' + Math.random().toString().replace('.', '')
+
+//     // 多个参数进行拼接
+//     var param = ''
+//     for (var arr in options.data) {
+//         param += '&' + arr + '=' + options.data[arr]
+//     }
+
+//     // 把这个客户传过来的函数设置为全局函数
+//     // . 后面不能跟变量,所以只能用[]
+//     window[funName] = options.success
+
+//     // 给script中的src属性赋值
+//     script.src = options.url + '?callback=' + funName + param
+//     // 放到body容器里面
+//     document.body.appendChild(script)
+
+//     // 等script标签加载完之后,清除标签
+//     script.onload = function () {
+//         document.body.removeChild(script)
+//     }
+// }
+
+export default async args => {
+
+    if (typeof wx != 'undefined' && window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i) == "micromessenger") {
+        // if (typeof wx != 'undefined') {
+        //需要引入 https://res.wx.qq.com/open/js/jweixin-1.2.0.js
+        !args.donotconfig && await toConfigure()
+        setup(args)
+    }
+}
+