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",
|
"name": "cultivation",
|
||||||
"version": "1.5.8",
|
"version": "1.6.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tauri-apps/api": "^1.0.0-rc.5",
|
"@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]]
|
[[package]]
|
||||||
name = "cultivation"
|
name = "cultivation"
|
||||||
version = "1.5.8"
|
version = "1.6.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anime-launcher-sdk",
|
"anime-launcher-sdk",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "cultivation"
|
name = "cultivation"
|
||||||
version = "1.5.8"
|
version = "1.6.0"
|
||||||
description = "A custom launcher for anime game."
|
description = "A custom launcher for anime game."
|
||||||
authors = ["KingRainbow44", "SpikeHD"]
|
authors = ["KingRainbow44", "SpikeHD"]
|
||||||
license = ""
|
license = ""
|
||||||
repository = "https://github.com/Grasscutters/Cultivation.git"
|
repository = "https://github.com/Grasscutters/Cultivation.git"
|
||||||
default-run = "cultivation"
|
default-run = "cultivation"
|
||||||
edition = "2021"
|
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
|
# 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
|
// For 5.0 and up use universal
|
||||||
if i_ver > 49 {
|
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(
|
let replaced50 = file_helpers::copy_file_with_new_name(
|
||||||
patch_path.clone().to_str().unwrap().to_string(),
|
patch_path.clone().to_str().unwrap().to_string(),
|
||||||
get_game_rsa_path().await.unwrap(),
|
get_game_rsa_path().await.unwrap(),
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
},
|
},
|
||||||
"package": {
|
"package": {
|
||||||
"productName": "Cultivation",
|
"productName": "Cultivation",
|
||||||
"version": "1.5.8"
|
"version": "1.6.0"
|
||||||
},
|
},
|
||||||
"tauri": {
|
"tauri": {
|
||||||
"allowlist": {
|
"allowlist": {
|
||||||
@@ -72,7 +72,8 @@
|
|||||||
"resizable": true,
|
"resizable": true,
|
||||||
"title": "Cultivation",
|
"title": "Cultivation",
|
||||||
"width": 1280,
|
"width": 1280,
|
||||||
"decorations": false
|
"decorations": false,
|
||||||
|
"center": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ export default class NewsSection extends React.Component<IProps, IState> {
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
Work in progress area! These numbers may be outdated, so please do not use them as reference. Latest
|
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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user