modified: Install-MMGen-on-Microsoft-Windows.md

The MMGen Project 2022-01-08 08:38:02 +00:00
commit 7380855f9a
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2

@ -19,7 +19,9 @@
* [11. Install and launch your coin daemons](#a_cd)
* [12. You’re done!](#a_do)
#### [Keeping your MMGen installation up to date](#a_u)
#### [Keeping your installation up to date](#a_u)
* [MSYS2](#a_us)
* [MMGen](#a_um)
## <a name='a_i'>Introduction</a>
@ -342,8 +344,8 @@ ETC and ERC20 tokens.
Go to the [**Install Bitcoind and other supported coin daemons**][ib] wiki page
and follow the instructions for your coins of choice. You can skip the parts
about adding to the Windows path, since your `PATH` variable was taken care of
in Step 5. Note that the daemons must be installed on both your online and
offline machines.
in [Step 5](#a_ev). Note that the daemons must be installed on both your
online and offline machines.
To transact ETH, ETC or ERC20 tokens you’ll need the latest OpenEthereum binary
build for Windows from the [OpenEthereum Github repository][og]. OpenEthereum,
@ -372,28 +374,40 @@ Please be aware of the following, however:
+ The Bitcoin Cash Node daemon cannot handle non-ASCII pathnames. This is an
issue with the Bitcoin Cash Node implementation for Windows, not MMGen.
## <a name='a_u'>Keeping your MMGen installation up to date</a>
## <a name='a_u'>Keeping your installation up to date</a>
You should periodically update your MMGen installation from the MMGen public
repository, especially when new releases appear. This can be done by entering
the MMGen repository root on your online computer and issuing the following
commands:
### <a name='a_us'>MSYS2</a>
You should periodically upgrade your MSYS2 installation, especially when [new
releases][mh] of the installer appear. You can check your currently installed
version of MSYS2 by issuing the command `pacman -Ss msys2-base`.
To perform the upgrade, just repeat [Step 3](#a_ug) of this guide. Assuming
your currently configured download mirrors are functional, you can skip the
parts relating to downloading and editing mirrorlists.
Note that [Step 4](#a_md) need not be performed, as the MMGen dependencies
are already in `pacman`’s database.
### <a name='a_um'>MMGen</a>
You should periodically upgrade your MMGen installation from the MMGen public
repository, especially when [new releases][mr] appear. You can check your
currently installed version of MMGen by issuing the command `mmgen-tool
--version`.
To perform the upgrade, enter the MMGen repository root on your online
computer and issue the following commands:
$ git checkout master
$ git pull
$ git checkout stable_msys2 # See 'Note' to step 9
$ rm -r dist/* build/*
Then invoke the following (for newer MSYS2 installations):
$ rm -r /mingw64/lib/python*/site-packages/{mmgen,MMGen}*
$ python3 -m build --no-isolation
$ cd ..
$ python3 -m pip install --upgrade mmgen/dist/*.whl
Or the following (for pre-November 2021 MSYS2 installations):
$ python3 setup.py install
To update your offline installation, copy the updated repository (after `git
pull`) to your offline machine, `cd` to the root of the copied repository and
continue from the `git checkout stable_msys2` step.
@ -404,6 +418,7 @@ continue from the `git checkout stable_msys2` step.
[ov]: https://github.com/mmgen/mmgen/releases/tag/v0.9.8
[sd]: https://download.sysinternals.com/files/SDelete.zip
[og]: https://github.com/openethereum/openethereum/releases
[mr]: https://github.com/mmgen/mmgen/releases
[di]: Deprecated-MSWin-Installation
[ib]: Install-Bitcoind
[gs]: Getting-Started-with-MMGen