From 8816d794387c33ee2a90444d5019d23f3d0283ef Mon Sep 17 00:00:00 2001 From: jusax23 Date: Sun, 25 Feb 2024 00:52:01 +0100 Subject: [PATCH] temp fix --- README.md | 2 +- pubspec.yaml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0d31f1b..febfd5f 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ stockfish.dispose(); A complete Example can be found at [stockfish_chess_engine](https://github.com/loloof64/StockfishChessEngineFlutter). ## Web support -Web support is currently experimental. It uses a version of stockfish compiled with [emscripten](https://emscripten.org/). +Web support is currently experimental and currently requires manuly adding assets. It uses a version of stockfish compiled with [emscripten](https://emscripten.org/). In order to make multithreading available, the site must run in a secure environment. The following headers must be set for this: diff --git a/pubspec.yaml b/pubspec.yaml index 0ac352f..03ca464 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -45,12 +45,12 @@ flutter: ffiPlugin: true web: # ------------------- - assets: - - web/js_bindings.js - - web/stockfish_data.bin - - web/flutter_stockfish_plugin.js - - web/flutter_stockfish_plugin.wasm - - web/flutter_stockfish_plugin.worker.js + #assets: + # - web/js_bindings.js + # - web/stockfish_data.bin + # - web/flutter_stockfish_plugin.js + # - web/flutter_stockfish_plugin.wasm + # - web/flutter_stockfish_plugin.worker.js # To add assets to your plugin package, add an assets section, like this: # assets: # - images/a_dot_burr.jpeg