mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-05-06 09:28:18 +00:00
Define ROOT_PATH to fix using absolute paths for assets
This commit is contained in:
@@ -13,7 +13,7 @@ module W3DHubLauncher
|
||||
# header bar container
|
||||
flow(width: 1.0, height: 80, margin_bottom: PADDING) do |c|
|
||||
# logo image
|
||||
image(safe_get_image("./media/logo.png"), height: 1.0)
|
||||
image(safe_get_image("#{ROOT_PATH}/media/logo.png"), height: 1.0)
|
||||
|
||||
stack(fill: true, height: 1.0) do
|
||||
stack(fill: true)
|
||||
|
||||
Reference in New Issue
Block a user