<p><b>@devinbileck</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/bisq-network/bisq/pull/2103#discussion_r240786773">desktop/package/windows/Bisq.iss</a>:</p>
<pre style='color:#555'>> +  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);
</pre>
<p>Should we remove hiddenServiceBackupDir once we are done with it?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/2103#pullrequestreview-183897950">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AkpZtkl6kTQQoUhOZIAn4sBVwXuTzf-0ks5u4BtWgaJpZM4ZLd0F">mute the thread</a>.<img src="https://github.com/notifications/beacon/AkpZtuuGI4lH7ydJ7Y9W4_DBEYuXDP-Xks5u4BtWgaJpZM4ZLd0F.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bisq-network/bisq","title":"bisq-network/bisq","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/bisq-network/bisq"}},"updates":{"snippets":[{"icon":"PERSON","message":"@devinbileck commented on #2103"}],"action":{"name":"View Pull Request","url":"https://github.com/bisq-network/bisq/pull/2103#pullrequestreview-183897950"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/2103#pullrequestreview-183897950",
"url": "https://github.com/bisq-network/bisq/pull/2103#pullrequestreview-183897950",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "@devinbileck commented on 2103",
"sections": [
{
"text": "",
"activityTitle": "**Devin Bileck**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@devinbileck",
"facts": [

]
}
],
"potentialAction": [
{
"targets": [
{
"os": "default",
"uri": "https://github.com/bisq-network/bisq/pull/2103#pullrequestreview-183897950"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 422436101\n}"
}
],
"themeColor": "26292E"
}
]</script>