Skip to content

Commit

Permalink
Platform specific format for export path
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed May 8, 2024
1 parent f732697 commit 05d84be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ConsoleUI/ModListScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ private bool ExportInstalled(ConsoleTheme theme)
// Because that's supposed to work.
regMgr.Save(true);
string path = Path.Combine(
manager.CurrentInstance.CkanDir(),
Platform.FormatPath(manager.CurrentInstance.CkanDir()),
$"{Properties.Resources.ModListExportPrefix}-{manager.CurrentInstance.Name}.ckan"
);
RaiseError(Properties.Resources.ModListExported, path);
Expand Down

0 comments on commit 05d84be

Please sign in to comment.