Преглед изворни кода

add more comments regarding removal evaluation of this workaround

Armin Schrenk пре 2 година
родитељ
комит
95ea23ee6e

+ 1 - 0
dist/win/contrib/version170-migrate-settings.bat

@@ -1,4 +1,5 @@
 @echo off
+:: see comments in file ./version170-migrate-settings.ps1
 
 cd %~dp0
 powershell -NoLogo -NonInteractive -ExecutionPolicy Unrestricted -Command .\version170-migrate-settings.ps1

+ 3 - 1
dist/win/contrib/version170-migrate-settings.ps1

@@ -1,5 +1,7 @@
 # This script migrates Cryptomator settings for all local users on Windows in case the users uses custom directories as mountpoint
-# See also https://github.com/cryptomator/cryptomator/issues/2652
+# See also https://github.com/cryptomator/cryptomator/pull/2654.
+#
+# TODO: This script should be evaluated in a yearly interval if it is still needed and if not, should be removed
 #
 #Requires -RunAsAdministrator
 

+ 1 - 1
dist/win/resources/main.wxs

@@ -132,7 +132,7 @@
     <!-- WebDAV patches -->
     <CustomAction Id="PatchWebDAV" Impersonate="no" ExeCommand="[INSTALLDIR]patchWebDAV.bat" Directory="INSTALLDIR" Execute="deferred" Return="asyncWait" />
 
-    <!-- Special Settings migration for 1.7.0 -->
+    <!-- Special Settings migration for 1.7.0,. Should be removed eventually, for more info, see ../contrib/version170-migrate-settings.ps1-->
     <CustomAction Id="V170MigrateSettings" Impersonate="no" ExeCommand="[INSTALLDIR]version170-migrate-settings.bat" Directory="INSTALLDIR" Execute="deferred" Return="asyncWait" />
 
     <!-- Running App detection and exit -->