diff --git a/src/components/gui/gui.jsx b/src/components/gui/gui.jsx
index cdc9746a8af..81dc5743c39 100644
--- a/src/components/gui/gui.jsx
+++ b/src/components/gui/gui.jsx
@@ -19,6 +19,7 @@ import NotificationsProvider from '../../lib/notifications-provider.jsx';
import TWSecurityManager from '../../containers/tw-security-manager.jsx';
import TWInvalidProjectModal from '../../containers/tw-invalid-project-modal.jsx';
import RoturSession from '../../containers/rotur-session.jsx';
+import {hasRotur} from '../../lib/rotur/availability.js';
import RoturExtensionHost from '../../containers/rotur-extension-host.jsx';
import MistWarpGameHost from '../../containers/mistwarp-game-host.jsx';
import RoturLoginModal from '../mw-rotur-login-modal/rotur-login-modal.jsx';
@@ -860,8 +861,8 @@ const GUIComponent = props => {
{!isPlayerOnly && }
{!isPlayerOnly && }
{!isPlayerOnly && }
- {!isPlayerOnly && }
- {!isPlayerOnly && }
+ {!isPlayerOnly && hasRotur() && }
+ {!isPlayerOnly && hasRotur() && }
{!isPlayerOnly && }
{!isPlayerOnly && }
{usernameModalVisible && }
@@ -879,7 +880,7 @@ const GUIComponent = props => {
{gitModalVisible && }
{invalidProjectModalVisible && }
- {roturLoginModalVisible && (
+ {roturLoginModalVisible && hasRotur() && (
)}
diff --git a/src/components/menu-bar/menu-bar.jsx b/src/components/menu-bar/menu-bar.jsx
index 02ac4640322..5bac8181424 100644
--- a/src/components/menu-bar/menu-bar.jsx
+++ b/src/components/menu-bar/menu-bar.jsx
@@ -70,6 +70,7 @@ import {getShortcutKey} from '../../lib/shortcuts/registry.js';
import TWDesktopSettings from './tw-desktop-settings.jsx';
import RoturAccount from './mw-rotur-account.jsx';
import MwEditorNav from './mw-editor-nav.jsx';
+import {hasRotur} from '../../lib/rotur/availability.js';
import CollabPresence from './mw-collab-presence.jsx';
import {FEEDBACK_URL} from '../../lib/constants/brand.js';
@@ -1909,7 +1910,7 @@ class MenuBar extends React.Component {
)}
-
+ {hasRotur() &&
-
+ }
-
- }
{
if (onLogout) {
@@ -69,6 +70,9 @@ const RoturAccount = props => {
logout(props.onLogout);
}, [props.onCloseMenu, props.onLogout]);
+ // The desktop app has no Rotur, so nobody signs in.
+ if (!hasRotur()) return null;
+
if (!props.username) {
return (