OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 import 'dart:async'; | 5 import 'dart:async'; |
6 import 'dart:io'; | 6 import 'dart:io'; |
7 | 7 |
8 import 'src/context.dart'; | 8 import 'src/context.dart'; |
9 import 'src/platform_service.dart'; | 9 import 'src/platform_service.dart'; |
10 | 10 |
11 const String gcsRoot = 'https://storage.googleapis.com'; | 11 const String gcsRoot = 'https://storage.googleapis.com'; |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 return false; | 255 return false; |
256 } | 256 } |
257 if (!bootFiles.contains('${mountDir.path}/kernel.img')) { | 257 if (!bootFiles.contains('${mountDir.path}/kernel.img')) { |
258 await ctx.readLine( | 258 await ctx.readLine( |
259 'WARNING: The SD card in ${sdCardDevice} does not look like a ' | 259 'WARNING: The SD card in ${sdCardDevice} does not look like a ' |
260 'Raspbian SD card.\n\n' | 260 'Raspbian SD card.\n\n' |
261 'Press Enter to continue anyway (Ctrl-C to cancel).'); | 261 'Press Enter to continue anyway (Ctrl-C to cancel).'); |
262 } | 262 } |
263 return true; | 263 return true; |
264 } | 264 } |
OLD | NEW |