From a28cf5c61d5a2fb27f1542ea3ccfc7abd41b3716 Mon Sep 17 00:00:00 2001 From: Bagabum Date: Fri, 19 Aug 2022 15:49:27 +0200 Subject: [PATCH] Update for Defold 1.3.5 version --- README.md | 3 +++ game.project | 3 ++- sharelog/src/main.cpp | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7fd7fc2..be5e5c2 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,9 @@ The extension writes all output data to the console and makes it possible to rec ## Installation +> ⚠️ For Defold version below **1.3.5** use Share Log **1.0.0** version +> https://github.com/potatojam/defold-share-log/archive/refs/tags/1.0.0.zip + You can use it in your own project by adding this project as a [Defold library dependency](http://www.defold.com/manuals/libraries/). Open your `game.project` file and in the dependencies field add **a link to the ZIP file of a [specific release](https://github.com/potatojam/defold-share-log/tags).** > ⚠️ For some functions, you need to use the [share](https://github.com/britzl/defold-sharing) extension. https://github.com/britzl/defold-sharing diff --git a/game.project b/game.project index 681d173..81e61b1 100644 --- a/game.project +++ b/game.project @@ -11,6 +11,7 @@ high_dpi = 1 [project] title = ShareLog +version = 1.0.1 dependencies#0 = https://github.com/andsve/dirtylarry/archive/master.zip dependencies#1 = https://github.com/britzl/defold-sharing/archive/refs/tags/4.2.0.zip @@ -21,7 +22,7 @@ include_dirs = sharelog debuggable = 1 [share_log] -block_release_version = true +block_release_version = false catch_promise_errors = true force_html5_init = false diff --git a/sharelog/src/main.cpp b/sharelog/src/main.cpp index b59686b..d46c6e6 100644 --- a/sharelog/src/main.cpp +++ b/sharelog/src/main.cpp @@ -51,7 +51,7 @@ static dmExtension::Result FinalizeShareLog(dmExtension::Params *params) static std::string string_log; -static void LogListener(dmLog::Severity severity, const char *type, const char *message) +static void LogListener(LogSeverity severity, const char *type, const char *message) { // dmLog::LOG_SEVERITY_USER_DEBUG string_log = string_log + message;