Skip to content

Commit 26c5cd6

Browse files
committed
extend search paths for app version on Linux systems
fixes github.com//issues/3398
1 parent 8983e11 commit 26c5cd6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/others/about_us_version_resolver.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Future<String> _loadLinuxBundleVersion({
5757
final candidatePaths = <String>[
5858
'${executableParent.path}/data/flutter_assets/version.json',
5959
'${executableParent.parent.path}/share/pslab/flutter_assets/version.json',
60+
'/usr/share/pslab/flutter_assets/version.json',
6061
];
6162

6263
for (final candidatePath in candidatePaths) {

0 commit comments

Comments
 (0)