@@ -990,12 +990,7 @@ cbm_detected_agents_t cbm_detect_agents(const char *home_dir) {
990990#ifdef __APPLE__
991991 snprintf (path , sizeof (path ), "%s/Library/Application Support/Zed" , home_dir );
992992#elif defined(_WIN32 )
993- {
994- const char * zed_local = cbm_app_local_dir ();
995- if (zed_local ) {
996- snprintf (path , sizeof (path ), "%s/Zed" , zed_local );
997- }
998- }
993+ snprintf (path , sizeof (path ), "%s/AppData/Local/Zed" , home_dir );
999994#else
1000995 snprintf (path , sizeof (path ), "%s/.config/zed" , home_dir );
1001996#endif
@@ -1014,13 +1009,18 @@ cbm_detected_agents_t cbm_detect_agents(const char *home_dir) {
10141009#ifdef __APPLE__
10151010 snprintf (path , sizeof (path ),
10161011 "%s/Library/Application Support/Code/User/globalStorage/kilocode.kilo-code" , home_dir );
1012+ #elif defined(_WIN32 )
1013+ snprintf (path , sizeof (path ), "%s/AppData/Roaming/Code/User/globalStorage/kilocode.kilo-code" ,
1014+ home_dir );
10171015#else
10181016 snprintf (path , sizeof (path ), "%s/.config/Code/User/globalStorage/kilocode.kilo-code" , home_dir );
10191017#endif
10201018 agents .kilocode = dir_exists (path );
10211019
10221020#ifdef __APPLE__
10231021 snprintf (path , sizeof (path ), "%s/Library/Application Support/Code/User" , home_dir );
1022+ #elif defined(_WIN32 )
1023+ snprintf (path , sizeof (path ), "%s/AppData/Roaming/Code/User" , home_dir );
10241024#else
10251025 snprintf (path , sizeof (path ), "%s/.config/Code/User" , home_dir );
10261026#endif
0 commit comments