diff --git a/examples/gg/stars.v b/examples/gg/stars.v index 888fd3b5f89aec..8babd0a9e7edc6 100644 --- a/examples/gg/stars.v +++ b/examples/gg/stars.v @@ -79,6 +79,9 @@ fn main() { fn init_images(mut app App) { mut logo_path := os.resource_abs_path(os.join_path('..', 'assets', 'logo.png')) + $if android { + logo_path = 'logo.png' + } app.image = app.gg.create_image(logo_path) or { panic(err) } }