[bisq-network/bisq] Fix Windows installer issues (#2103)

Christoph Atteneder notifications at github.com
Tue Dec 11 21:04:34 UTC 2018


ripcurlx commented on this pull request.



> +  hiddenServiceDir: String;
+  hiddenServiceBackupDir : String;
+begin
+  mainnetDir := ExpandConstant('{userappdata}') + '\Bisq\btc_mainnet';
+  torDir := mainnetDir + '\tor\*';
+  hiddenServiceDir := mainnetDir + '\tor\hiddenservice';
+  hiddenServiceBackupDir := mainnetDir + '\hiddenservice_backup';
+  if DirExists(hiddenServiceDir) then begin
+   if DirExists(hiddenServiceBackupDir) then begin
+     DelTree(hiddenServiceBackupDir, true, true, true);
+   end
+   CreateDir(hiddenServiceBackupDir);
+   DirectoryCopy(hiddenServiceDir, hiddenServiceBackupDir);
+   DelTree(torDir, false, true, true);
+   CreateDir(hiddenServiceDir);
+   DirectoryCopy(hiddenServiceBackupDir, hiddenServiceDir);

I left it there by intent, just in case there is an issue and someone has to recover their hiddenservices manually.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/2103#discussion_r240790110
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20181211/a11d4a47/attachment.html>


More information about the bisq-github mailing list