Skip to content

Commit

Permalink
feat: only require wails command
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki committed Jul 16, 2022
1 parent a17cd5c commit fab2491
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ See https://wails.io/docs/gettingstarted/installation
### Run a local version

```bash
./get-webui.sh
wails dev
```

Expand Down
3 changes: 2 additions & 1 deletion get-webui.sh → frontend/get-webui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
WEBUI_CID=bafybeibozpulxtpv5nhfa2ue3dcjx23ndh3gwr5vwllk7ptoyfwnfjjr4q #v2.15.1

main() {
ipfs get "/ipfs/$WEBUI_CID" -o frontend
set -ex
ipfs get "/ipfs/$WEBUI_CID" -o .
}

main
4 changes: 2 additions & 2 deletions wails.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "ipfs-desktop",
"frontend:build": "",
"frontend:build": "bash ./get-webui.sh",
"frontend:install": "",
"frontend:dev": "",
"frontend:dev": "bash ./get-webui.sh",
"frontend:dev:watcher": "npx --yes serve -u .",
"frontend:dev:serverUrl": "http://localhost:3000",
"wailsjsdir": "./frontend",
Expand Down

0 comments on commit fab2491

Please sign in to comment.