mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
Improve product loading system
This commit is contained in:
parent
f24da2d66d
commit
054a1edbc3
2 changed files with 12 additions and 1 deletions
|
|
@ -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!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue