Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion npm/app/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function getExePath(): string {

try {
// Since the binary will be located inside `node_modules`, we can simply call `require.resolve`
return require.resolve(`rotel-${os}-${arch}/bin/rotel-agent`);
return require.resolve(`@streamfold/rotel-${os}-${arch}/bin/rotel-agent`);
} catch (e) {
throw new Error(
`Couldn't find application binary inside node_modules for ${os}-${arch}`
Expand Down
8 changes: 4 additions & 4 deletions npm/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamfold/rotel",
"version": "0.0.3-alpha",
"version": "0.0.4-alpha",
"bin": "lib/index.js",
"scripts": {
"typecheck": "tsc --noEmit",
Expand Down Expand Up @@ -39,9 +39,9 @@
"typescript": "^4.9.4"
},
"optionalDependencies": {
"@streamfold/rotel-darwin-arm64": "0.0.3-alpha",
"@streamfold/rotel-linux-arm64": "0.0.3-alpha",
"@streamfold/rotel-linux-x64": "0.0.3-alpha"
"@streamfold/rotel-darwin-arm64": "0.0.4-alpha",
"@streamfold/rotel-linux-arm64": "0.0.4-alpha",
"@streamfold/rotel-linux-x64": "0.0.4-alpha"
},
"eslintConfig": {
"extends": [
Expand Down
2 changes: 1 addition & 1 deletion npm/app/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function getExePath() {

try {
// Since the binary will be located inside `node_modules`, we can simply call `require.resolve`
return require.resolve(`rotel-${os}-${arch}/bin/rotel-agent`);
return require.resolve(`@streamfold/rotel-${os}-${arch}/bin/rotel-agent`);
} catch (e) {
throw new Error(
`Couldn't find application binary inside node_modules for ${os}-${arch}`
Expand Down
Loading