mirror of
https://github.com/ow-mods/ow-mod-man.git
synced 2025-12-11 20:15:50 +01:00
[ALL] Fix OWML DLL Patching
This commit is contained in:
parent
9ef3327cf4
commit
6aef7ebc88
8
Cargo.lock
generated
8
Cargo.lock
generated
@ -2471,7 +2471,7 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "owmods_cli"
|
name = "owmods_cli"
|
||||||
version = "0.13.0"
|
version = "0.13.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"clap",
|
"clap",
|
||||||
@ -2487,7 +2487,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "owmods_core"
|
name = "owmods_core"
|
||||||
version = "0.13.0"
|
version = "0.13.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"directories",
|
"directories",
|
||||||
@ -2513,7 +2513,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "owmods_gui"
|
name = "owmods_gui"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"log",
|
"log",
|
||||||
@ -5314,7 +5314,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "xtask"
|
name = "xtask"
|
||||||
version = "0.13.0"
|
version = "0.13.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"clap",
|
"clap",
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "owmods-cli";
|
pname = "owmods-cli";
|
||||||
version = "0.13.0";
|
version = "0.13.1";
|
||||||
|
|
||||||
# Prevent unneeded rebuilds
|
# Prevent unneeded rebuilds
|
||||||
src = with lib.fileset;
|
src = with lib.fileset;
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "owmods-gui";
|
pname = "owmods-gui";
|
||||||
version = "0.13.1";
|
version = "0.13.2";
|
||||||
|
|
||||||
VITE_VERSION_SUFFIX = "-nix";
|
VITE_VERSION_SUFFIX = "-nix";
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
name = "owmods_cli"
|
name = "owmods_cli"
|
||||||
authors = ["Bwc9876 <bwc9876@outerwildsmods.com>"]
|
authors = ["Bwc9876 <bwc9876@outerwildsmods.com>"]
|
||||||
description = "A CLI Tool To Manage OWML Mods"
|
description = "A CLI Tool To Manage OWML Mods"
|
||||||
version = "0.13.0"
|
version = "0.13.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
readme = "./README.md"
|
readme = "./README.md"
|
||||||
repository = "https://github.com/ow-mods/ow-mod-man/"
|
repository = "https://github.com/ow-mods/ow-mod-man/"
|
||||||
@ -12,7 +12,7 @@ license = "GPL-3.0-or-later"
|
|||||||
depends = "libssl1.1"
|
depends = "libssl1.1"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
owmods_core = { version = "0.13.0", path = "../owmods_core" }
|
owmods_core = { version = "0.13.1", path = "../owmods_core" }
|
||||||
clap = { version = "4.5.3", features = ["derive"] }
|
clap = { version = "4.5.3", features = ["derive"] }
|
||||||
colored = "2.1.0"
|
colored = "2.1.0"
|
||||||
anyhow = "1.0.81"
|
anyhow = "1.0.81"
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
name = "owmods_core"
|
name = "owmods_core"
|
||||||
authors = ["Bwc9876 <bwc9876@outerwildsmods.com>"]
|
authors = ["Bwc9876 <bwc9876@outerwildsmods.com>"]
|
||||||
description = "The core library for the Outer Wilds Mod Manager"
|
description = "The core library for the Outer Wilds Mod Manager"
|
||||||
version = "0.13.0"
|
version = "0.13.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
readme = "./README.md"
|
readme = "./README.md"
|
||||||
license = "GPL-3.0-or-later"
|
license = "GPL-3.0-or-later"
|
||||||
|
|||||||
Binary file not shown.
@ -146,16 +146,16 @@ fn fix_dlls(config: &Config) -> Result<()> {
|
|||||||
// Replaces the DLLs that break OWML.Launcher.exe on Linux, any questions spam JohnCorby
|
// Replaces the DLLs that break OWML.Launcher.exe on Linux, any questions spam JohnCorby
|
||||||
const SYSTEM_DLL: &[u8] = include_bytes!("../linux_replacement_dlls/System.dll");
|
const SYSTEM_DLL: &[u8] = include_bytes!("../linux_replacement_dlls/System.dll");
|
||||||
const SYSTEM_CORE_DLL: &[u8] = include_bytes!("../linux_replacement_dlls/System.Core.dll");
|
const SYSTEM_CORE_DLL: &[u8] = include_bytes!("../linux_replacement_dlls/System.Core.dll");
|
||||||
const OWML_MOD_LOADER_DLL: &[u8] =
|
// const OWML_MOD_LOADER_DLL: &[u8] =
|
||||||
include_bytes!("../linux_replacement_dlls/OWML.ModLoader.dll");
|
// include_bytes!("../linux_replacement_dlls/OWML.ModLoader.dll");
|
||||||
|
|
||||||
let owml_dir = PathBuf::from(&config.owml_path);
|
let owml_dir = PathBuf::from(&config.owml_path);
|
||||||
let mut file = File::create(owml_dir.join("System.dll"))?;
|
let mut file = File::create(owml_dir.join("System.dll"))?;
|
||||||
file.write_all(SYSTEM_DLL)?;
|
file.write_all(SYSTEM_DLL)?;
|
||||||
let mut file = File::create(owml_dir.join("System.Core.dll"))?;
|
let mut file = File::create(owml_dir.join("System.Core.dll"))?;
|
||||||
file.write_all(SYSTEM_CORE_DLL)?;
|
file.write_all(SYSTEM_CORE_DLL)?;
|
||||||
let mut file = File::create(owml_dir.join("OWML.ModLoader.dll"))?;
|
// let mut file = File::create(owml_dir.join("OWML.ModLoader.dll"))?;
|
||||||
file.write_all(OWML_MOD_LOADER_DLL)?;
|
// file.write_all(OWML_MOD_LOADER_DLL)?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "owmods_gui"
|
name = "owmods_gui"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
license = "GPL-3.0-or-later"
|
license = "GPL-3.0-or-later"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ edition = "2021"
|
|||||||
tauri-build = { version = "1.5.1", features = [] }
|
tauri-build = { version = "1.5.1", features = [] }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
owmods_core = { version = "0.13.0", path = "../../owmods_core" }
|
owmods_core = { version = "0.13.1", path = "../../owmods_core" }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
tauri = { version = "1.6.1", features = [ "clipboard-write-text",
|
tauri = { version = "1.6.1", features = [ "clipboard-write-text",
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "owmods-gui-frontend",
|
"name": "owmods-gui-frontend",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.13.1",
|
"version": "0.13.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "xtask"
|
name = "xtask"
|
||||||
version = "0.13.0"
|
version = "0.13.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user