From c41f0d90c44b6ecad723f7b14b62fcffd6ca3492 Mon Sep 17 00:00:00 2001 From: Shiipou Date: Mon, 28 Aug 2023 10:20:00 +0200 Subject: [PATCH] feat: add windows path (using git bash) (#8) --- clone | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clone b/clone index 47741ec..b6fb8ba 100755 --- a/clone +++ b/clone @@ -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