Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"AM" 9.4.1 #1252

Merged
merged 5 commits into from
Dec 24, 2024
Merged

"AM" 9.4.1 #1252

merged 5 commits into from
Dec 24, 2024

Conversation

ivan-hc
Copy link
Owner

@ivan-hc ivan-hc commented Dec 24, 2024

Allow usage of third party databases by exporting variables

Apps database in use

[ -z "$APPSDB" ] && APPSDB="$AMREPO/programs/$ARCH"
[ -z "$APPSLISTDB" ] && APPSLISTDB="$AMREPO/programs/$ARCH-apps"

Determine catalogue in use

[ -z "$AMCATALOGUEMARKDOWNS" ] && export AMCATALOGUEMARKDOWNS="https://portable-linux-apps.github.io/apps"
[ -z "$AMCATALOGUEICONS" ] && export AMCATALOGUEICONS="https://portable-linux-apps.github.io/icons"

To determine alternative sources, its enough to "export" the above variables

export APPSDB="https://url-to-site.something"
export APPSLISTDB="https://url-to-site.something/list.txt"

catalogues are optional, you may not have description or URL btw

export AMCATALOGUEMARKDOWNS="https://url-to-site.something/markdown-files/file.md"

you can leave the url to icons as is, but if you have a better source, consider that what you install apps, the icon must have the same name of the argument

export AMCATALOGUEICONS="https://url-to-site.something/app.png"

Finally, if you still want to use the main CLI of AM, you can prevent updating AM and modulesfrom a different path

export AMSYNC=1

so you can keep AM and its modules as they are, without updates.

ivan-hc and others added 5 commits December 24, 2024 13:24
Allow usage of custom databases via environment variables
Fix generic source when alternative catalogue is selected
use parameter substitution
@ivan-hc ivan-hc merged commit b6ab149 into main Dec 24, 2024
@ivan-hc ivan-hc deleted the dev branch December 24, 2024 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants