From 478451034f41e19a397571732823b5a00cf7f086 Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Sun, 28 Dec 2025 14:25:16 -0600 Subject: [PATCH] Fix downloader bug, use plink and add icon to plugin template --- Tesses.YouTubeDownloader/src/YouTubeDownloader.tcross | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tesses.YouTubeDownloader/src/YouTubeDownloader.tcross b/Tesses.YouTubeDownloader/src/YouTubeDownloader.tcross index f5ce425..26dd6f6 100644 --- a/Tesses.YouTubeDownloader/src/YouTubeDownloader.tcross +++ b/Tesses.YouTubeDownloader/src/YouTubeDownloader.tcross @@ -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();