Sound drag/drop

This commit is contained in:
shweet committed 2025-11-30 22:25:57 -05:00
1 parent d0221928aa
commit 300e322b9d
49 files changed
+1280230 -210091

No files matched your search

+4 -1
View File
@@ -4,6 +4,8 @@
#include <windows.h>
#elif __unix__
#else
#include "log.h"
#include "strings.h"
#include "toast.h"
#endif
@@ -63,7 +65,8 @@ namespace anm2ed
#elif __unix__
system(std::format("xdg-open \"{}\" &", path).c_str());
#else
toasts.info("Operation not supported.");
toasts.push(localize.get(TOAST_NOT_SUPPORTED));
logger.warning(localize.get(TOAST_NOT_SUPPORTED, anm2ed::ENGLISH));
#endif
}