Skip to content

Commit 489894f

Browse files
committed
better id calculation
1 parent 7fdbca2 commit 489894f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/UniGetUI/Services/GitHubBackupService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ public class GitHubBackupService
2727
public GitHubBackupService(GitHubAuthService authService)
2828
{
2929
_authService = authService;
30-
DeviceUserUniqueIdentifier = $"{Environment.MachineName}\\{Environment.UserName}";
31-
GistFileKey = $"{DeviceUserUniqueIdentifier}";
30+
DeviceUserUniqueIdentifier = $"{Environment.MachineName}\\{Environment.UserName}".Replace(" ", "");
31+
GistFileKey = $"PACKAGES {DeviceUserUniqueIdentifier}";
3232
}
3333

3434
private async Task<GitHubClient?> CreateClientAsync()

0 commit comments

Comments
 (0)