From 4590f35079e7757490b26a5d55bd9de4b4f868bc Mon Sep 17 00:00:00 2001 From: Tlntin Date: Thu, 26 Jan 2023 12:34:26 +0800 Subject: [PATCH] add multi-architecture support for MacOS --- dist/cli.js | 45 +++++++++++++-------------------------------- 1 file changed, 13 insertions(+), 32 deletions(-) diff --git a/dist/cli.js b/dist/cli.js index 64f6eca..57a912e 100644 --- a/dist/cli.js +++ b/dist/cli.js @@ -1830,8 +1830,8 @@ function checkRustInstalled() { var tauri$3 = { windows: [ { - url: "https://www.baidu.com", - transparent: false, + url: "https://weread.qq.com/", + transparent: true, fullscreen: false, width: 1200, height: 780, @@ -1843,40 +1843,21 @@ var tauri$3 = { }, updater: { active: false - }, - bundle: { - icon: [ - "/Users/hfy/Documents/electron_s/Pake/src-tauri/icons/icon.icns" - ], - identifier: "pake-f9751d", - active: true, - category: "DeveloperTool", - copyright: "", - externalBin: [ - ], - longDescription: "", - macOS: { - entitlements: null, - exceptionDomain: "", - frameworks: [ - ], - providerShortName: null, - signingIdentity: null - }, - resources: [ - ], - shortDescription: "", - targets: [ - "dmg" - ] } }; +var build = { + devPath: "../dist", + distDir: "../dist", + beforeBuildCommand: "", + beforeDevCommand: "" +}; var CommonConf = { "package": { - productName: "baidu", + productName: "WeRead", version: "1.0.0" }, - tauri: tauri$3 + tauri: tauri$3, + build: build }; var tauri$2 = { @@ -1919,9 +1900,9 @@ var WinConf = { var tauri$1 = { bundle: { icon: [ - "/Users/hfy/Documents/electron_s/Pake/src-tauri/icons/icon.icns" + "icons/weread.icns" ], - identifier: "pake-f9751d", + identifier: "com.tw93.weread", active: true, category: "DeveloperTool", copyright: "",