From aebe10b5e36e001b8158d952180acfbe00492fd8 Mon Sep 17 00:00:00 2001 From: Marius Petcu Date: Tue, 6 Mar 2018 20:14:26 +0200 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index f3414fa..44d27af 100644 --- a/README.md +++ b/README.md @@ -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