TODO: rename this to something like "GUI start" or something
| 244 | |
| 245 | // TODO: rename this to something like "GUI start" or something |
| 246 | Error PckCreator::_process_folder( |
| 247 | const String &p_pck_path, |
| 248 | const String &p_dir, |
| 249 | const Vector<String> &file_paths_to_pack) { |
| 250 | HashMap<String, String> map; |
| 251 | for (int64_t i = 0; i < file_paths_to_pack.size(); i++) { |
| 252 | map[p_dir.path_join(file_paths_to_pack[i])] = file_paths_to_pack[i]; |
| 253 | } |
| 254 | start_pck(p_pck_path, version, ver_major, ver_minor, ver_rev, encrypt, embed, exe_to_embed, watermark); |
| 255 | auto ret = _add_files(map); |
| 256 | return ret; |
| 257 | } |
| 258 | |
| 259 | void PckCreator::start_pck(const String &p_pck_path, int pck_version, int p_ver_major, int p_ver_minor, int p_ver_rev, bool p_encrypt, bool p_embed, const String &p_exe_to_embed, const String &p_watermark) { |
| 260 | reset(); |