Project

Profile

Help

Maintenance: Planio will be observing a scheduled maintenance window this Tuesday, November 5, 2024 from 03:00 UTC until 06:30 UTC to perform urgent network maintenance in our primary data center. Your Planio account will be unavailable during this maintenance window.

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)

Added by Vincent Le Goff about 6 years ago

Revision dd86a0be | View on GitHub | diff

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

Actions #1

Updated by Vincent Le Goff about 6 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
Actions #2

Updated by Vincent Le Goff about 6 years ago

  • Sprint/Milestone set to 16

Please register to edit this issue

Also available in: Atom PDF Tracking page