From 359b82c29cc3982e864d121d2346f379a617aa9e Mon Sep 17 00:00:00 2001
From: GyDi <segydi@foxmail.com>
Date: Wed, 1 Jun 2022 00:49:52 +0800
Subject: [PATCH] chore: rm some files

---
 package.json               |  4 +-
 src-tauri/tauri.alpha.json | 13 ------
 src-tauri/tauri.meta.json  | 87 --------------------------------------
 3 files changed, 1 insertion(+), 103 deletions(-)
 delete mode 100644 src-tauri/tauri.alpha.json
 delete mode 100644 src-tauri/tauri.meta.json

diff --git a/package.json b/package.json
index 6c62da1..3dc8ceb 100644
--- a/package.json
+++ b/package.json
@@ -4,10 +4,8 @@
   "license": "GPL-3.0",
   "scripts": {
     "dev": "tauri dev",
-    "dev:diff": "tauri dev -f verge-dev -c src-tauri/tauri.alpha.json",
-    "dev:core": "cross-env VITE_MULTI_CORE=1 yarn dev:diff",
+    "dev:diff": "tauri dev -f verge-dev",
     "build": "tauri build",
-    "build:meta": "cross-env VITE_MULTI_CORE=1 tauri build -c src-tauri/tauri.meta.json",
     "tauri": "tauri",
     "web:dev": "vite",
     "web:build": "tsc && vite build",
diff --git a/src-tauri/tauri.alpha.json b/src-tauri/tauri.alpha.json
deleted file mode 100644
index fd7d268..0000000
--- a/src-tauri/tauri.alpha.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
-    "tauri": {
-      "bundle": {
-        "externalBin": ["sidecar/clash", "sidecar/clash-meta"],
-        "windows": {
-          "wix": {
-            "language": ["zh-CN", "en-US"]
-          }
-        }
-      }
-    }
-  }
-  
\ No newline at end of file
diff --git a/src-tauri/tauri.meta.json b/src-tauri/tauri.meta.json
deleted file mode 100644
index 6720a58..0000000
--- a/src-tauri/tauri.meta.json
+++ /dev/null
@@ -1,87 +0,0 @@
-{
-  "package": {
-    "productName": "Clash Verge Meta",
-    "version": "1.0.1"
-  },
-  "build": {
-    "distDir": "../dist",
-    "devPath": "http://localhost:3000/",
-    "beforeDevCommand": "yarn run web:dev",
-    "beforeBuildCommand": "yarn run web:build"
-  },
-  "tauri": {
-    "systemTray": {
-      "iconPath": "icons/tray-icon.png",
-      "iconAsTemplate": true
-    },
-    "bundle": {
-      "active": true,
-      "targets": "all",
-      "identifier": "top.gydi.clashverge",
-      "icon": [
-        "icons/32x32.png",
-        "icons/128x128.png",
-        "icons/128x128@2x.png",
-        "icons/icon.icns",
-        "icons/icon.ico"
-      ],
-      "resources": ["resources"],
-      "externalBin": ["sidecar/clash", "sidecar/clash-meta"],
-      "copyright": "© 2022 zzzgydi All Rights Reserved",
-      "category": "DeveloperTool",
-      "shortDescription": "A Clash GUI based on tauri.",
-      "longDescription": "A Clash GUI based on tauri.",
-      "deb": {
-        "depends": []
-      },
-      "macOS": {
-        "frameworks": [],
-        "minimumSystemVersion": "",
-        "exceptionDomain": "",
-        "signingIdentity": null,
-        "entitlements": null
-      },
-      "windows": {
-        "certificateThumbprint": null,
-        "digestAlgorithm": "sha256",
-        "timestampUrl": ""
-      }
-    },
-    "updater": {
-      "active": true,
-      "endpoints": [
-        "https://github.com/zzzgydi/clash-verge/releases/download/updater/update.json",
-        "https://hub.fastgit.xyz/zzzgydi/clash-verge/releases/download/updater/update-proxy.json"
-      ],
-      "dialog": false,
-      "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDExNUFBNTBBN0FDNEFBRTUKUldUbHFzUjZDcVZhRVRJM25NS3NkSFlFVElxUkNZMzZ6bHUwRVJjb2F3alJXVzRaeDdSaTA2YWYK"
-    },
-    "allowlist": {
-      "shell": {
-        "all": true
-      },
-      "window": {
-        "all": true
-      },
-      "process": {
-        "all": true
-      }
-    },
-    "windows": [
-      {
-        "title": "Clash Verge",
-        "width": 800,
-        "height": 636,
-        "resizable": true,
-        "fullscreen": false,
-        "decorations": false,
-        "transparent": true,
-        "minWidth": 600,
-        "minHeight": 520
-      }
-    ],
-    "security": {
-      "csp": "script-src 'unsafe-eval' 'self'; default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self'; img-src data: 'self';"
-    }
-  }
-}
-- 
GitLab