joplin-notes/joplin notion extension/Web Development/React/proton-native/Packaging.md
2026-11-04 00:33:23 +05:30

902 B

Packaging

  • Creating the binary

    npm run build # Transpile our code. If you have any extra files other than
                # app.js and index.js, make sure they are included in the build
                # script in package.json, so that they get transpiled also.
    
      mkdir out
      npx nexe bin/index.js -o out/my-app # Create our binary
    

    In nexe there might be the error as may not build by default when running in first time so use this npx nexe bin/index.js -bo --verbose out/my-app # Create our binary Here -b is --build Also there can be other error so go to ~/.nexe/... and ../deps/v8/src/base/logging.h and ../deps/v8/src/base/macro.h and include library cstdint #include <cstdint>

    The packaged appimage would be 180mb+. Also 180mb+ ram

As nexe takes 1hr to build so use already compiled version https://www.mediafire.com/file/gnob3ywpvq9te7a/nexe_archive.7z/file