Core - replaced hardcoded backslashes with Path.Combine

This commit is contained in:
Diogo Trindade committed 2021-07-11 21:27:30 +01:00
1 parent d10ffcf62a
commit 0adcfa65c0
6 files changed
+24 -24

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ namespace Artemis.Core
/// <summary>
/// The full path to the Artemis data folder
/// </summary>
public static readonly string DataFolder = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + "\\Artemis\\";
public static readonly string DataFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "Artemis");
/// <summary>
/// The plugin info used by core components of Artemis