Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dapetcu21 authored Mar 6, 2018
1 parent 1a3a4a4 commit aebe10b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,22 @@ end)

---

Get the absolute path to the game's containing directory. On macOS this will be the path to the .app bundle

```lua
path = defos.get_bundle_root()
```

---

Change the game's icon at runtime.

```lua
defos.set_window_icon(path_to_icon)
```

---

If you'd like to see any other feature, open an issue.

## Example
Expand Down

0 comments on commit aebe10b

Please sign in to comment.