Skip to content

Commit

Permalink
fix(postinst/admin): update vscode version check (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornplusplus authored Nov 24, 2024
1 parent 114e949 commit 0f130c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postinst/admin/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ check_sublime_text() {
check_vscode() {
local version cmd="code"
echo -n "Checking $cmd ($(which $cmd))... "
version="$($cmd --version | grep -Po "^\d+\.\d+\.\d+$")"
version="$($cmd --version --no-sandbox --user-data-dir /tmp | grep -Po "^\d+\.\d+\.\d+$")"
check_version "$version" "1.94.2"
}

Expand Down

0 comments on commit 0f130c5

Please sign in to comment.