-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from Goose-Bomb/dev
Ready for 5th release version
- Loading branch information
Showing
49 changed files
with
775 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System.Net; | ||
using System.Net.Http; | ||
using GBCLV3.Models; | ||
|
||
namespace GBCLV3.Tests | ||
{ | ||
static class TestUtils | ||
{ | ||
private static readonly HttpClient _client = new HttpClient(); | ||
|
||
public static bool IsDownloadable(DownloadItem item) | ||
{ | ||
using (var response = _client.GetAsync(item.Url).Result) | ||
{ | ||
return (response.StatusCode == HttpStatusCode.OK); | ||
} | ||
} | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Windows.Documents; | ||
using GBCLV3.Models.JsonClasses; | ||
using GBCLV3.Models.Launcher; | ||
|
||
namespace GBCLV3.Models.Installation | ||
{ | ||
class FabricLoader | ||
{ | ||
public string Separator { get; set; } | ||
|
||
public int Build { get; set; } | ||
|
||
public string Maven { get; set; } | ||
|
||
public string Version { get; set; } | ||
|
||
public bool Stable { get; set; } | ||
} | ||
|
||
class FabricIntermediary | ||
{ | ||
public string Maven { get; set; } | ||
|
||
public string Version { get; set; } | ||
|
||
public bool Stable { get; set; } | ||
} | ||
|
||
class FabricLibraries | ||
{ | ||
public List<JLibrary> Common { get; set; } | ||
|
||
public List<JLibrary> Client { get; set; } | ||
|
||
public List<JLibrary> Server { get; set; } | ||
} | ||
|
||
class FabricMeta | ||
{ | ||
public int Version { get; set; } | ||
|
||
public FabricLibraries Libraries { get; set; } | ||
} | ||
|
||
class Fabric | ||
{ | ||
public FabricLoader Loader { get; set; } | ||
|
||
public FabricIntermediary Intermediary { get; set; } | ||
|
||
public FabricMeta LauncherMeta { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
using System; | ||
|
||
namespace GBCLV3.Models | ||
namespace GBCLV3.Models.Installation | ||
{ | ||
class Forge | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace GBCLV3.Models.Installation | ||
{ | ||
class OptiFine | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.