Project

Profile

Help

Feature #135

Hide the console when updating

Added by Vincent Le Goff over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
User interface
Sprint/Milestone:
% Done:

100%

Company:
-
Contact person:
-
Additional contact persons:
-

Description

So far, the updater has a really straightforward mechanism:

  • It checks on the Planio website, to see if the current version of the client is not the most recent one.
  • If it finds a more recent version on the website, it offers the user to download it.
  • Once downloaded, the new version is unzipped in a sub-folder.
  • Then the updater shuts down and gives command to a simple BAT script that will replace all folders (except the user settings) in the main folder.
  • This script will then launch the new version of CocoMUD.

The script runs in a command window that is clearly visible to the user. Although no big deal in itself, it's ugly and could be changed. See here for an example:


from subprocess import popen
hidden = 0x08000000 # Windows only
Popen(["script.bat"], bufsize=-1, creationflags=hidden)

Associated revisions

Revision dd86a0be (diff) View on GitHub
Added by Vincent Le Goff over 1 year ago

Bring #135, update in a hidden window (to test)

History

#1 Updated by Vincent Le Goff over 1 year ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

#2 Updated by Vincent Le Goff over 1 year ago

  • Sprint/Milestone set to 16

Please register to edit this issue

Also available in: Atom PDF Tracking page