mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 09:00:26 +00:00
Add installer message
This commit is contained in:
parent
90e1b94944
commit
79d5dc370a
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue