Skip to content

msafronov/dosbox-canvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOSBOX-CANVAS



promo

DEMO

work in progress..



Local build

First of all, you need to install rust compiler (rustc 1.74+) and wasm utilities (wasm-strip and wasm-opt) to compile .wasm binary file:

Example of installing wasm utilities for Linux
wget \
  -P /tmp \
  https://github.com/WebAssembly/wabt/releases/download/1.0.34/wabt-1.0.34-ubuntu.tar.gz
tar -xf /tmp/wabt-1.0.34-ubuntu.tar.gz -C /tmp
cp /tmp/wabt-1.0.34/bin/wasm-strip /usr/bin
rm -rf /tmp/wabt-1.0.34

wget \
  -P /tmp \
  https://github.com/WebAssembly/binaryen/releases/download/version_116/binaryen-version_116-x86_64-linux.tar.gz
tar -xf /tmp/binaryen-version_116-x86_64-linux.tar.gz -C /tmp
cp /tmp/binaryen-version_116/bin/wasm-opt /usr/bin
rm -rf /tmp/binaryen-version_116


Then install npm packages from the root folder and run "build" command after:

npm install
npm run build

Then run the project:

npm run dev

Releases

No releases published

Packages

No packages published

Languages