Skip to content

Commit

Permalink
Merge pull request #631 from PlayEveryWare/hotfix-3.1.3
Browse files Browse the repository at this point in the history
Hotfix 3.1.3
  • Loading branch information
arthur740212 authored Apr 30, 2024
2 parents 325e69f + 1a9e17f commit 88fae8f
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Assets/Plugins/Source/Core/EOSPackageInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static class EOSPackageInfo
* not involve editing source code files.
*/

public const string Version = "3.1.2";
public const string Version = "3.1.3";

public const string PackageName = "com.playeveryware.eos";
}
Expand Down
22 changes: 7 additions & 15 deletions Assets/Plugins/Source/Editor/Utility/BuildUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,25 +70,17 @@ public static bool DeployedAsUPM
/// <returns>True if the plugin is deployed as UPM, false otherwise.</returns>
private static bool IsDeployedAsUPM()
{
try
{
string manifestJson = FileUtility.ReadAllText(
Path.Combine(FileUtility.GetProjectPath(), "Packages", "manifest.json")
);

Manifest manifest = JsonUtility.FromJson<Manifest>(manifestJson);
string packagePathname = Path.GetFullPath(Path.Combine("Packages", EOSPackageInfo.PackageName));

if (manifest != null && manifest.dependencies.ContainsKey(EOSPackageInfo.PackageName))
{
return true;
}
if (Directory.Exists(packagePathname))
{
Debug.Log("Deployed via UPM");
return true;
}
catch (Exception e)
else
{
Debug.LogWarning($"There was a problem determining if deployed via UPM: \"{e.Message}\".");
return false;
}

return false;
}

/// <summary>
Expand Down
1 change: 0 additions & 1 deletion Assets/Plugins/macOS/Core/MacOSPlatformSpecifics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
namespace PlayEveryWare.EpicOnlineServices
{
using Epic.OnlineServices.Platform;
using Options = Epic.OnlineServices.IntegratedPlatform.Options;

public class EOSCreateOptions
{
Expand Down
28 changes: 28 additions & 0 deletions etc/PackageTemplate/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

# [3.1.3] - 2024-04-29

### Fixed
fix(build,upm) : fix check if deployed from upm or repo
fix(mac) : remove incorrect create option type on mac

# [3.1.2] - 2024-04-25

### Removed
chore: Remove EOSCreateOptions and EOSInitializeOptions files in favor of defining them within individual PlatformSpecifics files.
chore: Remove commented out code.

### Fixed
fix(build,upm) : Compile fixes when running in a upm
fix: Re-order platform if-defs.
fix: Add UpdateNetworkStatus to both interface and abstract implementing class.
fix: Instead of explicitly instantiating config editors, use reflection to determine all platform config editors that exist, and create an instance for each of them in EOSSettingsWindow.
fix: Restore if-def block around IOSPlatformSpecifics.
fix: Return AndroidPlatformSpecifics to prior class name, and correct the config file indicated in .
fix: Allow platform-specifics implementing classes to define the type of config and library extension for the platform.
fix: Remove IEOSCreateOptions helper methods and interface, replacing with implementation.
Fix name of AndroidPlatformSpecifics
fix: Update version number string in EOSPackageInfo.
fix: Correct unity version listing in package.json file.
fix: Remove dependency on Newtonsoft.Json.
fix: Add log error to catching exception when creating builder, as well as throw build failed exception.


# [3.1.1] - 2024-04-15

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions etc/PackageTemplate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.playeveryware.eos",
"version": "3.1.1",
"version": "3.1.3",
"unity": "2021.3",
"unityRelease": "8f1",
"displayName": "Epic Online Services Plugin for Unity",
Expand Down Expand Up @@ -31,6 +31,6 @@
}
],
"com_playeveryware": {
"git_build_sha": "31b5540304ff074d7ef01f9377dafcd8fc5b1dc4"
"git_build_sha": "86f410958fb596b5a42c05419577c1ffc70cffba"
}
}

0 comments on commit 88fae8f

Please sign in to comment.