Add 6.0 patch from @pmagixc

Bump version
This commit is contained in:
NotThorny
2025-10-15 21:36:14 -06:00
parent a40080cca2
commit ecb7936a8f
8 changed files with 14 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "cultivation",
"version": "1.5.8",
"version": "1.6.0",
"private": true,
"dependencies": {
"@tauri-apps/api": "^1.0.0-rc.5",

2
src-tauri/Cargo.lock generated
View File

@@ -959,7 +959,7 @@ checksum = "b365fabc795046672053e29c954733ec3b05e4be654ab130fe8f1f94d7051f35"
[[package]]
name = "cultivation"
version = "1.5.8"
version = "1.6.0"
dependencies = [
"anime-launcher-sdk",
"anyhow",

View File

@@ -1,13 +1,13 @@
[package]
name = "cultivation"
version = "1.5.8"
version = "1.6.0"
description = "A custom launcher for anime game."
authors = ["KingRainbow44", "SpikeHD"]
license = ""
repository = "https://github.com/Grasscutters/Cultivation.git"
default-run = "cultivation"
edition = "2021"
rust-version = "1.58"
rust-version = "1.57"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Binary file not shown.

Binary file not shown.

View File

@@ -155,7 +155,12 @@ pub async fn patch_game(_newer_game: bool, version: String) -> bool {
// For 5.0 and up use universal
if i_ver > 49 {
patch_path = PathBuf::from(system_helpers::install_location()).join("patch/5version.dll");
if i_ver < 59 {
patch_path = PathBuf::from(system_helpers::install_location()).join("patch/5version.dll");
} else {
// 6.0 patch not checked/tested if works for old vers, so separate
patch_path = PathBuf::from(system_helpers::install_location()).join("patch/6version.dll");
}
let replaced50 = file_helpers::copy_file_with_new_name(
patch_path.clone().to_str().unwrap().to_string(),
get_game_rsa_path().await.unwrap(),

View File

@@ -7,7 +7,7 @@
},
"package": {
"productName": "Cultivation",
"version": "1.5.8"
"version": "1.6.0"
},
"tauri": {
"allowlist": {
@@ -72,7 +72,8 @@
"resizable": true,
"title": "Cultivation",
"width": 1280,
"decorations": false
"decorations": false,
"center": true
}
]
}

View File

@@ -143,7 +143,7 @@ export default class NewsSection extends React.Component<IProps, IState> {
<tr>
<td>
Work in progress area! These numbers may be outdated, so please do not use them as reference. Latest
version: Grasscutter 1.7.4 - Cultivation 1.5.8
version: Grasscutter 1.7.4 - Cultivation 1.6.0
</td>
</tr>
)