fix build panic on ntCRT, ntAPC, ntFIBER
template_name_for_injection in tools.rs was missing arms for ntcrt, ntapc and ntfiber, so post-build copy panicked after a clean compile and the GUI showed a generic build panicked message. Added the arms.
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "RustPacker"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
edition = "2021"
|
||||
authors = ["smukx <staffs@5mukx.site>"]
|
||||
|
||||
|
||||
@@ -60,9 +60,13 @@ pub fn get_source_binary_filename(order: &Order, output_folder: &Path) -> PathBu
|
||||
|
||||
fn template_name_for_injection(injection_id: &str) -> &'static str {
|
||||
// The compiled binary inherits its name from the template folder.
|
||||
// Must stay in sync with each injection's `template_dir` in technique.toml.
|
||||
match injection_id {
|
||||
"syscrt" => "sysCRT",
|
||||
"wincrt" => "winCRT",
|
||||
"ntcrt" => "ntCRT",
|
||||
"ntapc" => "ntAPC",
|
||||
"ntfiber" => "ntFIBER",
|
||||
"earlycascade" => "ntEarlyCascade",
|
||||
"enum_calendar_info" => "callbackExec",
|
||||
"enum_desktops" => "callbackExec",
|
||||
|
||||
Reference in New Issue
Block a user