mirror of
https://onedev.site.tesses.net/tytd2025
synced 2026-02-08 09:45:44 +00:00
Fix downloader bug, use plink and add icon to plugin template
This commit is contained in:
@@ -816,7 +816,7 @@ class TYTD.Downloader {
|
||||
{
|
||||
var path = /"plugin"/_pkg.pluginName;
|
||||
|
||||
this.Servers.Mount(path,_pkg.pluginObject.Server);
|
||||
this.Servers.Mount(path.ToString(),_pkg.pluginObject.Server);
|
||||
}
|
||||
|
||||
_pkg.pluginEnv = env;
|
||||
@@ -838,10 +838,10 @@ class TYTD.Downloader {
|
||||
var pkg2 = {name,version};
|
||||
func _close()
|
||||
{
|
||||
if(pkg2.pluginObject.Server != null && pkg2.pluginObject.Server != undefined)
|
||||
if(TypeIsDefined(pkg2.pluginObject.Server))
|
||||
{
|
||||
var path = /"plugin"/pkg2.pluginName;
|
||||
this.Servers.Unmount(path);
|
||||
this.Servers.Unmount(path.ToString());
|
||||
}
|
||||
|
||||
pkg2.pluginObject.Close();
|
||||
|
||||
Reference in New Issue
Block a user