Skip to content

Commit dcd7ca8

Browse files
committed
doc: README.md detailed
1 parent 908d9c9 commit dcd7ca8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ public static void Main(string[] args)
9191
fingerprint = BitConverter.ToString(result);
9292
fingerprint = fingerprint.Replace("-", "").ToLower();
9393

94-
_publicKey = "7757a98a8188c31ae7a21d76a865800bf77bcf3476f7abbbdf5bb6a4afbe9a23";
94+
Console.WriteLine("Replace \"PUBLIC_KEY\" line 96 with your public key (\"Ed25519 128-bit Verify Key\") available in https://app.keygen.sh/settings. Then comment lines 94 & 95 and run again.");
95+
Environment.Exit(1); // Comment this line to continue
96+
_publicKey = "PUBLIC_KEY";
9597
}
9698
else
9799
{

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dotnet run examples/license.lic examples/machine.lic 198e9fe586114844f6a4eaca506
1212

1313
## Normal config:
1414
* Your fingerprint should be the hash of the serial number of your machine (you can execute the program to see it) computed with **SHA3_512** ([Online Converter](https://emn178.github.io/online-tools/sha3_512.html)).
15-
* Replace the public key from [keygen.sh](keygen.sh) line 94 of `Program.cs`.
15+
* Replace the public key from [keygen.sh](keygen.sh) line 96 of `Program.cs`.
1616
* Get your machine file on [keygen.sh](keygen.sh) and put the raw license key in a new file named `license.lic`.
1717
* Put your `machine.lic` & `license.lic` in the same folder as `Program.cs` and run:
1818

0 commit comments

Comments
 (0)