Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packaging/linux/querya-desktop.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Requires: gtk3 >= 3.22
Requires: libsecret >= 0.18
Requires: glib2 >= 2.56
Recommends: libappindicator-gtk3
Recommends: bubblewrap

%description
Multi-database desktop client for PostgreSQL, MySQL, Redis, MongoDB,
Expand Down
2 changes: 1 addition & 1 deletion scripts/linux/build_deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Architecture: ${ARCH}
Maintainer: QueryaHub <[email protected]>
Installed-Size: ${INSTALLED_SIZE}
Depends: libgtk-3-0, libsecret-1-0, libglib2.0-0
Recommends: libayatana-appindicator3-1
Recommends: libayatana-appindicator3-1, bubblewrap
Homepage: https://github.com/QueryaHub/Querya-Desktop
Description: Querya Desktop database client
Multi-database desktop client for PostgreSQL, MySQL, Redis, MongoDB,
Expand Down
8 changes: 8 additions & 0 deletions test/packaging/linux_maintainer_scripts_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,12 @@ void main() {
expect(spec.indexOf('%post\n'), lessThan(spec.indexOf('%files')));
expect(spec.indexOf('%files'), lessThan(spec.indexOf('%changelog')));
});

test('deb and rpm package definitions recommend bubblewrap for driver sandbox', () {
final debScript = File('scripts/linux/build_deb.sh').readAsStringSync();
expect(debScript, contains('Recommends: libayatana-appindicator3-1, bubblewrap'));

final spec = File('packaging/linux/querya-desktop.spec').readAsStringSync();
expect(spec, contains('Recommends: bubblewrap'));
});
}
Loading