Skip to content

Commit

Permalink
feat: Allow wsl exec to update host project file (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiipou authored Aug 28, 2023
1 parent c41f0d9 commit 3d23ba0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clone
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
PROJECTS_FILE="$HOME/Library/Application Support/Code/User/globalStorage/alefragnani.project-manager/projects.json"
elif [[ "$OSTYPE" == "msys" ]]; then
PROJECTS_FILE="/c/Users/$USERNAME/AppData/Roaming/Code/User/globalStorage/alefragnani.project-manager/projects.json"
elif [[ $(grep -i microsoft /proc/version) ]]; then
PROJECTS_FILE="/mnt/c/Users/$USER/AppData/Roaming/Code/User/globalStorage/alefragnani.project-manager/projects.json"
else
PROJECTS_FILE="$HOME/.config/Code/User/globalStorage/alefragnani.project-manager/projects.json"
fi
Expand Down

0 comments on commit 3d23ba0

Please sign in to comment.