Skip to content

Commit

Permalink
[unity]Plugins升级版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Mar 19, 2021
1 parent 27974b9 commit bcd7a86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion unity/Assets/Puerts/Src/JsEnv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public JsEnv(ILoader loader, IntPtr externalRuntime, IntPtr externalContext)

public JsEnv(ILoader loader, int debugPort, IntPtr externalRuntime, IntPtr externalContext)
{
const int libVersionExpect = 10;
const int libVersionExpect = 11;
int libVersion = PuertsDLL.GetLibVersion();
if (libVersion != libVersionExpect)
{
Expand Down
2 changes: 1 addition & 1 deletion unity/native_src/Src/Puerts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <cstring>
#include "V8Utils.h"

#define LIB_VERSION 10
#define LIB_VERSION 11

using puerts::JSEngine;
using puerts::FValue;
Expand Down

0 comments on commit bcd7a86

Please sign in to comment.