-
|
Is there a simple way to run am inside a script? I tried running it with I'm trying to use it to install apps via pyinfra or even embed/call am from another bash script: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Lines 329 to 336 in a653b79 about using it in other scripts, of course you can do it. But use directly the command, without I'm not good in Python, but I use AM in shell script for my workflows, like this below (see the But if you need to run AM without root prvileges, just use AppMan instead. |
Beta Was this translation helpful? Give feedback.
sudo/doasusage is already built inAM/APP-MANAGER
Lines 329 to 336 in a653b79
about using it in other scripts, of course you can do it. But use directly the command, without
sudo/doas.I'm not good in Python, but I use AM in shell script for my workflows, like this below (see the
am -ireferences)https://github.com/ivan-hc/amcheck/blob/9a7785af620b5930328dcf67c1d734c9926c7a45/.github/workflows/AMCHECK.yml#L353-L395
But if you need to run AM without root prvi…