anchor.diff:              'With the version path ${versionDir.path}\n'
               'The unzip process exited with code ${unzipResult.exitCode}.');
         }
  +      // For Linux, we need to copy over the files out of the chrome-linux
  +      // sub directory.
  +      if (io.Platform.isLinux) {
  +        final io.Directory chromeLinuxDir =
  +            await tmpDir.list().single as io.Directory;
  +        await for (final io.FileSystemEntity entity in chromeLinuxDir.list()) {
  +          await entity
  +              .rename(path.join(versionDir.path, path.basename(entity.path)));
  +        }
  +        await tmpDir.delete(recursive: true);
  +      }
       }
   
       downloadedFile.deleteSync();
  
positive.code:             ..createSync(recursive: true)
              ..writeAsBytesSync(data);
          } else {
            io.Directory(path.join(versionDir.path, filename)).create(
                recursive: true);
          }
        }
  
        stopwatch.stop();
        print('INFO: The unzip took ${stopwatch.elapsedMilliseconds ~/ 1000} seconds.');
      } else {
        final io.ProcessResult unzipResult =
            await io.Process.run('unzip', <String>[
          downloadedFile.path,
          '-d',
          versionDir.path,
        ]);
        if (unzipResult.exitCode != 0) {
          throw BrowserInstallerException(
  
negative.code: Future<String> fetchLatestChromeVersion() async {
    final Client client = Client();
    try {
      final Response response = await client.get(Uri.parse(
          'https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2FLAST_CHANGE?alt=media'));
      if (response.statusCode != 200) {
        throw BrowserInstallerException(
            'Failed to fetch latest Chrome version. Server returned status code ${response.statusCode}');
  