02-11-2021, 03:58 PM
(02-11-2021, 11:01 AM)kqlnut Wrote:(02-11-2021, 08:48 AM)arno_nuehm Wrote:Great, thank you very much! In your script, every step is run regardless if it's an update or a new installation. Not sure if it would take a long time again to redo the whole npm part? Maybe do a quick and dirty check first if the build folder is present (so if Axolotl has been built before and thus npm has been installed) or check more thoroughly for the prerequisites and then only run the neccessary steps.(02-11-2021, 04:05 AM)kqlnut Wrote:(02-11-2021, 03:54 AM)arno_nuehm Wrote:I did update just now by going into the axolotl folder, running "git pull", "go get -u" and then rebuilding with the last two steps in your instructions. The app runs fine and shows the updated version. But I'm not sure if I correctly updated the dependencies with these steps ... Updates for stuff like textsecure v1.2.13 showed up, but I don't know if that's enough to have it all in the right place.(02-11-2021, 03:29 AM)kqlnut Wrote: What's the proper way to update Axolotl once you have it installed? "git pull", "go get -u", and then rebuild with the last two steps from the installation tutorial? I don't know how go works, but it would be cool to know how to update the app including the dependencies without redoing the whole procedure.
That is a good question. I usually rename the ~/home/go folder, since it is only used for Axolotl in my case and then redo every step - which is awfully inconvenient.
But I will dig into it later!
Cheers
The update works with
Code:go get -d -u
followed by all other steps. It takes round about two minutes to update. Comfortable.
I wrote an experimental install script, which should be able to update:
https://github.com/nuehm-arno/axolotl-mobian-installer
Please have a look and try it, if you like. And feel free to give me some feedback.
Good ideas, thanks.
There will be a v1.3 of the script soon with some pre-checking and stop-on-fail parts.