nomadcode/apps/mobile/lib/services/workspace_launcher.dart
toki 84c8ac67ed 기능: monorepo 구조를 변경하고 web을 제거한다
- apps/web 디렉터리 전체를 삭제하여 web 클라이언트 제거
- Flutter 모바일 앱 구조를 정리하고 모델/스크린/서비스 추가
- agent-ops 규칙 및 로드맵 업데이트
- monorepo 문서 갱신
2026-05-24 21:48:51 +09:00

12 lines
365 B
Dart

import 'package:url_launcher/url_launcher.dart';
import '../models/project_workspace.dart';
class WorkspaceLauncher {
Future<bool> openCodeServer(ProjectWorkspace project) async {
final uri = Uri.parse(project.codeServerUrl);
if (await canLaunchUrl(uri)) {
return launchUrl(uri, mode: LaunchMode.externalApplication);
}
return false;
}
}