rescript-relay 0.0.0-windows-96019f80 → 0.0.0-windows-9ba3fe9e

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": "rescript-relay",
3
- "version": "0.0.0-windows-96019f80",
3
+ "version": "0.0.0-windows-9ba3fe9e",
4
4
  "main": "src/RescriptRelay.res",
5
5
  "license": "MIT",
6
6
  "author": "Gabriel Nordeborn",
package/postinstall.js CHANGED
@@ -109,11 +109,13 @@ function copyPlatformBinaries(platform) {
109
109
  * Copy the Relay compiler
110
110
  */
111
111
 
112
+ var platformSuffix = getRelayCompilerPlatformSuffix();
113
+
112
114
  fs.copyFileSync(
113
115
  path.join(
114
116
  __dirname,
115
- "relay-compiler-" + getRelayCompilerPlatformSuffix(),
116
- "relay"
117
+ "relay-compiler-" + platformSuffix,
118
+ platformSuffix === "win-x64" ? "relay.exe" : "relay"
117
119
  ),
118
120
  path.join(__dirname, "rescript-relay-compiler.exe")
119
121
  );
Binary file
Binary file