You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/learn/sidecar-nodejs.mdx
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,14 +105,14 @@ Without the plugin being initialized and configured the example won't work.
105
105
```json title="sidecar-app/package.json"
106
106
{
107
107
"scripts": {
108
-
"build": "pkg index.ts --output app"
108
+
"build": "pkg index.ts --output my-sidecar"
109
109
}
110
110
}
111
111
```
112
112
113
113
<CommandTabsnpm="npm run build"yarn="yarn build"pnpm="pnpm build" />
114
114
115
-
This will create the `sidecar-app/app` binary on Linux and macOS, and a `sidecar-app/app.exe` executable on Windows.
115
+
This will create the `sidecar-app/my-sidecar` binary on Linux and macOS, and a `sidecar-app/my-sidecar.exe` executable on Windows.
116
116
117
117
For sidecar applications, we need to ensure that the binary is named in the correct pattern, for more information read [Embedding External Binaries](https://tauri.app/develop/sidecar/)
118
118
To rename this file to the expected Tauri sidecar filename and also move to our Tauri project, we can use the following Node.js script as a starting example:
@@ -130,8 +130,8 @@ Without the plugin being initialized and configured the example won't work.
0 commit comments