From 189641907b3a3f15520d1103195ed36a74e9e658 Mon Sep 17 00:00:00 2001 From: Jonathan Berube Date: Wed, 25 Jan 2023 23:31:50 +0000 Subject: [PATCH] Fixes codespaces * Uses sudo * Adjusts nsis folder permissions to current user --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index b1b518a..654ba4f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -5,7 +5,7 @@ }, "waitFor": "onCreateCommand", "updateContentCommand": "npm ci && npm run build && npm run test", - "postCreateCommand": "apt update && apt install -y nsis nsis-pluginapi", + "postCreateCommand": "sudo apt update && sudo apt install -y nsis nsis-pluginapi && sudo chown -R node:node /usr/share/nsis/", "customizations": { "codespaces": { "openFiles": []