mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 13:23:28 +00:00
fixed hemtt post build hook
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -2,3 +2,4 @@
|
||||
*.p3d filter=lfs diff=lfs merge=lfs -text
|
||||
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.dll filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,7 +6,6 @@ hemtt.exe
|
||||
source/
|
||||
.vscode
|
||||
releases/
|
||||
dist/
|
||||
*.env
|
||||
|
||||
*.sh
|
||||
34
.hemtt/hooks/post_release/grab_extensions.rhai
Normal file
34
.hemtt/hooks/post_release/grab_extensions.rhai
Normal file
@@ -0,0 +1,34 @@
|
||||
const DLL_NAME_32 = "armatak.dll";
|
||||
const DLL_NAME_64 = "armatak_x64.dll";
|
||||
const SO_NAME_32 = "armatak.so";
|
||||
const SO_NAME_64 = "armatak_x64.so";
|
||||
|
||||
let dllDir = HEMTT_RFS.join("extensions").join("armatak").join("dist");
|
||||
let dll = dllDir.join(DLL_NAME_32);
|
||||
let dll_x64 = dllDir.join(DLL_NAME_64);
|
||||
let so = dllDir.join(SO_NAME_32);
|
||||
let so_x64 = dllDir.join(SO_NAME_64);
|
||||
|
||||
if dllDir.exists() && dll.is_file() && dll.exists() {
|
||||
print("Adding x86 DLL file to Release");
|
||||
dll.copy(HEMTT_OUT.join(DLL_NAME_32));
|
||||
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.join(DLL_NAME_64));
|
||||
print("Added x64 DLL file to Release");
|
||||
};
|
||||
|
||||
if dllDir.exists() && so.is_file() && so.exists() {
|
||||
print("Adding x86 SO file to Release");
|
||||
so.copy(HEMTT_OUT.join(SO_NAME_32));
|
||||
print("Added x86 SO file to Release");
|
||||
};
|
||||
|
||||
if dllDir.exists() && so_x64.is_file() && so_x64.exists() {
|
||||
print("Adding x64 SO file to Release");
|
||||
so_x64.copy(HEMTT_OUT.join(SO_NAME_64));
|
||||
print("Added x64 SO file to Release");
|
||||
};
|
||||
1
addons/items/$PBOPREFIX$
Normal file
1
addons/items/$PBOPREFIX$
Normal file
@@ -0,0 +1 @@
|
||||
armatak\armatak\armatak_items
|
||||
7
addons/items/CfgVehicles.hpp
Normal file
7
addons/items/CfgVehicles.hpp
Normal file
@@ -0,0 +1,7 @@
|
||||
// Samsung S24 with Juggernault Case for vest as backpack item
|
||||
|
||||
// Persistent Systems RDC for vest as backpack item
|
||||
|
||||
// Samsung S24 with Juggernault Case handheld as backpack item
|
||||
|
||||
// Persistent Systems RDC handheld as backpack item
|
||||
15
addons/items/config.cpp
Normal file
15
addons/items/config.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
class CfgPatches {
|
||||
class armatak_items {
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
author = "Valmo";
|
||||
url = "https://github.com/valmojr/armatak";
|
||||
requiredAddons[] =
|
||||
{
|
||||
"cba_common"
|
||||
};
|
||||
requiredVersion = 0.5;
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgVehicles.hpp"
|
||||
BIN
extensions/armatak/dist/armatak.dll
LFS
vendored
Normal file
BIN
extensions/armatak/dist/armatak.dll
LFS
vendored
Normal file
Binary file not shown.
BIN
extensions/armatak/dist/armatak.so
vendored
Normal file
BIN
extensions/armatak/dist/armatak.so
vendored
Normal file
Binary file not shown.
BIN
extensions/armatak/dist/armatak_x64.dll
LFS
vendored
Normal file
BIN
extensions/armatak/dist/armatak_x64.dll
LFS
vendored
Normal file
Binary file not shown.
BIN
extensions/armatak/dist/armatak_x64.so
vendored
Normal file
BIN
extensions/armatak/dist/armatak_x64.so
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user