What is the right way to do this? I always get lost with defines
Can it be defined in custom.h?
Embed css and js files in custom builds?
Moderators: grovkillen, Stuntteam, TD-er
Re: Embed css and js files in custom builds?
Convert your CSS and JavaScript files into byte arrays. You can do this manually by converting the contents of each file into a C or C++ array of bytes. Include these byte arrays in your codebase, typically in a separate header file (e.g., custom.h).
Re: Embed css and js files in custom builds?
Please don't post googled or AI-generated answers, they are wrong by default, and useless 100% of the time.
/Ton (PayPal.me)
Who is online
Users browsing this forum: No registered users and 0 guests