Follow-up Comment #7, bug #11715 (project wormux):

To understand this bug, here is how check_update is working:
1) A file is download from an internet location and save in
~/.local/share/wormux/last_version (or something like that)
2) the file ~/.local/share/wormux/last_version is opened and its content
(which is the last wormux version number) is read.
3) then we compare to the current version number

> Maybe a way to solve this problem on mac :
> If wormux crashed at launch due to self-update, clean the directory or set
the
> automatical update to off, and give an alert to user.

This is not what I call solving a problem.
First, we should ensure that ~/.local/share/wormux is created (one directory
by one). This is normally done in r4514.
If the creation of the directory has failed, maybe we must display an error
to the user.
Anyway, if the directory does not exist for some reasons (bad permissions,
read only partition, etc.) we must not crash!!

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?11715>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to