Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
improve raeadme
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommi committed Dec 30, 2020
1 parent d10987f commit 855c47f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ If no BaseDirectoryPath is provided, it defaults to the executable's directory p

The majority of methods are asynchronous which means that when executing them `go-astilectron` will block until it receives a specific Electron event or until the overall context is cancelled. This is the case of `.Start()` which will block until it receives the `app.event.ready` `astilectron` event or until the overall context is cancelled.

### HTML paths
NB! All paths in HTML (and Javascript) must be relative, otherwise the files will not be found.
To make this happen in React for example, just set the homepage property of your package.json to "./".

``` { "homepage": "./" }```

## Create a window

```go
Expand Down

0 comments on commit 855c47f

Please sign in to comment.