aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri
diff options
context:
space:
mode:
Diffstat (limited to 'src-tauri')
-rw-r--r--src-tauri/Cargo.toml8
-rw-r--r--src-tauri/tauri.conf.json80
2 files changed, 41 insertions, 47 deletions
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index ecd0beb..78743cd 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "dropout"
-version = "0.1.26"
+version = "0.2.0-alpha"
edition = "2021"
authors = ["HsiangNianian"]
description = "The DropOut Minecraft Game Launcher"
@@ -36,12 +36,6 @@ regex = "1.12.2"
[build-dependencies]
tauri-build = { version = "2.0", features = [] }
-[profile.dev]
-opt-level = 0
-
-[profile.release]
-opt-level = 3
-
[package.metadata.deb]
depends = "libgtk-3-0"
section = "games"
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index dd84fd4..fec2eb3 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -1,43 +1,43 @@
{
- "productName": "dropout",
- "version": "0.1.26",
- "identifier": "com.dropout.launcher",
- "build": {
- "beforeDevCommand": "pnpm -C ../ui dev",
- "beforeBuildCommand": "pnpm -C ../ui build",
- "devUrl": "http://localhost:5173",
- "frontendDist": "../ui/dist"
- },
- "app": {
- "windows": [
- {
- "title": "Minecraft DropOut Launcher",
- "width": 1024,
- "height": 768,
- "minWidth": 905,
- "minHeight": 575,
- "resizable": true
- }
- ],
- "security": {
- "csp": "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self' data:; connect-src 'self' https: ws: wss:;",
- "capabilities": ["default"]
- }
- },
- "bundle": {
- "active": true,
- "targets": "all",
- "icon": [
- "icons/32x32.png",
- "icons/128x128.png",
- "icons/128x128@2x.png",
- "icons/icon.icns",
- "icons/icon.ico"
- ],
- "linux": {
- "appimage": {
- "bundleMediaFramework": false
- }
- }
+ "productName": "dropout",
+ "version": "0.2.0-alpha",
+ "identifier": "com.dropout.launcher",
+ "build": {
+ "beforeDevCommand": "pnpm --filter @dropout/ui dev",
+ "beforeBuildCommand": "pnpm --filter @dropout/ui build",
+ "devUrl": "http://localhost:5173",
+ "frontendDist": "../ui/dist"
+ },
+ "app": {
+ "windows": [
+ {
+ "title": "Minecraft DropOut Launcher",
+ "width": 1024,
+ "height": 768,
+ "minWidth": 905,
+ "minHeight": 575,
+ "resizable": true
+ }
+ ],
+ "security": {
+ "csp": "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self' data:; connect-src 'self' https: ws: wss:;",
+ "capabilities": ["default"]
}
+ },
+ "bundle": {
+ "active": true,
+ "targets": "all",
+ "icon": [
+ "icons/32x32.png",
+ "icons/128x128.png",
+ "icons/128x128@2x.png",
+ "icons/icon.icns",
+ "icons/icon.ico"
+ ],
+ "linux": {
+ "appimage": {
+ "bundleMediaFramework": false
+ }
+ }
+ }
}