Skip to content

Commit c984d33

Browse files
committed
- Added support welcome message for donations etc to STAR CLI.
- Fixed a bug in the STARNET Dependency system in AddDependencyAsync method in STARNETUIBase in STAR.CLI.Lib.
1 parent 06a3f14 commit c984d33

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

Providers/Network/NextGenSoftware.OASIS.API.Providers.HoloOASIS/HoloOASIS.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using System.Net.Http;
55
using System.Text;
66
using System.Text.Json;
7-
using System.Text.Json.Serialization;
87
using System.Threading;
98
using System.Threading.Tasks;
109
using NextGenSoftware.Holochain.HoloNET.Client;

STAR ODK/NextGenSoftware.OASIS.STAR.CLI.Lib/STARNETUIBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ public async Task<OASISResult<ISTARNETDNA>> AddDependenciesAsync(ISTARNETDNA STA
11561156
//else
11571157
//{
11581158
Console.WriteLine("");
1159-
OASISResult<T1> addResult = await AddDependencyAsync(idOrNameOfDependency: dependencyId.ToString(), STARNETDNA: STARNETDNA, providerType: providerType);
1159+
OASISResult<T1> addResult = await AddDependencyAsync(idOrNameOfDependency: dependencyId.ToString(), dependencyType: Enum.GetName(typeof(DependencyType), dependencyTypeEnum), STARNETDNA: STARNETDNA, providerType: providerType);
11601160

11611161
if (addResult != null && addResult.Result != null && !addResult.IsError)
11621162
{

STAR ODK/NextGenSoftware.OASIS.STAR.CLI/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ private static async Task ReadyPlayerOne(ProviderType providerType = ProviderTyp
192192

193193
CLIEngine.ShowMessage("", false);
194194
CLIEngine.WriteAsciMessage(" READY PLAYER ONE?", Color.Green);
195+
196+
CLIEngine.ShowMessage("Please help support us by making a donation here: https://opencollective.com/oasis-web4 or consider buying some virtual land NFT's (OLAND) here: https://www.panxpan.com/projects/guardians-of-infinite-reality or buying one of our meta brick NFT's here: https://metabricks.xyz, thank you! :)");
197+
195198
//CLIEngine.ShowMessage("", false);
196199

197200
//TODO: TEMP - REMOVE AFTER TESTING! :)

0 commit comments

Comments
 (0)