kotcrab / xdelta-wasm

Online xdelta and xdelta3 patcher
https://kotcrab.github.io/xdelta-wasm/
Apache License 2.0
33 stars 5 forks source link

Help me host it? #2

Closed MediaMaquina closed 9 months ago

MediaMaquina commented 9 months ago

Capture

Hello, i managed to build and got the public folder but when trying o host it it's just a blank screen with no errors.

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <link rel="icon" href="favicon.ico" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="theme-color" content="#000000" />
    <meta name="description" content="Online xdelta and xdelta3 patcher" />
    <link rel="apple-touch-icon" href="logo192.png" />
    <link rel="manifest" href="manifest.json" />
    <title>Xdelta patcher</title>
  </head>
  <body>
    <noscript>You need to enable JavaScript to run this app.</noscript>
    <div id="root"></div>
  </body>
</html>
kotcrab commented 9 months ago

Already build code is on the gh-pages branch, compare against that. You are missing the static/js folder and the inedx.html doesn't look like it was processed so most likely you didn't run npm run build.

MediaMaquina commented 9 months ago

Already build code is on the gh-pages branch, compare against that. You are missing the static/js folder and the inedx.html doesn't look like it was processed so most likely you didn't run npm run build.

That works! Is there any way to separate the actual tool from the css colors it changes and the dark mode functionality?

kotcrab commented 9 months ago

See PatchForm.js for how to use the xdelta worker and write your code based on that.

sergeevabc commented 7 months ago

Does not work on my end.

Error occurred while patching
Details: unavailable secondary compressor: LZMA (code -17710)

Patch was created by xdelta 3.1.0 beta.

kotcrab commented 7 months ago

I created new issue as your comment is not relevant to this issue.