[P3-011] Normalize game pak subdirectory separator strings in GameSelectorViewModel.cs · Issue #41 · r6e/FModel-Linux · GitHub
Skip to content

[P3-011] Normalize game pak subdirectory separator strings in GameSelectorViewModel.cs #41

Open

Description

@r6e

Overview

Replace hardcoded Windows backslash separator strings in game pak subdirectory constants throughout GameSelectorViewModel.cs.

Files Affected

  • FModel/ViewModels/GameSelectorViewModel.cs

Findings

  • All pak path constants use Windows-style backslash separators, e.g.:
    • "\\FortniteGame\\Content\\Paks"
    • "\\DeadByDaylight\\Content\\Paks"
    • 30+ game-specific pak path strings throughout the file
  • On Linux, \ is treated as a literal filename character, not a directory separator
  • These strings are used with Path.Combine or direct concatenation
  • Replacement: forward-slash constants ("/FortniteGame/Content/Paks") or use Path.Combine with individual path segments

Acceptance Criteria

  • All pak path constants resolve correctly under a Linux path such as /path/to/game/FortniteGame/Content/Paks
  • No stray \\ in path construction expressions

Effort

M (1–4 hours)

Agent

platform-abstraction-specialist

Depends On

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions