Repository navigation
|
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: |
Answered by
ivan-hc
Mar 10, 2026
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. |
1 reply
Answer selected by
micmejia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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…