File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 8181(allow system-socket)
8282(allow network-outbound
8383 (path "/private/var/run/mDNSResponder")
84- (remote tcp4 "*:80")
8584 (remote tcp4 "*:443")
8685 (remote tcp4 "*:3128")
8786)
Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ NODE_VERSION="$(cat .nvmrc)"
1919NODE_NAME=" node-v$NODE_VERSION -darwin-x64"
2020NODE_ARCHIVE=" $NODE_NAME .tar.gz"
2121ARTIFACTS=" $PWD /.vscode-test"
22- VSCODE_SETTINGS=" $ARTIFACTS /user-data/User/settings.json"
22+ USER_DATA=" $PWD /ud"
23+ VSCODE_SETTINGS=" $USER_DATA /User/settings.json"
2324LSP_SETTINGS=" $HOME /.sourcekit-lsp/config.json"
2425
2526export TMPDIR=" $ARTIFACTS /tmp"
@@ -30,6 +31,7 @@ function cleanup {
3031 rm " $NODE_ARCHIVE "
3132 rm -rf " $ARTIFACTS "
3233 rm -rf " $LSP_SETTINGS "
34+ rm -rf " $USER_DATA "
3335}
3436trap " cleanup" EXIT
3537
@@ -50,11 +52,7 @@ PATH="$ARTIFACTS/$NODE_NAME/bin:$PATH"
5052mkdir -p " $( dirname " $VSCODE_SETTINGS " ) "
5153cat << EOT > "$VSCODE_SETTINGS "
5254{
53- "swift.buildArguments": [
54- "--disable-sandbox",
55- "-Xswiftc",
56- "-disable-sandbox"
57- ]
55+ "swift.disableSandbox": true
5856}
5957EOT
6058
You can’t perform that action at this time.
0 commit comments