feat:最终
@@ -12,9 +12,10 @@
|
||||
"shell:default",
|
||||
"shell:allow-execute",
|
||||
"shell:allow-spawn",
|
||||
"shell:allow-kill",
|
||||
"shell:allow-open",
|
||||
{
|
||||
"identifier": "shell:allow-execute",
|
||||
"identifier": "shell:allow-spawn",
|
||||
"allow": [
|
||||
{
|
||||
"name": "core",
|
||||
|
||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
front/src-tauri/icons/128x128.png1
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
front/src-tauri/icons/128x128@2x.png1
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 974 B After Width: | Height: | Size: 2.6 KiB |
BIN
front/src-tauri/icons/32x32.png1
Normal file
|
After Width: | Height: | Size: 974 B |
BIN
front/src-tauri/icons/icon.icns1
Normal file
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 66 KiB |
BIN
front/src-tauri/icons/icon.ico1
Normal file
|
After Width: | Height: | Size: 85 KiB |
@@ -1,3 +1,5 @@
|
||||
use tauri::Manager;
|
||||
|
||||
// Learn more about Tauri commands at https://tauri.app/develop/calling-rust/
|
||||
#[tauri::command]
|
||||
fn greet(name: &str) -> String {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "dex-v3-ui",
|
||||
"productName": "DeEarthX-V3",
|
||||
"version": "0.1.0",
|
||||
"identifier": "top.tianpao.dex-v3-ui",
|
||||
"build": {
|
||||
@@ -15,7 +15,10 @@
|
||||
"title": "DeEarthX V3",
|
||||
"width": 1280,
|
||||
"height": 720,
|
||||
"dragDropEnabled": false
|
||||
"dragDropEnabled": false,
|
||||
"fullscreen": false,
|
||||
"resizable": false,
|
||||
"center": true
|
||||
}
|
||||
],
|
||||
"security": {
|
||||
@@ -32,6 +35,19 @@
|
||||
"icons/icon.icns",
|
||||
"icons/icon.ico"
|
||||
],
|
||||
"externalBin": ["binaries/core"]
|
||||
"externalBin": ["binaries/core"],
|
||||
"windows": {
|
||||
"webviewInstallMode": {
|
||||
"type": "downloadBootstrapper"
|
||||
},
|
||||
"nsis": {
|
||||
"languages": ["SimpChinese","English"],
|
||||
"displayLanguageSelector": true,
|
||||
"installMode": "perMachine"
|
||||
},
|
||||
"wix": {
|
||||
"language": "zh-CN"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||