add multi-architecture support for MacOS

This commit is contained in:
Tlntin
2023-01-26 12:34:26 +08:00
parent c3f8b628f0
commit 4590f35079

45
dist/cli.js vendored
View File

@@ -1830,8 +1830,8 @@ function checkRustInstalled() {
var tauri$3 = { var tauri$3 = {
windows: [ windows: [
{ {
url: "https://www.baidu.com", url: "https://weread.qq.com/",
transparent: false, transparent: true,
fullscreen: false, fullscreen: false,
width: 1200, width: 1200,
height: 780, height: 780,
@@ -1843,40 +1843,21 @@ var tauri$3 = {
}, },
updater: { updater: {
active: false 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 = { var CommonConf = {
"package": { "package": {
productName: "baidu", productName: "WeRead",
version: "1.0.0" version: "1.0.0"
}, },
tauri: tauri$3 tauri: tauri$3,
build: build
}; };
var tauri$2 = { var tauri$2 = {
@@ -1919,9 +1900,9 @@ var WinConf = {
var tauri$1 = { var tauri$1 = {
bundle: { bundle: {
icon: [ icon: [
"/Users/hfy/Documents/electron_s/Pake/src-tauri/icons/icon.icns" "icons/weread.icns"
], ],
identifier: "pake-f9751d", identifier: "com.tw93.weread",
active: true, active: true,
category: "DeveloperTool", category: "DeveloperTool",
copyright: "", copyright: "",