mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-14 05:53:30 +00:00
changed pre release hook to post release hook
This commit is contained in:
15
.hemtt/hooks/post_release/grab_extension.rhai
Normal file
15
.hemtt/hooks/post_release/grab_extension.rhai
Normal file
@@ -0,0 +1,15 @@
|
||||
const dllDir = HEMTT_RFS.join("extensions").join("armatak").join("dist");
|
||||
const dll = dllDir.join("armatak.dll");
|
||||
const dll_x64 = dllDir.join("armatak_x64.dll");
|
||||
|
||||
if dllDir.exists() && dll.is_file() && dll.exists() {
|
||||
print("Adding x86 DLL file to Release");
|
||||
dll.copy(HEMTT_OUT);
|
||||
print("Added x86 DLL file to Release");
|
||||
};
|
||||
|
||||
if dllDir.exists() && dll_x64.is_file() && dll_x64.exists() {
|
||||
print("Adding x64 DLL file to Release");
|
||||
dll_x64.copy(HEMTT_OUT);
|
||||
print("Added x64 DLL file to Release");
|
||||
};
|
||||
Reference in New Issue
Block a user