Add more to plugin

This commit is contained in:
2025-12-23 16:54:07 -06:00
parent e5ca42be84
commit bf59abda07
21 changed files with 1394 additions and 19 deletions

View File

@@ -27,13 +27,18 @@ func Tesses.CrossLang.Shell.WebApp(dd)
}
}
if(FS.Local.FileExists(webapppath))
{
var env = VM.CreateEnvironment({});
const _dict = {};
const env = VM.CreateEnvironment(_dict);
env.RegisterEverything();
env.LockRegister();
_dict.Net ?? = {};
_dict.Net.WebServerPort = port;
env.LoadFileWithDependencies(FS.Local,webapppath);
var myArgs = [webapppath.ToString()];
for(var i = 2; i < dd.Arguments.Count; i++)