[bisq-network/bisq] Fix Windows installer issues (#2103)
Devin Bileck
notifications at github.com
Tue Dec 11 20:53:43 UTC 2018
devinbileck 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);
Should we remove hiddenServiceBackupDir once we are done with it?
--
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#pullrequestreview-183897950
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20181211/4e845747/attachment-0001.html>
More information about the bisq-github
mailing list