Skip to content

Commit

Permalink
updated to v2.11.7
Browse files Browse the repository at this point in the history
  • Loading branch information
michael811125 committed Jul 30, 2024
1 parent e7f36b8 commit 0bbf756
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -554,9 +554,17 @@ internal static PatchConfig GeneratePatchConfig(List<GroupInfo> groupInfos, stri
{
string versionName = Path.GetFileNameWithoutExtension(newestVersionPath);
string refineVersionName = versionName.Replace("-", string.Empty);
#region Encode
string versionHash = BundleUtility.GetVersionHash("-", versionName, 1 << 5);
// Default length is 6
string versionNumber1 = BundleUtility.GetVersionNumber(versionHash, 6);
// Just show more
string versionNumber2 = BundleUtility.GetVersionNumber(versionHash, 32);
#endregion

packageInfo.packageName = packageName;
packageInfo.packageVersion = refineVersionName;
packageInfo.packageVersionEncoded = $"{versionNumber1}-{versionNumber2}";
packageInfo.packageSize = packageSize;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public class PackageInfo
{
public string packageName;
public string packageVersion;
public string packageVersionEncoded;
public long packageSize;
}

Expand Down
5 changes: 5 additions & 0 deletions Assets/OxGFrame/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

## [2.11.7] - 2024-07-30
- Added method AssetPatcher.GetPlatform.
- Modified patchconfig.json include packageVersionEncoded info (just for comparison).
- Fixed AssetPatcher -> GetAppVersion, GetPatchVersion return default value for simulate mode.

## [2.11.6] - 2024-07-29
- Added method AssetsLoaders.ReleaseBundleScenes (for additive scenes).
- Added method AssetPatcher.Release (mainly for yooasset destroy).
Expand Down
2 changes: 1 addition & 1 deletion Assets/OxGFrame/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "com.michaelo.oxgframe",
"displayName": "OxGFrame",
"description": "The OxGFrame is a framework based on Unity for accelerating game development. Supports multi-platform Win, OSX, Android, iOS, WebGL.",
"version": "2.11.6",
"version": "2.11.7",
"unity": "2021.3",
"license": "MIT",
"samples": [
Expand Down

0 comments on commit 0bbf756

Please sign in to comment.