update Bootstrap because secretKey file path is changed.

before-split
walon 2025-05-17 19:39:37 +08:00
parent db24958aff
commit a411ca480a
5 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: bcf7522df26420d49b122137992d8359 guid: c05b06a0efaf2b1449760b6e43a887d3
TextScriptImporter: TextScriptImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 29ad157d283f96c45b4e321ccd726244 guid: 8d8f2c4f77ee26b44a448add3a0657fe
TextScriptImporter: TextScriptImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -12,7 +12,7 @@ public class Bootstrap : MonoBehaviour
private static void SetUpStaticSecret() private static void SetUpStaticSecret()
{ {
Debug.Log("SetUpStaticSecret begin"); Debug.Log("SetUpStaticSecret begin");
EncryptionService<DefaultStaticEncryptionScope>.Encryptor = new GeneratedEncryptionVirtualMachine(Resources.Load<TextAsset>("Obfuz/defaultStaticSecret").bytes); EncryptionService<DefaultStaticEncryptionScope>.Encryptor = new GeneratedEncryptionVirtualMachine(Resources.Load<TextAsset>("Obfuz/defaultStaticSecretKey").bytes);
Debug.Log("SetUpStaticSecret end"); Debug.Log("SetUpStaticSecret end");
} }