mirror of
https://github.com/tnodir/fort
synced 2024-11-15 08:56:22 +00:00
Add scripts\driver\bin2array.bat
to build the src\driver\loader\fort.rsa.pub from the binary.
This commit is contained in:
parent
6560358a2b
commit
341f43e503
6
src/scripts/driver/bin2array.bat
Normal file
6
src/scripts/driver/bin2array.bat
Normal file
@ -0,0 +1,6 @@
|
||||
@echo off
|
||||
|
||||
@set BIN_PATH=%1
|
||||
@set HEADER_PATH=%2
|
||||
|
||||
python -c "import sys;a=sys.argv;open(a[2],'wb').write((','.join([hex(b) for b in open(a[1],'rb').read()])).encode('utf-8'))" %BIN_PATH% %HEADER_PATH%
|
Loading…
Reference in New Issue
Block a user