Fix downloader bug, use plink and add icon to plugin template

This commit is contained in:
2025-12-28 13:42:07 -06:00
parent 2eff24d67b
commit d64052920e

View File

@@ -785,11 +785,11 @@ class TYTD.Downloader {
GetChannelId = TYTD.GetChannelId, GetChannelId = TYTD.GetChannelId,
Config = { Config = {
GetAt = (key)=>{ GetAt = (key)=>{
return this._getPluginValue(info.short_name, key); return this._getPluginValue(_pkg.pluginName, key);
}, },
SetAt = (key,value)=>{ SetAt = (key,value)=>{
var value=value.ToString(); var value=value.ToString();
this._setPluginValue(info.short_name,key,value); this._setPluginValue(_pkg.pluginName,key,value);
return value; return value;
}, },
Directory = new SubdirFilesystem(subdir, /"Files"), Directory = new SubdirFilesystem(subdir, /"Files"),