瀏覽代碼

Updated feed.json

deadmoon 4 年之前
父節點
當前提交
464aeae41a
共有 2 個文件被更改,包括 2 次插入3 次删除
  1. 1 2
      Optimizer/MainForm.cs
  2. 1 1
      feed.json

+ 1 - 2
Optimizer/MainForm.cs

@@ -647,10 +647,9 @@ namespace Optimizer
                     appCard.appTitle.Text = x.Title;
                     appCard.appTitle.Text = x.Title;
                     appCard.appImage.BackgroundImageLayout = ImageLayout.Stretch;
                     appCard.appImage.BackgroundImageLayout = ImageLayout.Stretch;
 
 
-
                     if (!string.IsNullOrEmpty(x.Image))
                     if (!string.IsNullOrEmpty(x.Image))
                     {
                     {
-                        appCard.appImage.BackgroundImage = new Bitmap(new MemoryStream(client.DownloadData("https://raw.githubusercontent.com/hellzerg/optimizer/master/images/feed/antiexploit.png")));
+                        appCard.appImage.BackgroundImage = new Bitmap(new MemoryStream(client.DownloadData(x.Image)));
                     }
                     }
 
 
                     appCard.Location = new Point(0, panelApps6.Controls.Count * 30);
                     appCard.Location = new Point(0, panelApps6.Controls.Count * 30);

+ 1 - 1
feed.json

@@ -3,7 +3,7 @@
       "Title":"Malwarebytes",
       "Title":"Malwarebytes",
       "Link":"https://data-cdn.mbamupdates.com/web/mb4-setup-consumer/MBSetup.exe",
       "Link":"https://data-cdn.mbamupdates.com/web/mb4-setup-consumer/MBSetup.exe",
       "Tag":"cMalwarebytes",
       "Tag":"cMalwarebytes",
-      "Image": "https://github.com/hellzerg/optimizer/blob/master/images/feed/malwarebytes.png"
+      "Image": "https://raw.githubusercontent.com/hellzerg/optimizer/master/images/feed/malwarebytes.png"
    },
    },
    {
    {
       "Title":"Anti-Exploit",
       "Title":"Anti-Exploit",