Adjusted workflow.
All checks were successful
Build & Release / Windows-AMD64-Build (push) Successful in 1m8s
Build & Release / Linux-AMD64-Build (push) Successful in 1m30s
Build & Release / Linux-AARCH64-Build (push) Successful in 3m21s

This commit is contained in:
2024-02-05 22:25:30 -08:00
commit bcd71cf2b5
251 changed files with 45909 additions and 0 deletions

22
src/system/System_LNX.cpp Normal file
View File

@@ -0,0 +1,22 @@
#include "ehs/system/System_LNX.h"
#include "ehs/system/Thread.h"
#include "ehs/Log.h"
namespace ehs
{
UInt_32 XDG_Thread(void* args)
{
Str_8* uri = (Str_8*)args;
system("xdg-open \"" + *uri + "\"");
return 0;
}
void System::OpenURI(const Str_8& uri)
{
Thread xdg;
xdg.Start(XDG_Thread, (void*)&uri);
xdg.Detach();
}
}