Compare commits
3 Commits
74fddcdb9d
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| d0f54655b8 | |||
| fe92236978 | |||
| ff101bf569 |
@@ -169,7 +169,7 @@
|
||||
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_058C8316BA034FF38880D3C8838A3F74"
|
||||
{
|
||||
"SourcePath" = "8:E:\\Development\\Scripts\\CM3Merge\\merged-cars.json"
|
||||
"TargetName" = "8:car_data,json"
|
||||
"TargetName" = "8:car_data.json"
|
||||
"Tag" = "8:"
|
||||
"Folder" = "8:_91D306E0AE6B4CA09DB4A07129FBDD93"
|
||||
"Condition" = "8:"
|
||||
@@ -358,15 +358,15 @@
|
||||
{
|
||||
"Name" = "8:Microsoft Visual Studio"
|
||||
"ProductName" = "8:Car Manager 3"
|
||||
"ProductCode" = "8:{9524B425-D19C-4ED5-989D-FE17F54A8360}"
|
||||
"PackageCode" = "8:{D3DFE8A3-DAC7-401F-9759-06F69B305A3F}"
|
||||
"ProductCode" = "8:{C464F09B-4ED2-46D4-A17B-49BD0F6E6566}"
|
||||
"PackageCode" = "8:{D55B03D7-E738-48F7-B6BD-87113014326E}"
|
||||
"UpgradeCode" = "8:{6FF57925-465E-4DB9-85DA-CE933191A3DD}"
|
||||
"AspNetVersion" = "8:2.0.50727.0"
|
||||
"RestartWWWService" = "11:FALSE"
|
||||
"RemovePreviousVersions" = "11:TRUE"
|
||||
"DetectNewerInstalledVersion" = "11:TRUE"
|
||||
"InstallAllUsers" = "11:FALSE"
|
||||
"ProductVersion" = "8:1.4.3"
|
||||
"ProductVersion" = "8:1.4.4"
|
||||
"Manufacturer" = "8:Jaro Digital"
|
||||
"ARPHELPTELEPHONE" = "8:"
|
||||
"ARPHELPLINK" = "8:"
|
||||
|
||||
@@ -19,7 +19,6 @@ Global
|
||||
{93CA258B-A645-41A8-A24F-59036ABC173F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{47ED51EB-1DD0-B8F0-88C8-92C6E3E06030}.Debug|Any CPU.ActiveCfg = Debug
|
||||
{47ED51EB-1DD0-B8F0-88C8-92C6E3E06030}.Release|Any CPU.ActiveCfg = Release
|
||||
{47ED51EB-1DD0-B8F0-88C8-92C6E3E06030}.Release|Any CPU.Build.0 = Release
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.4.3</ApplicationVersion>
|
||||
<ApplicationVersion>1.4.4</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
@@ -25,7 +25,7 @@
|
||||
<ApplicationIcon>CarMgm_Icon.ico</ApplicationIcon>
|
||||
<AssemblyTitle>CarManager3</AssemblyTitle>
|
||||
<Product>CarManager3</Product>
|
||||
<Version>1.4.3</Version>
|
||||
<Version>1.4.4</Version>
|
||||
<Authors>Jaro Digital</Authors>
|
||||
<Company>Jaro Digital</Company>
|
||||
<Title>Car Manager 3</Title>
|
||||
|
||||
@@ -218,7 +218,7 @@ namespace CarManagerV3
|
||||
Car other = cars.Where(c => c.Order < order).OrderByDescending(c => c.Order).FirstOrDefault();
|
||||
if (other != null)
|
||||
{
|
||||
Console.WriteLine($"Swapping order of {car.ToString()} ({car.Order}) and {other.ToString()} ({other.Order})");
|
||||
System.Diagnostics.Debug.WriteLine($"Swapping order of {car.ToString()} ({car.Order}) and {other.ToString()} ({other.Order})");
|
||||
int temp = car.Order;
|
||||
car.Order = other.Order;
|
||||
other.Order = temp;
|
||||
@@ -235,7 +235,7 @@ namespace CarManagerV3
|
||||
Car other = cars.Where(c => c.Order > order).OrderBy(c => c.Order).FirstOrDefault();
|
||||
if (other != null)
|
||||
{
|
||||
Console.WriteLine($"Swapping order of {car.ToString()} ({car.Order}) and {other.ToString()} ({other.Order})");
|
||||
System.Diagnostics.Debug.WriteLine($"Swapping order of {car.ToString()} ({car.Order}) and {other.ToString()} ({other.Order})");
|
||||
int temp = car.Order;
|
||||
car.Order = other.Order;
|
||||
other.Order = temp;
|
||||
|
||||
@@ -50,11 +50,11 @@ namespace CarManagerV3
|
||||
{
|
||||
try
|
||||
{
|
||||
//string directory = Path.GetDirectoryName(path);
|
||||
string directory = Path.GetDirectoryName(path);
|
||||
Console.WriteLine($"Initializing file and folders for path: {path}");
|
||||
if (!Directory.Exists(path))
|
||||
if (!Directory.Exists(directory))
|
||||
{
|
||||
Directory.CreateDirectory(path);
|
||||
Directory.CreateDirectory(directory);
|
||||
}
|
||||
if(!folderOnly) InitializeFile(path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user