Skip to content

Commit

Permalink
Update for Defold 1.3.5 version
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeysinyavsky committed Aug 19, 2022
1 parent b908c41 commit a28cf5c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion game.project
Expand Up @@ -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

Expand All @@ -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

2 changes: 1 addition & 1 deletion sharelog/src/main.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit a28cf5c

Please sign in to comment.