Skip to content

Commit

Permalink
1.2.4 update
Browse files Browse the repository at this point in the history
  • Loading branch information
RyuMaster committed Sep 17, 2019
1 parent b3c4d43 commit 5ef765f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
9 changes: 9 additions & 0 deletions build/installer.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
SetRegView 32
WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\Program Files\Xaya"
WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\Program Files\Xaya"

${nsProcess::FindProcess} "xayad.exe" $R0
${If} $R0 == 0
DetailPrint "Xaya daemon is running. Closing it down before going further."
${Else}
${EndIf}

${nsProcess::Unload}

!macroend

!macro customInstall
Expand Down
Binary file added build/x86-ansi/nsProcess.dll
Binary file not shown.
Binary file added build/x86-unicode/nsProcessW.dll
Binary file not shown.
3 changes: 3 additions & 0 deletions installer/downloadchain.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
cd %1
curl.exe --progress-bar https://xaya.io/downloads/xaya_chain_xid_20190717.exe -O xaya_chain_xid_20190717.exe
@RD /S /Q "%appdata%\Xaya\blocks"
@RD /S /Q "%appdata%\Xaya\chainstate"
del "%appdata%\Xaya\peers.dat"
xaya_chain_xid_20190717.exe -o"%appdata%\" -y
del xaya_chain_xid_20190717.exe
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "XAYA-Electron",
"version": "1.2.3",
"version": "1.2.4",
"description": "XAYA",
"homepage": "https://github.com/xaya/xaya_electron",
"author": {
Expand Down

0 comments on commit 5ef765f

Please sign in to comment.