Project

Profile

Help

Feature #135

closed

Hide the console when updating

Added by Vincent Le Goff about 6 years ago. Updated about 6 years 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)

Please register to edit this issue

Also available in: Atom PDF Tracking page