Skip to content

Commit

Permalink
Add tuxpusher
Browse files Browse the repository at this point in the history
  • Loading branch information
rugyada committed Jan 17, 2023
1 parent a6c2a27 commit 3776882
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
6 changes: 5 additions & 1 deletion usr/share/oma-welcome/apps-kids.sh.htm
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,12 @@
<p><a class="title" target="hidden" href=./apps/install-puzzlejigsaw.run><img src="images/puzzlejigsaw.svg" class="alignleft"/>
<span><a class="title" target="hidden" href=./apps/install-puzzlejigsaw.run>$titlepuzzlejigsaw</a></span><br/>$descpuzzlejigsaw</br></p>
</li>
<li>
<p><a class="title" target="hidden" href=./apps/install-tuxpusher.run><img src="images/tuxpusher.png" class="alignleft"/>
<span><a class="title" target="hidden" href=./apps/install-tuxpusher.run>$titletuxpusher</a></span><br/>$desctuxpusher</p>
</li>
</ul>
</div>
</div>
<div id="rodape">
<a href="community.sh.htm" class="button">$next</a>
</div>
Expand Down
15 changes: 15 additions & 0 deletions usr/share/oma-welcome/apps/install-tuxpusher.run
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
if which tuxpusher &>/dev/null; then
kdialog --title $"OpenMandriva" --msgbox $"TuxPusher is already installed."
else
APP=$"TuxPusher"
DB=$(kdialog --title $"OpenMandriva" --progressbar $"Installing $APP" 0)
qdbus $DB org.kde.kdialog.ProgressDialog.showCancelButton false
pkexec dnf install --assumeyes tuxpusher
qdbus $DB org.kde.kdialog.ProgressDialog.close
if which tuxpusher &>/dev/null; then
kdialog --title $"OpenMandriva" --msgbox $"Installation succeeded."
else
kdialog --title $"OpenMandriva" --msgbox $"Installation failed."
fi
fi
Binary file added usr/share/oma-welcome/images/tuxpusher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions usr/share/oma-welcome/translation
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ titleblinken=$"Blinken"
descblinken=$"Follow the pattern of sounds and lights as long as you can"
titleklettres=$"KLettres"
descklettres=$"Language learning program"
titletuxpusher=$"TuxPusher"
desctuxpusher=$"A Tux themed 3D coin pusher game"

#translations of apps-gaming.sh.htm
titlekvpnc=$"KVPNc"
Expand Down

0 comments on commit 3776882

Please sign in to comment.