electrum-altcoin / electrum

MIT License
5 stars 10 forks source link

[Builds] Fix Windows Builds #26

Closed ahmedbodi closed 4 years ago

ahmedbodi commented 4 years ago

The current windows builds are excluding the network, servers and checkpoints files produced by the multicoin adaptations. Included at: https://github.com/electrum-altcoin/electrum/blob/master/contrib/build-wine/deterministic.spec

walkjivefly commented 4 years ago

My Gitfoo isn't strong enough to submit a PR for just the following change

crown@electrum1:~/electrum$ git diff 52b0b9d63cc045ef06e1acb456ef9033012dc21e b1adea1fc5cf1de5a02f38d0a5577bf2ee73fcef
diff --git a/contrib/build-wine/deterministic.spec b/contrib/build-wine/deterministic.spec
index d30bbd7b0..b08e77103 100644
--- a/contrib/build-wine/deterministic.spec
+++ b/contrib/build-wine/deterministic.spec
@@ -43,9 +43,6 @@ datas = [
     (home+'electrum/plugins', 'electrum/plugins'),
     ('C:\\Program Files (x86)\\ZBar\\bin\\', '.'),
     (home+'electrum/gui/icons', 'electrum/gui/icons'),
-    (home+'electrum/networks/*.py', 'electrum/networks'),
-    (home+'electrum/servers/*.json', 'electrum/servers'),
-    (home+'electrum/checkpoints/*.json', 'electrum/checkpoints'),
 ]
 datas += collect_data_files('trezorlib')
 datas += collect_data_files('safetlib')

It tried to pull in the previous commit as well, which was the one making Crown the default network.