- (Fix) GCode: Improve the regex for parsing layer index from comments, also fixes chitubox zip format layer parsing
- (Fix) MacOS: Auto updater was not copying the files to the right location, leading to not upgrade the program. However this version still need to update manually
This commit is contained in:
Tiago Conceição
2022-08-19 03:26:05 +01:00
parent 57f077f444
commit f7d989d29f
9 changed files with 27 additions and 21 deletions
+1 -1
View File
@@ -309,7 +309,7 @@ public static class SystemAware
/// <summary>
/// Gets if is running under MacOS and under app format
/// </summary>
public static bool IsRunningMacOSApp => OperatingSystem.IsMacOS() && AppContext.BaseDirectory.EndsWith(".app/Contents/MacOS");
public static bool IsRunningMacOSApp => OperatingSystem.IsMacOS() && AppContext.BaseDirectory.EndsWith(Path.Combine(".app", "Contents", $"MacOS{Path.DirectorySeparatorChar}"));
/// <summary>
/// Gets the main name of the operative system