mirror of
https://github.com/palera1n/palera1n.git
synced 2026-11-20 20:35:52 +01:00
feat: overrides, no-colors, bootargs, early-exit
- This moves globals variables to `globals.c` - GUI updated for these new options - cleaned up payload code
This commit is contained in:
20 files changed
+406
-130
No files matched your search
@@ -14,14 +14,20 @@ payloads:
|
||||
name=$$(basename "$$file"); \
|
||||
name=$${name%.*}; \
|
||||
echo " XXD $$file"; \
|
||||
xxd -i "$$file" > "src/gen/payloads/$$name.h"; \
|
||||
xxd -i "$$file" \
|
||||
| sed 's/unsigned char/static const unsigned char/g' \
|
||||
| sed 's/unsigned int/static const size_t/g' \
|
||||
> "src/gen/payloads/$$name.h"; \
|
||||
done
|
||||
|
||||
@for file in images/*; do \
|
||||
name=$$(basename "$$file"); \
|
||||
name=$${name%.*}; \
|
||||
echo " XXD $$file"; \
|
||||
xxd -i "$$file" > "src/gen/images/$$name.h"; \
|
||||
xxd -i "$$file" \
|
||||
| sed 's/unsigned char/static const unsigned char/g' \
|
||||
| sed 's/unsigned int/static const size_t/g' \
|
||||
> "src/gen/images/$$name.h"; \
|
||||
done
|
||||
|
||||
xxd -i -n "DFUHelperDeviceInfo" resources/DFUHelperDeviceInfo.json > src/gen/DFUHelperDeviceInfo.h
|
||||
|
||||
Reference in new issue
Block a user