Skip to content

Commit fc6637e

Browse files
authored
Merge pull request #124 from RocketModFix/fix_#119
Add config. Fix Installed Rocket in Modules breaks Rocket.AutoInstaller
2 parents ca97397 + 7818e87 commit fc6637e

File tree

9 files changed

+299
-223
lines changed

9 files changed

+299
-223
lines changed
Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
using Newtonsoft.Json;
22

3-
namespace Rocket.AutoInstaller.Installation;
4-
5-
public class GitHubAsset
3+
namespace Rocket.AutoInstaller.Installation
64
{
7-
[JsonProperty("url")]
8-
public string Url { get; set; }
5+
public class GitHubAsset
6+
{
7+
[JsonProperty("url")]
8+
public string Url { get; set; }
99

10-
[JsonProperty("name")]
11-
public string Name { get; set; }
10+
[JsonProperty("name")]
11+
public string Name { get; set; }
1212

13-
[JsonProperty("content_type")]
14-
public string ContentType { get; set; }
13+
[JsonProperty("content_type")]
14+
public string ContentType { get; set; }
1515

16-
[JsonProperty("size")]
17-
public int Size { get; set; }
16+
[JsonProperty("size")]
17+
public int Size { get; set; }
1818

19-
[JsonProperty("browser_download_url")]
20-
public string BrowserDownloadUrl { get; set; }
19+
[JsonProperty("browser_download_url")]
20+
public string BrowserDownloadUrl { get; set; }
21+
}
2122
}
Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,32 @@
11
using System;
22
using Newtonsoft.Json;
33

4-
namespace Rocket.AutoInstaller.Installation;
5-
6-
public class GitHubRelease
4+
namespace Rocket.AutoInstaller.Installation
75
{
8-
[JsonProperty("url")]
9-
public string Url { get; set; }
6+
public class GitHubRelease
7+
{
8+
[JsonProperty("url")]
9+
public string Url { get; set; }
1010

11-
[JsonProperty("tag_name")]
12-
public string TagName { get; set; }
11+
[JsonProperty("tag_name")]
12+
public string TagName { get; set; }
1313

14-
[JsonProperty("name")]
15-
public string Name { get; set; }
14+
[JsonProperty("name")]
15+
public string Name { get; set; }
1616

17-
[JsonProperty("body")]
18-
public string Body { get; set; }
17+
[JsonProperty("body")]
18+
public string Body { get; set; }
1919

20-
[JsonProperty("draft")]
21-
public bool Draft { get; set; }
20+
[JsonProperty("draft")]
21+
public bool Draft { get; set; }
2222

23-
[JsonProperty("prerelease")]
24-
public bool Prerelease { get; set; }
23+
[JsonProperty("prerelease")]
24+
public bool Prerelease { get; set; }
2525

26-
[JsonProperty("published_at")]
27-
public DateTime PublishedAt { get; set; }
26+
[JsonProperty("published_at")]
27+
public DateTime PublishedAt { get; set; }
2828

29-
[JsonProperty("assets")]
30-
public GitHubAsset[] Assets { get; set; }
29+
[JsonProperty("assets")]
30+
public GitHubAsset[] Assets { get; set; }
31+
}
3132
}

0 commit comments

Comments
 (0)