mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 09:47:01 +02:00
chore: include more resource bins
This commit is contained in:
15 files changed
+22
-2
No files matched your search
@@ -1,3 +1,4 @@
|
||||
build/
|
||||
.DS_Store
|
||||
src/gen/
|
||||
payloads/Pongo.bin
|
||||
@@ -6,6 +6,15 @@ BUILD_TYPE ?= Debug
|
||||
|
||||
payloads:
|
||||
mkdir -p src/gen/images
|
||||
mkdir -p src/gen/payloads
|
||||
|
||||
@for file in payloads/*; do \
|
||||
name=$$(basename "$$file"); \
|
||||
name=$${name%.*}; \
|
||||
echo " XXD $$file"; \
|
||||
xxd -i -n "$$name" "$$file" > "src/gen/payloads/$$name.h"; \
|
||||
done
|
||||
|
||||
@for file in images/*; do \
|
||||
name=$$(basename "$$file"); \
|
||||
name=$${name%.*}; \
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3
-1
@@ -16,7 +16,9 @@
|
||||
void print_credits() {
|
||||
printf(
|
||||
"#\n"
|
||||
"# palera1n: " PALERAIN_VERSION "\n"
|
||||
"# Palera1n beta " PALERAIN_VERSION "\n"
|
||||
"#\n"
|
||||
"# (c) 2024 Palera1n\n"
|
||||
"#\n"
|
||||
"# ======== Made by =======\n"
|
||||
"# Made by: asdfugil, kok3shidoll, claration, mineek, staturnz\n"
|
||||
|
||||
@@ -26,7 +26,7 @@ SettingsPanel::SettingsPanel(MainFrame* frame, wxWindow* parent)
|
||||
option_safemode->SetValue(palerain_flags & palerain_option_safemode);
|
||||
option_verbose->SetValue(palerain_flags & palerain_option_verbose_boot);
|
||||
option_revert->SetValue(palerain_flags & palerain_option_force_revert);
|
||||
option_dark_blockchain->SetValue(true);
|
||||
option_dark_blockchain->SetValue(palerain_flags & palerain_option_flower_chain);
|
||||
|
||||
option_safemode->Bind(wxEVT_CHECKBOX, [&](wxCommandEvent& e)
|
||||
{
|
||||
@@ -52,6 +52,14 @@ SettingsPanel::SettingsPanel(MainFrame* frame, wxWindow* parent)
|
||||
palerain_flags &= ~palerain_option_force_revert;
|
||||
});
|
||||
|
||||
option_dark_blockchain->Bind(wxEVT_CHECKBOX, [&](wxCommandEvent& e)
|
||||
{
|
||||
if (e.IsChecked())
|
||||
palerain_flags |= palerain_option_flower_chain;
|
||||
else
|
||||
palerain_flags &= ~palerain_option_flower_chain;
|
||||
});
|
||||
|
||||
root->Add(option_safemode, 0, wxLEFT | wxRIGHT, 10);
|
||||
root->Add(option_verbose, 0, wxLEFT | wxRIGHT | wxTOP, 10);
|
||||
|
||||
|
||||
Reference in new issue
Block a user