From 475ab4119b43a89b638979e254f261ac58498899 Mon Sep 17 00:00:00 2001 From: Chubby Granny Chaser Date: Mon, 12 May 2025 12:55:55 +0100 Subject: [PATCH] fix: removing replace from transformation --- src/main/services/cloud-sync.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/services/cloud-sync.ts b/src/main/services/cloud-sync.ts index 79ec2756..1717da6c 100644 --- a/src/main/services/cloud-sync.ts +++ b/src/main/services/cloud-sync.ts @@ -41,7 +41,7 @@ export class CloudSync { const userProfile = String(values["USERPROFILE"]); if (userProfile) { - return normalizePath(userProfile.replace("C:", "drive_c")); + return normalizePath(userProfile); } else { throw new Error("User profile not found in user.reg"); }