Skip to content

Commit

Permalink
fix exec bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cordx56 committed Nov 7, 2024
1 parent 6666406 commit fc54b71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: yes | yarn build
working-directory: ./rustowl-vscode
- name: Create server zip
run: zip rustowl-server.zip ./rustowl-server/**/*
run: zip rustowl-server.zip ./rustowl-server/** ./rustowl-server/**/*
- name: Release
uses: softprops/action-gh-release@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions rustowl-vscode/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ export function activate(context: vscode.ExtensionContext) {
}
}
vscode.window.showInformationMessage("Installing rustowl-server");
let installProcess = spawn("./install.sh", {
let installProcess = spawn("bash", ["install.sh"], {
cwd: storagePath,
});
installProcess.on("exit", (code) => {
if (code === 0) {
serverProcess = spawn("./install.sh", ["run"], {
serverProcess = spawn("bash", ["install.sh", "run"], {
cwd: storagePath,
});
vscode.window.showInformationMessage("rustowl-server started");
Expand Down

0 comments on commit fc54b71

Please sign in to comment.