Add installer message

This commit is contained in:
crschnick 2024-05-18 13:02:39 +00:00
parent 90e1b94944
commit 79d5dc370a

View file

@ -128,6 +128,7 @@ public class AppInstaller {
var command = String.format(
"""
function exec {
echo "Installing downloaded .deb installer ..."
echo "+ sudo apt install \\"%s\\""
DEBIAN_FRONTEND=noninteractive sudo apt-get install -qy "%s" || return 1
%s open || return 1
@ -154,6 +155,7 @@ public class AppInstaller {
var command = String.format(
"""
function exec {
echo "Installing downloaded .rpm installer ..."
echo "+ sudo rpm -U -v --force \\"%s\\""
sudo rpm -U -v --force "%s" || return 1
%s open || return 1
@ -180,6 +182,7 @@ public class AppInstaller {
var command = String.format(
"""
function exec {
echo "Installing downloaded .pkg installer ..."
echo "+ sudo installer -verboseR -allowUntrusted -pkg \\"%s\\" -target /"
sudo installer -verboseR -allowUntrusted -pkg "%s" -target / || return 1
%s open || return 1