Skip to content

Commit

Permalink
Added remote license
Browse files Browse the repository at this point in the history
  • Loading branch information
dalkia committed Feb 29, 2024
1 parent 7b37f7a commit e1aafad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 75 deletions.
7 changes: 3 additions & 4 deletions DCL_PiXYZ/PXZEntryPoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,11 @@ private static void FrameworkInitialization(string sceneManifestDirectory, bool

private static void InitializePiXYZ()
{
pxz =
PiXYZAPI.Initialize("PixyzSDKCSharp",
"204dda67aa3ea8bcb22a76bff9aa1224823b253144396405300e235e434c4711591892c19069c7");
pxz = PiXYZAPI.Initialize("PixyzDecentralandSDK",
"205721ba17a42f2f2d1a7cbd9924ae7f6b3b2531443973231b2c0f45450a0d01260f06716a212dc567b1bf577a");
// if no license is found, try to configure a license server
if (!pxz.Core.CheckLicense())
pxz.Core.InstallLicense("pixyzsdk-29022024.lic");
pxz.Core.ConfigureLicenseServer("18.204.36.86", 27000);
}

private static void CreateDirectories(SceneConversionInfo sceneConversionInfo)
Expand Down
2 changes: 1 addition & 1 deletion consumer-server/src/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export async function initComponents(): Promise<AppComponents> {

const messageConsumer = await createMessagesConsumerComponent({ logs, queue, messageHandler })

await buildLicense({ config, logs })
//await buildLicense({ config, logs })

return {
config,
Expand Down
70 changes: 0 additions & 70 deletions pixyzsdk-29022024.lic

This file was deleted.

0 comments on commit e1aafad

Please sign in to comment.