Improve product loading system

This commit is contained in:
Aang23 2025-07-16 12:56:24 +02:00
parent f24da2d66d
commit 054a1edbc3
2 changed files with 12 additions and 1 deletions

View file

@ -4,6 +4,7 @@
#include "imgui/imgui_internal.h"
#include "logger.h"
#include "main_ui.h"
#include <filesystem>
#include <thread>
namespace satdump
@ -80,6 +81,11 @@ namespace satdump
logger->info("Opening explorer!");
explorer_app->tryOpenFileInExplorer(output_file + "/dataset.json"); // TODOREWORK Maybe just try to open the final file produced?
}
else if (std::filesystem::exists(final_file))
{
logger->info("Opening explorer!");
explorer_app->tryOpenFileInExplorer(final_file); // TODOREWORK Maybe just try to open the final file produced?
}
}
pipeline_name = "PROCESSING_DONE"; // TODOREWORK MASSIVE HACK!