mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-02 11:26:46 +02:00
Disable PWA prompt in Safari on iOS/iPadOS (#52)
This commit is contained in:
@@ -2340,3 +2340,8 @@ updateVideoPlayerCss();
|
|||||||
setupVideoSettingsBar();
|
setupVideoSettingsBar();
|
||||||
setupScreenshotButton();
|
setupScreenshotButton();
|
||||||
StreamStats.render();
|
StreamStats.render();
|
||||||
|
|
||||||
|
// Disable PWA prompt in Safari on iOS/iPadOS
|
||||||
|
Object.defineProperty(window.navigator, 'standalone', {
|
||||||
|
value: true,
|
||||||
|
});
|
||||||
|
Reference in New Issue
Block a user