Finish MacOS and Windows version (won't commit if linux is fine)

This commit is contained in:
2025-11-01 10:38:31 -07:00
parent 426fe66baa
commit 75b46b742f
25 changed files with 66 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "lncvrt-games-launcher-loader"
version = "0.1.0"
version = "1.0.0"
authors = ["Lncvrt"]
edition = "2024"
@@ -15,11 +15,14 @@ tauri-build = { version = "2.5.1", features = [] }
tauri = { version = "2.9.2", features = [] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
tauri-plugin-fs = "2"
tauri-plugin-fs = "2.4.4"
tokio = "1.48.0"
zip = "6.0.0"
tauri-plugin-os = "2"
tauri-plugin-os = "2.3.2"
reqwest = { version = "0.12.24", default-features = false, features = ["stream", "rustls-tls"] }
tauri-plugin-opener = "2"
tauri-plugin-dialog = "2"
tauri-plugin-opener = "2.5.2"
tauri-plugin-dialog = "2.4.2"
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tauri-plugin-single-instance = "2.3.6"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 974 B

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
src-tauri/icons/64x64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 903 B

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 249 KiB

View File

@@ -158,6 +158,12 @@ fn load(app: AppHandle, name: String) {
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_single_instance::init(|app, _args, _cwd| {
let _ = app
.get_webview_window("main")
.expect("no main window")
.set_focus();
}))
.plugin(tauri_plugin_dialog::init())
.plugin(tauri_plugin_opener::init())
.plugin(tauri_plugin_os::init())

View File

@@ -1,6 +1,6 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "lncvrt-games-launcher-loader",
"productName": "Lncvrt Games Launcher",
"version": "1.0.0",
"identifier": "xyz.lncvrt.lncvrt-games-launcher-loader",
"build": {

View File

@@ -1,6 +1,6 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "lncvrt-games-launcher-loader",
"productName": "Lncvrt Games Launcher",
"version": "1.0.0",
"identifier": "xyz.lncvrt.lncvrt-games-launcher-loader",
"build": {
@@ -26,6 +26,11 @@
}
},
"bundle": {
"active": false
"active": true,
"targets": ["dmg"],
"macOS": {
"minimumSystemVersion": "13.7.8"
},
"icon": ["icons/icon.icns"]
}
}

View File

@@ -0,0 +1,30 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Lncvrt Games Launcher",
"version": "1.0.0",
"identifier": "xyz.lncvrt.lncvrt-games-launcher-loader",
"build": {
"beforeDevCommand": "next dev",
"devUrl": "http://localhost:3000",
"beforeBuildCommand": "next build",
"frontendDist": "../out"
},
"app": {
"withGlobalTauri": true,
"windows": [
{
"title": "Lncvrt Games Launcher",
"width": 300,
"height": 300,
"resizable": false,
"maximizable": false
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": false
}
}