Skip to content

Parse Firefox profiles.ini for friendlier profile names #49

@theg1239

Description

@theg1239

Summary

  • get_firefox_profiles() currently returns raw directory names like abc123.default-release.
  • Firefox stores human-friendly profile names in profiles.ini; we can parse it to surface nicer labels and the default flag.

Why it matters

  • Users should see "Work" or "Personal" instead of hashed directories in the UI.
  • Aligns Firefox support with the Chromium-based browsers we already parse.

Acceptance Criteria

  • Parse the appropriate profiles.ini on each platform (respecting IsRelative values) and use the Name field as ProfileDescriptor.display_name when available.
  • Continue to fall back to directory names if the INI or name is missing.
  • Update/extend the tests in apps/desktop/src-tauri/tests/browser/firefox_profiles.rs to cover the new behaviour (including relative paths and custom names).

Additional context

  • File: apps/desktop/src-tauri/src/browser_details.rs

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions