Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 07af5d2

Browse files
author
Erik Bylund
committed
Add -assetstore suffix to SDK-Version header
1 parent eac89d5 commit 07af5d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Runtime/Game/Resources/LootLockerConfig.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,14 +147,14 @@ static void ListInstalledPackagesRequestProgress()
147147
{
148148
if (package.name.Equals("com.lootlocker.lootlockersdk"))
149149
{
150-
LootLockerConfig.current.sdk_version = package.version;
150+
LootLockerConfig.current.sdk_version = package.version + "-assetstore";
151151
return;
152152
}
153153
}
154154

155155
if (File.Exists("Assets/LootLockerSDK/package.json"))
156156
{
157-
LootLockerConfig.current.sdk_version = LootLockerJson.DeserializeObject<LLPackageDescription>(File.ReadAllText("Assets/LootLockerSDK/package.json")).version;
157+
LootLockerConfig.current.sdk_version = LootLockerJson.DeserializeObject<LLPackageDescription>(File.ReadAllText("Assets/LootLockerSDK/package.json")).version + "-assetstore";
158158
return;
159159
}
160160

@@ -166,7 +166,7 @@ static void ListInstalledPackagesRequestProgress()
166166
var packageDescription = LootLockerJson.DeserializeObject<LLPackageDescription>(File.ReadAllText(assetPath));
167167
if (!string.IsNullOrEmpty(packageDescription.name) && packageDescription.name.Equals("com.lootlocker.lootlockersdk"))
168168
{
169-
LootLockerConfig.current.sdk_version = packageDescription.version;
169+
LootLockerConfig.current.sdk_version = packageDescription.version + "-assetstore";
170170
return;
171171
}
172172
}

0 commit comments

Comments
 (0)