Conversation
|
I added this:
Which will only send the notification if there is no *.zsync file. because those apps with zsync always update themselves every time. And the libreoffice update script didn't have such notification @ivan-hc EDIT: These changes can be merged now, but I haven't been able to fix the |
|
I've solved the --rollback thing! Strange fact, it seems that the brave-appimage .zsync file is broken. Also I receive the notify about "zsync failed to update brave-appimage". I was not aware about notify on "zsync" action... thanks... but the above is really strange. Can you create and test installing/updating brave-appimage? I use this version in the script: |
Heh, is that really strange at this point? 😆 I already use the |
|
try both the new script with your new template and manually |
|
PS: the notification about "update not needed" is.... not needed. Really. Why you should receive a notification for that? |
I am getting this: And yeah right now one of my CPU cores is at 100% while it is going thru that, it will then fail.
We talked about this before. It is very useful when I'm testing the AM-updater script manually. |
|
In the meantime what can be done is comment out the line that downloads the zsync file (line 17) and since the updater will no longer download the zsync file if it doesn't exist, that is all that needs to be done. |
as a developer, I understand... but what about common users? I suggest to comment that reference and uncomment it manually when you're testing. Not anyone care about all these notifications. |
Wasn't part of AM that the scripts could be run on their own without needing AM or appman? That notification is very useful in that case for common users as well. On the other hand I don't like the notification that gets send when there is an update, because I already showed you the video of what happens when multiple apps update. Is the last echo causing an issue that didn't exist before? I didn't implement that either. |
|
I think that as a normal user, I'm only interested in knowing "via notification" if something has been updated, otherwise I'm not interested. I don't care if "update not needed". Its an additional message. On the contrary, its useful what you added about broken zsync file error... and app updated is an useful info as well. Not "update not needed". |
Once again that was always part of the updater scripts (here is part of the librewolf script): It used to be a condition that if Later on when I wanted to add the I don't know why you now want to remove it. |
|
sorry, its really strange... but before I received the message "Update not needed!" as notification on the desktop, as it was launched with Now this is not happening anymore, in my tests 👀 Why all this?? |
Are you sure you are not confusing the You were not getting |
|
However, I'm testing the --rollback using the new AM-updater. This is the one of brave-appimage (after and this is the AM-rollback file. It works... but... I don't know how: in brief, all version0 references are commented, also I noticed that the line that contains |
you're right, it was a decline in vision that distracted me |
|
What are you trying to achieve in the second script? that it doesn't update? The condition |
The AM-rollback script is a script generated automatically by copying and patching the AM-updater, this happens with Right now I'm working on the function that takes care of this. This is the draft of my edit: I'm also refactoring it right now |
|
Ok but what is the end result? how should the |
|
https://github.com/ivan-hc/AM/blob/dev/modules/management.am
Give me the time I upload the video simplescreenrecorder-2024-06-11_02.55.44.mkv.mp4 |
|
Only works for apps hosted on github... and without a .zsync file... but I think I'll try to change the latter. |
I watched the video and now I have more questions, why are you showing the Btw the You can replace that for a single: |
I think the line that downloads the |
|
I show you the version file to let you see that the version changes. I've replaced the latest stable version of brave-appimage with a "beta" version at number 86. The list has until 100 URLs, I've added this limit because Brave and Brave-Appimage repositories... they have too many pre-releases. |
Ok, I still don't know what the problem is exactly 😅 But if the issue is that the If the issue is an issue inside the |
|
No problem here 😄 I just wanted to show and tell what --rollback does, since you didn't know we have it |
|
I'm still waiting the day that someone says that "this package manager is AM...azing!" |
We already said that, multiple times... |
|
@zen0bit I want your opinion on this: https://github.com/ivan-hc/AM/issues/659 |
|
Just quickly read definetly NOT sandbox everything. --sandbox 👍 (I asked for this feature) |
Just your opinion on it. RIght now the only sandbox we have is with firejail, which not only has a bunch of security issues, it is broken with most apps lol.
Yeah it is going to be an option
I'm waiting for input from the dev as well. |
|
@Samueru-sama What if instead of implementing little-known/used sandboxes, we used something widely used? |
aisap uses bubblewrap. It is the only solution as far as I know. firejail is bad, even probono understood that when alpine dropped it from their repos, and you know when even probono gets it, it is really bad 🤣 edit: In fact the aisap dev is commenting on that thread. |


There was an error in the other zsync condition as well lel.
@ivan-hc can you give me a more detailed explanation as to what the issue with --rollback is? I tried to rollback the gimp appimage but the updater script didn't change at all?