Skip to content

Commit

Permalink
feat: add windows path (using git bash) (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiipou committed Aug 28, 2023
1 parent a5456cf commit c41f0d9
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 @@ -24,6 +24,8 @@ fi
regex="^(http|https|git)(:\/\/|@)([^\/:]+)[\/:]([^\/:]+)\/(.+)(.git)?$"
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"
else
PROJECTS_FILE="$HOME/.config/Code/User/globalStorage/alefragnani.project-manager/projects.json"
fi
Expand Down

0 comments on commit c41f0d9

Please sign in to comment.