mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-12 15:14:35 +01:00
Add 6.0 patch from @pmagixc
Bump version
This commit is contained in:
@@ -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
2
src-tauri/Cargo.lock
generated
@@ -959,7 +959,7 @@ checksum = "b365fabc795046672053e29c954733ec3b05e4be654ab130fe8f1f94d7051f35"
|
||||
|
||||
[[package]]
|
||||
name = "cultivation"
|
||||
version = "1.5.8"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"anime-launcher-sdk",
|
||||
"anyhow",
|
||||
|
||||
@@ -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.
BIN
src-tauri/patch/6version.dll
Normal file
BIN
src-tauri/patch/6version.dll
Normal file
Binary file not shown.
@@ -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(),
|
||||
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user