Skip to content

Commit

Permalink
web app: add base patches
Browse files Browse the repository at this point in the history
  • Loading branch information
io12 committed Aug 28, 2020
1 parent d401e63 commit 1c7635a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sm64gs2pc-web/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/sh

set -eux

wasm-pack build --target web --out-dir static/pkg
cp -f ../base-patches/* static/pkg/
17 changes: 17 additions & 0 deletions sm64gs2pc-web/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,23 @@ impl Component for App {

<hr />

<h2> { "Base patches" } </h2>
<p> { "Apply one of these before the cheat patch" } </p>
<ul>
<li>
<a href="/pkg/gameshark-base-sm64-port.patch">
{ "sm64-port" }
</a>
</li>
<li>
<a href="/pkg/gameshark-base-sm64ex-nightly.patch">
{ "sm64ex nightly" }
</a>
</li>
</ul>

<hr />

// Patch preview or error
{ output }
</>
Expand Down

0 comments on commit 1c7635a

Please sign in to comment.