mirror of
https://onedev.site.tesses.net/tytd2025
synced 2026-02-08 17:45:45 +00:00
Fix downloader bug, use plink and add icon to plugin template
This commit is contained in:
@@ -775,7 +775,7 @@ class TYTD.Downloader {
|
|||||||
_pkg.pluginName = TypeOf(info.short_name) == "String" ? info.short_name : name;
|
_pkg.pluginName = TypeOf(info.short_name) == "String" ? info.short_name : name;
|
||||||
var reso = _exec.Resources;
|
var reso = _exec.Resources;
|
||||||
var ico = _exec.Icon;
|
var ico = _exec.Icon;
|
||||||
_pkg.pluginIcon = ico >= 0 && i < reso.Count ? reso[ico] : embed("package_icon.png");
|
_pkg.pluginIcon = TypeOf(ico) == "ByteArray" ? ico : embed("package_icon.png");
|
||||||
subdir.CreateDirectory(/"Files");
|
subdir.CreateDirectory(/"Files");
|
||||||
var d = {
|
var d = {
|
||||||
TYTD = {
|
TYTD = {
|
||||||
|
|||||||
Reference in New Issue
Block a user