diff --git a/src/components/settings/workspace.tsx b/src/components/settings/workspace.tsx index 8b8769cb..17f7a8de 100644 --- a/src/components/settings/workspace.tsx +++ b/src/components/settings/workspace.tsx @@ -191,7 +191,7 @@ function WorkspaceSettingsComponent(props: { session: Session, serverConfig: Ser 不同步 同步至Git远程仓库 { - process.env.REACT_APP_BUILD_PLATFORM !== 'mas' && + ['darwin', 'win32'].includes(process.env.REACT_APP_BUILD_PLATFORM || '') && 同步至云盘 } {/*同步至GitHub*/}