small hint added

This commit is contained in:
Mario Voigt 2021-06-21 14:46:30 +02:00
parent 8a63de90be
commit b347187ff9
1 changed files with 2 additions and 1 deletions

View File

@ -100,8 +100,9 @@ class AboutUpgradeMightyScape(inkex.EffectExtension):
gitDir = os.path.join(main_dir, ".git")
if not os.path.exists(gitDir):
self.msg("MightyScape .git directory was not found. It seems you installed MightyScape the traditional way (by downloading and extracting from archive). Please install MightyScape using the git pull method if you want to use the upgrade function. More details can be found in the official README.")
self.msg("MightyScape .git directory was not found. It seems you installed MightyScape the traditional way (by downloading and extracting from archive). Please install MightyScape using the git clone method if you want to use the upgrade function. More details can be found in the official README.")
exit(1)
#Possible option: turn the zip installation into a .git one by cloning over the recent extension dir. could be added as ugprader option.
local_repo = Repo(gitDir)
#check if it is a non-empty git repository