Fix cpkg package

This commit is contained in:
2025-09-30 22:37:54 -05:00
parent 0cd15fa351
commit 537c0dd4e3

View File

@@ -3,13 +3,14 @@ using namespace Tesses::Framework;
using namespace Tesses::CrossLang;
int main(int argc, char** argv)
{
TF_InitWithConsole();
std::string name = argv[0];
Tesses::Framework::Filesystem::VFSPath exePath=Tesses::Framework::Filesystem::LocalFS->SystemToVFSPath(name);
exePath.MakeAbsolute();
exePath.ChangeExtension(".crvm");
TF_InitWithConsole();
GC gc;
gc.Start();