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
echo -e "Please run '${RED}alias am=/opt/am/appman\033[0m' to made 'AM' act exactly like 'AppMan' for\nthe current session or save this command to your '"'~/.bashrc'"' file to make the\nchanges permanent. Visit ${LightBlue}https://github.com/ivan-hc/appman\033[0m for more!"
echo -e "Please run '${RED}alias am=/opt/am/appman\033[0m' to made 'AM' act exactly like 'AppMan' for\nthe current session or save this command to your '"'~/.bashrc'"' file to make the\nchanges permanent."
“AM” is provided as-is, and each line has been tested to work as it should, based on user feedback and needs, as well as the aesthetic and practical preferences of the developer who created it, who provided it to you, and who constantly maintains it to make it work at its best.
34
+
35
+
Unfortunately, many contributors in the past, by relying exclusively on the logic of software such as "Shellcheck", without first verifying that the code worked, have caused more harm than good, both to the software and to its main developer, who ended up having to rewrite everything from scratch, losing time, mental health and trust towards their collaborators who had committed the mess.
36
+
37
+
The priority of this project is only one: **"AM" must work and that's it!**
38
+
39
+
Not out of malice, but if you got here and you like "AM" and how it works, you liked the work that the main developer did for you.
40
+
41
+
If you intend to carry out a "sensible" refactoring that doesn't risk breaking everything as it has already happened, you are welcome. But at the slightest mistake, you will be rejected, no ifs or buts. You are warned. Further errors will no longer be tolerated in this project and will be seen as attempts at sabotage!
42
+
43
+
If you believe that something needs improvement, let us know, but it is better for the refactoring to be carried out by someone who already knows the commands he wrote. It is certainly the best way to prevent everything from breaking and avoid irreversible damage.
44
+
45
+
-----------------------------------------------
46
+
32
47
## Want to contribute to the Development Branch and test newer features?
Copy file name to clipboardExpand all lines: README.md
+17-6Lines changed: 17 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,13 +121,15 @@ For everything else, the controls and operation are always the same for both com
121
121
<details>
122
122
<summary></summary>
123
123
124
-
If you usa "AM" and have the needing of installing apps at system level and locally, use the option `--user` that allows you to create an alias to install and manage apps in your $HOME folder. When executing the `am --user` command you will be suggested an alias to use temporarily or if you want you can add it in your ~/.bashrc to make it permanent. "AppMan" will be used while still using the usual `am` command.
125
-
126
-
The `--user` option does not immediately enable "AppMan Mode", instead it will show you an alias to use temporarily in the current session or to add to your ~/.bashrc to make it permanent:
124
+
If you use "AM" and have the needing of installing apps at system level and locally, use the option `--user` that allows to run "AM" in "AppMan Mode":
125
+
```
126
+
am --user
127
+
```
128
+
To switch "AM" back to "AM" from "AppMan Mode", use the option `--system`:
127
129
```
128
-
alias am=/opt/am/appman
130
+
am --system
129
131
```
130
-
AppMan is downloaded to the AM's installation folder, but without affecting the existing installation.
132
+
To perform a test and see if you are in "AppMan Mode" or not, run for example the command `am -f` to see the list of the installed apps.
131
133
132
134
***NOTE: using AM with the `--user` option enabled and the alias for AppMan, "sudo" allows normal use of AM, absence allows use of AppMan.***
133
135
@@ -605,7 +607,16 @@ to have a list of the installed programs use the option `-f` or `files` (syntax
if [ !"$CURRENT_AM_VERSION"=="$($AMCLIPATH -v)" ] ;then
83
-
echo -ne ' A new release of "'"$(echo $AMCLI| tr a-z A-Z)"'" is available, please wait...\r'
84
-
echo -e ' ◆ "'"$(echo $AMCLI| tr a-z A-Z)"'" IS NOW UPDATED TO THE BRAND NEW '"$($AMCLIPATH -v)"' VERSION! \n\n Replacement of version '"$CURRENT_AM_VERSION"' currently in use, COMPLETED!'
82
+
if [ !"$CURRENT_AM_VERSION"=="$("$AMCLIPATH" -v)" ] ;then
83
+
echo -ne ' A new release of "'"$(echo "$AMCLI"| tr a-z A-Z)"'" is available, please wait...\r'
84
+
echo -e ' ◆ "'"$(echo "$AMCLI"| tr a-z A-Z)"'" IS NOW UPDATED TO THE BRAND NEW '"$("$AMCLIPATH" -v)"' VERSION! \n\n Replacement of version '"$CURRENT_AM_VERSION"' currently in use, COMPLETED!'
85
85
echo -e "\n See https://github.com/ivan-hc/AM/commits/main\n"
86
86
else
87
-
echo -e ' ◆ "'"$(echo $AMCLI| tr a-z A-Z)"'" IS ALREADY UPDATED, CURRENT VERSION '"$CURRENT_AM_VERSION"''
87
+
echo -e ' ◆ "'"$(echo "$AMCLI"| tr a-z A-Z)"'" IS ALREADY UPDATED, CURRENT VERSION '"$CURRENT_AM_VERSION"''
88
88
echo -e "\n See https://github.com/ivan-hc/AM/commits/$AMBRANCH\n"
0 commit comments