mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 00:10:47 +08:00
Fix compilation issue on Darwin < 12.3
This commit is contained in:
parent
bf9e17a6c8
commit
95c751d4ac
@ -68,13 +68,13 @@ void* windowNew(unsigned int id, int width, int height, bool fraudulentWebsiteWa
|
||||
}
|
||||
}
|
||||
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 120300
|
||||
if (@available(macOS 12.3, *)) {
|
||||
if (preferences.FullscreenEnabled != NULL) {
|
||||
config.preferences.elementFullscreenEnabled = *preferences.FullscreenEnabled;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
config.suppressesIncrementalRendering = true;
|
||||
config.applicationNameForUserAgent = @"wails.io";
|
||||
|
Loading…
Reference in New Issue
Block a user