Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
url = https://github.com/thoth-tech/splashkit-core.git
ignore = dirty


[submodule "js-lzma"]
path = js-lzma
url = https://github.com/WhyPenguins/js-lzma
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ The IDE is just a simple node project with few dependencies, and can be setup wi

```bash
git clone --recursive https://github.com/thoth-tech/SplashkitOnline.git
cd SplashkitOnline/Browser_IDE/
npm install
```

Expand Down Expand Up @@ -108,7 +107,7 @@ emcmake cmake -G "Unix Makefiles" .
emmake make
```

If all goes well, you should find the three files built and copied to inside `Browser_IDE/runtimes/javascript/bin/` and `Browser_IDE/splashkit/` - if so, you're done!
If all goes well, you should find the three files built and copied to inside `runtimes/javascript/bin/` and `splashkit/` - if so, you're done!

**Note:** Placing the project in a path with spaces can lead to errors during the build process.

Expand Down
6 changes: 3 additions & 3 deletions compilers/cxx/cxxCompilerClangWebWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ let SKO = null;

importScripts('./../../jszip/jszip.min.js');
importScripts('./../../javascript/communication/communication.js');
importScripts('./../../external/js-lzma/src/wlzma.js');
importScripts('./../../external/js-lzma/src/lzma.shim.js');
importScripts('./../../js-lzma/src/wlzma.js');
importScripts('./../../js-lzma/src/lzma.shim.js');

self.wlzmaCustomPath = "./../../external/js-lzma/src/wlzma.wrk.js";
self.wlzmaCustomPath = "./../../js-lzma/src/wlzma.wrk.js";
self.downloadRootPath = "./../../";
importScripts('./../../javascript/middleware/downloadHandler.js');

Expand Down
4 changes: 2 additions & 2 deletions javascript/languages/languageDefinitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ let SplashKitOnlineLanguageDefinitions = [
"runtimes/cxx/bin/SplashKitBackendWASMCPP.worker.js",
],
compilerFiles: [
"external/js-lzma/src/wlzma.js",
"external/js-lzma/src/lzma.shim.js",
"js-lzma/src/wlzma.js",
"js-lzma/src/lzma.shim.js",
"compilers/cxx/cxxCompiler.js",
],
runtimeSizeAprox: 0, // user's compiled code becomes the 'runtime'
Expand Down
1 change: 1 addition & 0 deletions js-lzma
Submodule js-lzma added at 3060ba
2 changes: 1 addition & 1 deletion runtimes/cxx/bin/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
*

!.gitignore
Loading
Loading