dx: create symlink on every execution (#8568)

Symlink is not created on first setup.
This commit is contained in:
vinnichase
2024-01-30 18:41:18 +01:00
committed by GitHub
parent ca801a35fe
commit 0aba51230c

View File

@@ -59,13 +59,11 @@ update_repo_if_needed() {
done
printf "Zig was updated to ${zig_version}. Please commit new files."
# symlink extracted zig to extracted zig.exe
# TODO: Workaround for https://github.com/ziglang/vscode-zig/issues/164
ln -sf "${extract_at}/zig" "${extract_at}/zig.exe"
chmod +x "${extract_at}/zig.exe"
fi
# symlink extracted zig to extracted zig.exe
# TODO: Workaround for https://github.com/ziglang/vscode-zig/issues/164
ln -sf "${extract_at}/zig" "${extract_at}/zig.exe"
chmod +x "${extract_at}/zig.exe"
}
if [ -e "${extract_at}/.version" ]; then