Fix app builds not launching (#3035)

* Fix app builds not launching

* Revert tauri version change
This commit is contained in:
Geometrically
2024-12-18 11:30:49 -07:00
committed by GitHub
parent b7f514c6cc
commit c1b1e67a2c
8 changed files with 38 additions and 112 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "@modrinth/app-frontend",
"private": true,
"version": "0.9.0",
"version": "0.9.0-1",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -1,6 +1,6 @@
[package]
name = "theseus_gui"
version = "0.9.0"
version = "0.9.0-1"
description = "The Modrinth App is a desktop application for managing your Minecraft mods"
license = "GPL-3.0-only"
repository = "https://github.com/modrinth/code/apps/app/"
@@ -17,7 +17,8 @@ serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_with = "3.0.0"
tauri = { git = "https://github.com/modrinth/tauri", rev = "9c36dd3", features = ["devtools", "macos-private-api", "protocol-asset", "unstable"] }
tauri = { version = "2.1.1", features = ["devtools", "macos-private-api", "protocol-asset", "unstable"] }
# tauri = { git = "https://github.com/modrinth/tauri", rev = "67911d5", features = ["devtools", "macos-private-api", "protocol-asset", "unstable"] }
tauri-plugin-window-state = "2.2.0"
tauri-plugin-deep-link = "2.2.0"
tauri-plugin-os = "2.2.0"

View File

@@ -103,7 +103,8 @@ pub async fn init_ads_window<R: Runtime>(
AD_LINK.parse().unwrap(),
),
)
.initialization_script_for_main_only(LINK_SCRIPT, false)
.initialization_script(LINK_SCRIPT)
// .initialization_script_for_main_only(LINK_SCRIPT, false)
.user_agent("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36")
.zoom_hotkeys_enabled(false)
.transparent(true),

View File

@@ -44,7 +44,7 @@
]
},
"productName": "Modrinth App",
"version": "0.8.9",
"version": "0.9.0-1",
"mainBinaryName": "Modrinth App",
"identifier": "ModrinthApp",
"plugins": {