Skip to content

Commit

Permalink
Desperate printf debugging - List all applications
Browse files Browse the repository at this point in the history
  • Loading branch information
natebosch committed Sep 12, 2024
1 parent 6fc69b6 commit 34f5df0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkgs/test/lib/src/runner/browser/default_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ final defaultSettings = UnmodifiableMapView({
macOSExecutables: [
'/Applications/Firefox.app/Contents/MacOS/firefox-bin',
'/Applications/Firefox.app/Contents/MacOS/firefox',
'firefox',
],
windowsExecutable: r'Mozilla Firefox\firefox.exe',
environmentOverride: 'FIREFOX_EXECUTABLE'),
Expand Down
4 changes: 4 additions & 0 deletions pkgs/test/lib/src/runner/browser/firefox.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ class Firefox extends Browser {
var dir = createTempDir();
File(p.join(dir, 'prefs.js')).writeAsStringSync(_preferences);

for (final file in Directory('/Applications/').listSync()) {
print(file.path);
}

var process = await Process.start(settings.executable, [
'--profile',
dir,
Expand Down

0 comments on commit 34f5df0

Please sign in to comment.