We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d62b5d commit 6a28513Copy full SHA for 6a28513
3 files changed
features.csv
@@ -31,3 +31,7 @@ Change Power Mode,yes,yes,yes,yes,yes,yes,yes,no,yes,?,yes,-,-,-,-,
31
Change user profile,yes,-,-,-,yes,-,yes,-,no,-,yes,yes,yes,yes,no,
32
hardinfo,yes,yes,yes,yes,yes,yes,yes,yes,yes,?,no *,-,-,-,-,*) Fedora does not package hardinfo anymore
33
redshift,yes,yes,yes,yes,yes,yes,yes,yes,yes,?,yes,yes,yes,yes,yes,
34
+makeCurrentUserToAdministrator,?,yes,yes,yes,yes,yes,yes,yes,yes,?,yes,-,-,-,-,
35
+setupSnapAndInstallSnapStore,?,yes,yes,yes,yes,yes,yes,yes,yes,no,yes,-,-,-,-,
36
+Commands in Searchbar,?,-,-,-,-,-,-,-,-,-,-,yes,yes,yes,yes,
37
+AutomaticRepairOfPackageManager,?,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,-,-,-,-,
lib/content/basic_entries.dart
@@ -175,7 +175,8 @@ List<ActionEntry> getBasicEntries(BuildContext context) {
175
),
176
disableEntryIf: () {
177
return Linux.currentenvironment.installedSoftwareManagers
178
- .contains(SOFTWARE_MANAGERS.SNAP);
+ .contains(SOFTWARE_MANAGERS.SNAP) ||
179
+ Linux.currentenvironment.distribution == DISTROS.OPENSUSE;
180
},
181
182
ActionEntry(
lib/services/linux.dart
@@ -2372,14 +2372,23 @@ class Linux {
2372
userId: 0,
2373
command: "/usr/bin/dnf install -y snapd",
2374
));
2375
- }
2376
- if (currentenvironment.installedSoftwareManagers
2377
- .contains(SOFTWARE_MANAGERS.ZYPPER)) {
2378
commandQueue.add(LinuxCommand(
2379
2380
- command: "/usr/bin/zypper install -y snapd",
+ command: "ln -s /var/lib/snapd/snap /snap",
+ ));
+ commandQueue.add(LinuxCommand(
+ userId: 0,
2381
+ command: "/usr/bin/snap install snapd",
2382
2383
}
2384
+ // openSUSE is a bit more complicated: https://snapcraft.io/install/snapd/opensuse
2385
+ // if (currentenvironment.installedSoftwareManagers
2386
+ // .contains(SOFTWARE_MANAGERS.ZYPPER)) {
2387
+ // commandQueue.add(LinuxCommand(
2388
+ // userId: 0,
2389
+ // command: "/usr/bin/zypper install -y snapd",
2390
+ // ));
2391
+ // }
2392
2393
2394
0 commit comments