pjrinaldi / wombatforensics

linux c++, fox-toolkit, multi-threaded forensic gui tool
GNU General Public License v2.0
46 stars 12 forks source link

move inital pt files out of working directory #487

Closed pjrinaldi closed 6 months ago

pjrinaldi commented 6 months ago

Need to move the pt files from the application starting directory and into FXString's inside the start of the application and then write them to the config file if they don't exist already. or move the install from inside the application to the installation file for the program.

will need to see how big the strings in the app make the executable. right now it's 24mb, so i can see how big it is after i put the current set of pt files into the application as FXString's

pjrinaldi commented 6 months ago

created a propertytemplates.h which contains a std::map<filename.pt, filecontents.pt>. the program on startup checks for the files in the config directory, and if they don't exist, then the contents are written to the files. might decide if i want to clear the strings for memory saving, but i'll see as i test big stuff and see how it goes.