basalt-win32 0.2.4 → 0.2.5

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.
@@ -2114,8 +2114,9 @@ HostWindow *createHostWindow(facebook::react::SurfaceId surfaceId,
2114
2114
  }
2115
2115
 
2116
2116
  bool createWindow() {
2117
- return createHostWindow(kSurfaceId, L"basalt-core \x2014 Windows", kInitialWidth,
2118
- kInitialHeight) != nullptr;
2117
+ const std::wstring title = basalt::win32::widen(
2118
+ basalt::titleFor(basalt::appIdentity(gHost.bundlePath), "basalt-core \xE2\x80\x94 Windows"));
2119
+ return createHostWindow(kSurfaceId, title.c_str(), kInitialWidth, kInitialHeight) != nullptr;
2119
2120
  }
2120
2121
 
2121
2122
  } // namespace
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "basalt-win32",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "The Windows view layer for basalt-core: a Win32 and Direct2D view layer, a Fabric mounting manager, and a host. Everything behind them is in basalt-core.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -22,6 +22,6 @@
22
22
  "react-native": "*"
23
23
  },
24
24
  "dependencies": {
25
- "basalt-core": "0.2.4"
25
+ "basalt-core": "0.2.5"
26
26
  }
27
27
  }