mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-09 01:52:32 +02:00
v3.6.1
- (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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user