feature: config file

This commit is contained in:
Dobin
2024-02-08 12:38:56 +00:00
parent 865cfb5247
commit efb7b0b0ee
6 changed files with 58 additions and 18 deletions
+4 -2
View File
@@ -1,13 +1,15 @@
from helper import *
import pefile
from helper import *
from config import config
def make_shc_from_asm(asm_file, exe_file, shc_file):
print("--[ Assemble to exe: {} -> {} -> {} ]".format(asm_file, exe_file, shc_file))
print("---[ Assemble ASM to EXE: {} -> {} ]".format(asm_file, exe_file))
run_process_checkret([
path_ml64,
config.get("path_ml64"),
asm_file,
"/link",
"/OUT:{}".format(exe_file),