Add option to build for embedded environments

This commit is contained in:
Cameron Gutman committed 2021-03-13 15:20:58 -06:00
1 parent d7a150ffa8
commit d6b314f573
10 files changed
+47 -24

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ ApplicationWindow {
height: 600
visibility: {
if (SystemProperties.hasWindowManager) {
if (SystemProperties.hasDesktopEnvironment) {
if (StreamingPreferences.uiDisplayMode == StreamingPreferences.UI_WINDOWED) return "Windowed"
else if (StreamingPreferences.uiDisplayMode == StreamingPreferences.UI_MAXIMIZED) return "Maximized"
else if (StreamingPreferences.uiDisplayMode == StreamingPreferences.UI_FULLSCREEN) return "FullScreen"