node-native-win-utils 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-native-win-utils",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "author": "RynerNO",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/RynerNO/node-native-win-utils.git",
Binary file
@@ -38,7 +38,7 @@ Napi::Value CaptureWindow(const Napi::CallbackInfo &info)
38
38
  }
39
39
 
40
40
  // Init COM
41
- winrt::init_apartment(winrt::apartment_type::multi_threaded);
41
+ winrt::init_apartment(winrt::apartment_type::single_threaded);
42
42
 
43
43
  // Create Direct 3D Device
44
44
  winrt::com_ptr<ID3D11Device> d3dDevice;