mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-06 11:52:04 +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 (@available(macOS 12.3, *)) {
|
||||||
if (preferences.FullscreenEnabled != NULL) {
|
if (preferences.FullscreenEnabled != NULL) {
|
||||||
config.preferences.elementFullscreenEnabled = *preferences.FullscreenEnabled;
|
config.preferences.elementFullscreenEnabled = *preferences.FullscreenEnabled;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
config.suppressesIncrementalRendering = true;
|
config.suppressesIncrementalRendering = true;
|
||||||
config.applicationNameForUserAgent = @"wails.io";
|
config.applicationNameForUserAgent = @"wails.io";
|
||||||
|
Loading…
Reference in New Issue
Block a user