_HyphenIsXToIQSSi

This commit is contained in:
Mike Phares 2022-02-18 10:35:31 -07:00
parent dc782730e1
commit d696a29841
2 changed files with 24 additions and 2 deletions

View File

@ -18,5 +18,25 @@
"Smpl",
"Villach",
"Vrng"
]
],
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#9885b1",
"activityBar.activeBorder": "#dacec5",
"activityBar.background": "#9885b1",
"activityBar.foreground": "#15202b",
"activityBar.inactiveForeground": "#15202b99",
"activityBarBadge.background": "#dacec5",
"activityBarBadge.foreground": "#15202b",
"sash.hoverBorder": "#9885b1",
"statusBar.background": "#7e669d",
"statusBar.foreground": "#e7e7e7",
"statusBarItem.hoverBackground": "#9885b1",
"statusBarItem.remoteBackground": "#7e669d",
"statusBarItem.remoteForeground": "#e7e7e7",
"titleBar.activeBackground": "#7e669d",
"titleBar.activeForeground": "#e7e7e7",
"titleBar.inactiveBackground": "#7e669d99",
"titleBar.inactiveForeground": "#e7e7e799"
},
"peacock.color": "#7e669d"
}

View File

@ -199,7 +199,9 @@ public class FileRead : Shared.FileRead, IFileRead
catch (Exception) { }
}
string[] segments = Path.GetFileNameWithoutExtension(reportFullPath).Split('_');
if (_Hyphens != _HyphenIsXToOpenInsight)
if (_Hyphens == _HyphenIsXToIQSSi)
duplicateDirectory = string.Concat(_FileConnectorConfiguration.TargetFileLocation, @"\All");
else if (_Hyphens != _HyphenIsXToOpenInsight)
duplicateDirectory = string.Concat(_FileConnectorConfiguration.TargetFileLocation, @"\", segments[0]);
else
duplicateDirectory = string.Concat(Path.GetDirectoryName(Path.GetDirectoryName(_FileConnectorConfiguration.TargetFileLocation)), @"\Data");