[P3-012] Fix Windows-style path literals in CUE4ParseViewModel.cs · Issue #42 · r6e/FModel-Linux · GitHub
Skip to content

[P3-012] Fix Windows-style path literals in CUE4ParseViewModel.cs #42

Open

Description

@r6e

Overview

Fix Windows-style path literals used for game save and data directory discovery in CUE4ParseViewModel.cs.

Files Affected

  • FModel/ViewModels/CUE4ParseViewModel.cs

Findings

  • Environment.SpecialFolder.LocalApplicationData + "\\StateOfDecay2\\Saved\\SaveGames\\" — hardcoded Windows separator and subpath
  • Environment.SpecialFolder.CommonApplicationData + "\\KONAMI\\eFootball\\..." — same pattern
  • On Linux, Environment.SpecialFolder.LocalApplicationData resolves to ~/.local/share; the subdirectory layout differs per game
  • All \\ string literals in path construction expressions must use Path.Combine

Acceptance Criteria

  • Path construction uses Path.Combine rather than string concatenation with backslashes
  • No \\ literals remain in path-construction expressions in this file

Effort

S (< 1 hour)

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