Skip to content

Commit

Permalink
Feat/change windows injector to inject all mods instead of just libri…
Browse files Browse the repository at this point in the history
…vets (#10)

* feat: change windows injector to inject all mods instead of just librivets

* chore: cargo fmt

* fix: Move symbol cache initalization to before starting the factorio process as the factorio handle is not RAII
  • Loading branch information
notnotmelon authored Aug 16, 2024
1 parent 502b39f commit 0a0d72b
Show file tree
Hide file tree
Showing 3 changed files with 316 additions and 39 deletions.
205 changes: 204 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ mod_util = { git = "https://github.com/fgardt/factorio-scanner" }

[target.'cfg(windows)'.dependencies]
anyhow = "1.0"
dll-syringe = "0.15.2"
dll-syringe = "0.15"
windows = { version = "0.58.0", features = [
"Win32",
"Win32_System_Threading",
"Win32_System_Pipes",
"Win32_Security",
] }
rivets = { git = "https://github.com/factorio-rivets/rivets-rs" }

[target.'cfg(unix)'.dependencies]
abi_stable = "0.11.3"
Expand All @@ -35,4 +36,4 @@ crate-type = ["cdylib"]

[profile.release]
strip = true
lto = true
lto = true
Loading

0 comments on commit 0a0d72b

Please sign in to comment.