timeline refactor, bit broken rn

This commit is contained in:
2025-11-09 10:35:21 -05:00
parent 1e35910b0a
commit e2799b1e58
41 changed files with 2034 additions and 1374 deletions
+6 -1
View File
@@ -2,6 +2,9 @@
#ifdef _WIN32
#include <window.h>
#elif __unix__
#else
#include "toast.h"
#endif
#include <format>
@@ -57,8 +60,10 @@ namespace anm2ed
{
#ifdef _WIN32
ShellExecuteA(NULL, "open", path.c_str(), NULL, NULL, SW_SHOWNORMAL);
#else
#elif __unix__
system(std::format("xdg-open \"{}\" &", path).c_str());
#else
toasts.info("Operation not supported.");
#endif
}