Support for latest Modrinth Upstream

This commit is contained in:
2024-12-26 20:31:14 +03:00
parent 7bbc79c6a1
commit 59f6f7102f
17 changed files with 2659 additions and 6191 deletions

View File

@@ -2,12 +2,12 @@ use serde::{Deserialize, Serialize};
use tokio::io;
const PACKAGE_JSON_CONTENT: &str =
include_str!("../../../../apps/app-frontend/package.json");
// include_str!("../../../../apps/app-frontend/package.json");
include_str!("../../../../apps/app/tauri.conf.json");
#[derive(Serialize, Deserialize)]
pub struct Launcher {
pub version: String,
pub development_build: bool,
pub version: String
}
pub fn read_package_json() -> io::Result<Launcher> {