- apps/web 디렉터리 전체를 삭제하여 web 클라이언트 제거 - Flutter 모바일 앱 구조를 정리하고 모델/스크린/서비스 추가 - agent-ops 규칙 및 로드맵 업데이트 - monorepo 문서 갱신
12 lines
365 B
Dart
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;
|
|
}
|
|
}
|