Skip to content

SgtPooki/ipfs-desktop-wails

Repository files navigation

README

TODO

Getting started

Install wails

go install github.com/wailsapp/wails/v2/cmd/wails@latest

See https://wails.io/docs/gettingstarted/installation

Run a local version

wails dev

The first run will take a long time since the ipfs/ipfs-webui package has so many dependencies to install.

Building

To build a redistributable, production mode package, use wails build.

Troubleshooting

Blank page on app open

wails is weird.. I finally got this figured out by using npx --yes serve -u build as the "frontend:dev:watcher" setting.

Live reload not working

You may want to follow https://gist.github.com/int128/e0cdec598c5b3db728ff35758abdbafd as mentioned by https://wails.io/docs/guides/application-development#external-dev-server

TOO MANY OPEN FILES

Wails seems to leave processes and file handles open.. without a restart, the following worked for a quick fix:

ulimit -n 10240

wails dev hangs on compiling frontend

Example

Building application for development...
  - No Install command. Skipping.
  - Compiling frontend:

You can try to do wails dev -v 2 to see more info, but basically, if you set a non-exiting command (npm run start) for the wails.json file's frontend:dev command, wails will wait, the same as you would in your terminal, when you run that command. You should use a dev oriented build command in that slot, which is basically npm run build for the ipfs-webui project.

About

A playful attempt to rewrite https://github.com/ipfs/ipfs-desktop using wails instead of electron

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published