mirror of
https://onedev.site.tesses.net/crosslang/crosslangextras
synced 2026-02-09 01:25:46 +00:00
Add more to plugin
This commit is contained in:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user