Skip to content

Commit

Permalink
fix: linux: auto-update broken
Browse files Browse the repository at this point in the history
  • Loading branch information
alexVinarskis committed Feb 8, 2025
1 parent 6031593 commit 27dbcb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/classes/ota_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class OtaManager {
break;
}
} else {
String arch = (await _shell.run('dpkg --print-architecture'))[0].stdout.toString();
String arch = (await _shell.run('dpkg --print-architecture'))[0].stdout.toString().trim();
if (asset[Constants.githubApiFieldBrowserDownloadUrl]
.toString()
.endsWith('.deb') &&
Expand Down

0 comments on commit 27dbcb9

Please sign in to comment.