-
-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Hi,
in our project we are using XWT for Windows/Mac and Framework.
On Mac it under the hood operates on Mono
Unfortunately Mutex is not available there. See:
https://github.com/mono/mono/blob/6be3e701766af6e3971e5ba260ece1a3ab095c08/mcs/class/corlib/System.Threading/Mutex.cs#L183
Is there an option to rewrite code, to not use Mutex?
This method
velopack/src/Velopack/UpdateManager.cs
Line 229 in f8acc97
| using var _mut = AcquireUpdateLock(); |
System.NotSupportedException: Specified method is not supported.
at System.Threading.Mutex..ctor (System.Boolean initiallyOwned, System.String name, System.Boolean& createdNew) [0x00006] in <55335301af774faf8fc40779afb6f275>:0
at (wrapper remoting-invoke-with-check) System.Threading.Mutex..ctor(bool,string,bool&)
at Velopack.UpdateManager.AcquireUpdateLock () [0x00015] in <066f32c8dc0b43258461fe360bb30c54>:0
Works perfectly fine on Windows.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request