mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 13:17:49 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace ScriptSigner
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
string path = "Server/RobloxWebSite/Game/rbxPrivate.blob";
|
||||
while (!System.IO.File.Exists(path))
|
||||
{
|
||||
path = "../" + path;
|
||||
}
|
||||
byte[] blob = System.IO.File.ReadAllBytes(path);
|
||||
|
||||
foreach (string s in args)
|
||||
{
|
||||
string script = System.IO.File.ReadAllText(s);
|
||||
System.IO.File.WriteAllText(s + ".sgnd", SharedSecurityNotary.SignScript(script, blob));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user