Skip to content

Commit

Permalink
New build
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianTM committed Jun 12, 2024
1 parent da58e14 commit feda66e
Show file tree
Hide file tree
Showing 45 changed files with 5,269 additions and 5,260 deletions.
3 changes: 2 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
mx-packageinstaller (24.6) mx; urgency=medium
mx-packageinstaller (24.6.01) mx; urgency=medium

* Fix: changing flatpak repo from the combo box
* Add flatpak-verified repo

-- Adrian <[email protected]> Wed, 12 Jun 2024 11:15:41 -0400

Expand Down
32 changes: 32 additions & 0 deletions debs/mx-packageinstaller_24.6.01.dsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 3.0 (native)
Source: mx-packageinstaller
Binary: mx-packageinstaller
Architecture: any
Version: 24.6.01
Maintainer: Adrian <[email protected]>
Standards-Version: 3.9.8
Vcs-Git: git://github.com/AdrianTM/mx-packageinstaller
Build-Depends: debhelper (>= 10), qtbase5-dev, qttools5-dev-tools
Package-List:
mx-packageinstaller deb admin optional arch=any
Checksums-Sha1:
5b1042201dc262993598e8f148358ee0605e9b4b 304448 mx-packageinstaller_24.6.01.tar.xz
Checksums-Sha256:
abeb9a8736e78c3a440b85451a4c6efe3ecc43ae508668c0a8355b62a769564f 304448 mx-packageinstaller_24.6.01.tar.xz
Files:
1c729c22c61443fe18bc4750c73848cd 304448 mx-packageinstaller_24.6.01.tar.xz

-----BEGIN PGP SIGNATURE-----

iQFHBAEBCgAxFiEE8ndToY6S45N+YzXncJOMeAZ57pgFAmZpwYYTHGFkcmlhbkBt
eGxpbnV4Lm9yZwAKCRBwk4x4BnnumOugB/9H2PaUszogpMSQmBbrNvudf8G1+3zi
Q3jLoESSCAN4iJ2vw+BUHpgU4ofW7/iULsWkvf2+jIGUd2CEjCy9nZPi4ro3/SnQ
g47qQvBkmwDOyNkNrg8LSqUwPySHFp7vz9fbAI37p3B/xk0Ggexrrys+DPGEachJ
PrQe2g+r7alQrgMWUF3Gn0Bhn79i67AJYX3tElf2ZRm0xd5JH3T84dDIzp5MMMCA
7//z8+eEyZs3lIaDTWqDmprqkm0kBwC4jKdQ4ZLD0SPMa2ntcV39KsFjAWsq7zuR
zJDzZycgQfXT40fBNdVReygJjZ/JRbY558QqGKwX+JIPEHBGcZy/jwbx
=F/k9
-----END PGP SIGNATURE-----
Binary file added debs/mx-packageinstaller_24.6.01.tar.xz
Binary file not shown.
32 changes: 0 additions & 32 deletions debs/mx-packageinstaller_24.6.dsc

This file was deleted.

Binary file removed debs/mx-packageinstaller_24.6.tar.xz
Binary file not shown.
10 changes: 9 additions & 1 deletion mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,14 @@ MainWindow::MainWindow(const QCommandLineParser &arg_parser, QWidget *parent)
displayPackages();
}
if (arch != "i386" && checkInstalled("flatpak")) {
if (!Cmd().run("flatpak remote-list --columns=name | grep -q flathub", true)) {
if (!Cmd().run("flatpak remote-list --columns=name | grep -qw flathub", true)) {
Cmd().runAsRoot(
"flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo");
}
if (!Cmd().run("flatpak remote-list --columns=name | grep -qw flathub-verified", true)) {
Cmd().runAsRoot("flatpak remote-add --if-not-exists --subset=verified flathub-verified "
"https://flathub.org/repo/flathub.flatpakrepo");
}
displayFlatpaks();
}
});
Expand Down Expand Up @@ -2564,6 +2568,8 @@ void MainWindow::on_tabWidget_currentChanged(int index)
}
fp_ver = getVersion("flatpak");
Cmd().runAsRoot("flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo");
Cmd().runAsRoot("flatpak remote-add --if-not-exists --subset=verified flathub-verified "
"https://flathub.org/repo/flathub.flatpakrepo");
enableOutput();
listFlatpakRemotes();
if (displayFlatpaksIsRunning) {
Expand Down Expand Up @@ -2993,6 +2999,8 @@ void MainWindow::on_comboUser_activated(int index)
setCursor(QCursor(Qt::BusyCursor));
enableOutput();
cmd.run("flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo");
cmd.run("flatpak --user remote-add --if-not-exists --subset=verified flathub-verified "
"https://flathub.org/repo/flathub.flatpakrepo");
if (fp_ver >= VersionNumber("1.2.4")) {
cmd.run("flatpak update --appstream");
}
Expand Down
Loading

0 comments on commit feda66e

Please sign in to comment.