We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3ab184 commit fadf09fCopy full SHA for fadf09f
apothecary/apothecary
@@ -672,7 +672,11 @@ if [ "$TYPE" = "vs" ]; then
672
if [ "${VS_VER}" = "17" ] || [ "${VS_VER}" = "18" ]; then
673
# VS 2022 / 2026+ → under Program Files\
674
BASE_DIR="${DRIVE}/Program Files/Microsoft Visual Studio"
675
- YEAR_PATH="${VS_VER}" # We'll use 2022 or 18 directly for folder name
+ if [ "${VS_VER}" = "17" ]; then
676
+ YEAR_PATH="2022"
677
+ else
678
+ YEAR_PATH="${VS_VER}" #18 for 2026+
679
+ fi
680
elif [ "${VS_VER}" = "15" ]; then
681
BASE_DIR="${DRIVE}/Program Files (x86)/Microsoft Visual Studio"
682
YEAR_PATH="2017"
0 commit comments