You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[How to replace AM database](#how-to-replace-am-database)
50
51
51
52
[How to update all programs, for real!](#how-to-update-all-programs-for-real)
52
53
-[How to update all installed apps](#how-to-update-all-installed-apps)
@@ -229,6 +230,22 @@ Third-party databases can show basic information normally with the option `-a` o
229
230
230
231
Same thing, you can use `am -i {PROGRAM}.toolpack` or `am -i --user {PROGRAM}.toolpack` to install the program without using the flag.
231
232
233
+
#### How to replace AM database
234
+
One thing I care a lot about is **continuity**, and as I have seen over the years, not all open source developers are able to maintain a project. This could happen to me in the future. I don't want it to be that way.
235
+
236
+
Because of this, I have made some essential variables "customizable":
237
+
-`APPSDB`, i.e. the "raw" directory of the architecture in use, containing the installation scripts (default value *https://raw.githubusercontent.com/ivan-hc/AM/main/programs/$ARCH*), this is mainly used in `-i`, `-d` and `-s`/`-u`
238
+
-`APPSDBLIST`, i.e. the list of applications available for that architecture (default value *https://raw.githubusercontent.com/ivan-hc/AM/main/$ARCH-apps*), this is used every time lists are updated, for example in `-l`, `-q` and `-s`/`-u`
239
+
-`AMCATALOGUEMARKDOWNS`, i.e. the pages in .md format from the catalog of applications available in this database (default value *https://portable-linux-apps.github.io/apps*), this is used in `-a`
240
+
-`AMCATALOGUEICONS`, i.e. the icons in .png format available in the catalog of applications available in this database (default value *https://portable-linux-apps.github.io/icons*), this is used in `-i`, in case the installation script fails to get an icon for the application
241
+
-`AMSYNC`, if set to "1" prevents AM from updating itself and updating modules when running `-s` or `-u`
242
+
243
+
it is enough to `export` the variables above and respect the destination file format (follow the URLs in parentheses) in case you decide to open a new community-driven database that can make up for the lack of support in this repository.
244
+
245
+
I did this to not tie users to this database and to allow them to use AM and all its features if I, Ivan, am unable to intervene for any reason.
246
+
247
+
There are many discontinuous projects. Should this become one too, it will not be obsolete.
0 commit comments