Skip to content

Commit

Permalink
remove wasm deps, copy while bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
lesleyrs committed Jul 30, 2024
1 parent 7f457b4 commit 39df6aa
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ bz2.wasm
/src/public/data/*
# !/public/LoginThread.js
# !/public/worker.js
# !/public/bzip2.wasm
# !/public/rsmod-pathfinder.wasm
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ A web worker server will start when loading world 999. This works as a no instal

The following files are required from the server:
1. `npm run build`, then copy data directory from the server to `/src/public` in client
2. `npm run bundle`, this copies worker.js and LoginThread.js to `../Client2/public`
2. `npm run bundle`, this copies worker.js, LoginThread.js, and wasm dependencies to `../Client2/public`
3. Saves will load from `/public/data/players` and a save dialog will open on logout, but you should save them to `/src/public/data/players` instead.
4. Optional: To host on github see [.gitignore](.gitignore#L15).

Expand Down
Binary file removed src/public/bzip2.wasm
Binary file not shown.
Binary file removed src/public/rsmod-pathfinder.wasm
Binary file not shown.

0 comments on commit 39df6aa

Please sign in to comment.