Skip to content

Commit

Permalink
small fix for flatpak
Browse files Browse the repository at this point in the history
  • Loading branch information
insign committed May 29, 2023
1 parent f06c858 commit bbd3940
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## v0.66.0
- small fix for flatpak
## v0.65.0
- small fix for flatpak
## v0.64.0
Expand Down
2 changes: 2 additions & 0 deletions lib/os/prepare.dart
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ class Prepare {
final String? bestFlatpak = flatpak;

if (hasMethod && bestFlatpak != null) {
Global.updateCommand =
"${Global.sudoPath} $bestFlatpak -y --noninteractive remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo";
return '${to}_flatpak "${Global.sudoPath} $bestFlatpak -y --noninteractive"';
}

Expand Down
2 changes: 1 addition & 1 deletion lib/pubspec.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const name = 'xpm';
const description =
'Universal package manager for any unix-like distro including macOS. Also experimental Windows support.';
const version = '0.65.0';
const version = '0.66.0';
const homepage = 'https://xpm.link';
const repository = 'https://github.com/verseles/xpm';
const executables = '{xpm: null}';
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: xpm
description: Universal package manager for any unix-like distro including macOS. Also experimental Windows support.
version: 0.65.0
version: 0.66.0
homepage: https://xpm.link
repository: https://github.com/verseles/xpm
executables:
Expand Down

0 comments on commit bbd3940

Please sign in to comment.