Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielmain/dcf6b486f20d87d963fb45aad052461e to your computer and use it in GitHub Desktop.
Save danielmain/dcf6b486f20d87d963fb45aad052461e to your computer and use it in GitHub Desktop.
yoroi-extension Windows dev environment support
diff --git a/packages/yoroi-extension/docs/BUILD.md b/packages/yoroi-extension/docs/BUILD.md
index 9d500282..5fb28322 100644
--- a/packages/yoroi-extension/docs/BUILD.md
+++ b/packages/yoroi-extension/docs/BUILD.md
@@ -27,12 +27,6 @@ Example
$ npm run prod:stable
```
-#### with byron mainnet (Windows)
-```bash
-# build files to './build'
-$ npm run prod:stable-win
-```
-
This command will create a full build of the extension in the `./build` directory, which you can also "load unpacked" into your browser, and it will not require you to keep a running process to continue working (standalone build).
Note: debug build does not imply that you are connecting to the mainnet. The network picked depends on the `npm` command.
diff --git a/packages/yoroi-extension/docs/SETUP.md b/packages/yoroi-extension/docs/SETUP.md
index b09a82df..0f44d4d5 100644
--- a/packages/yoroi-extension/docs/SETUP.md
+++ b/packages/yoroi-extension/docs/SETUP.md
@@ -1,15 +1,8 @@
# Environment
-Tested on Ubuntu 18.04, Windows 10
+Tested on Ubuntu 18.04
# Prerequisites
-### Windows 10
-- Node 14 (check [nvm-windows](https://github.com/coreybutler/nvm-windows)
--- ``` nvm install 14 ```
--- ``` nvm use 14 ```
-- Python 2.7.17 (check [pyenv-win](https://github.com/pyenv-win/pyenv-win))
--- ``` pyenv install 2.7.17 ```
--- ``` pyenv global 2.7.17 ```
### Packages
To install other Yoroi-frontend related dependencies use:
diff --git a/packages/yoroi-extension/package.json b/packages/yoroi-extension/package.json
index 4d78fe49..d83a4064 100644
--- a/packages/yoroi-extension/package.json
+++ b/packages/yoroi-extension/package.json
@@ -6,16 +6,12 @@
"dev:build": "rimraf dev/ && babel-node scripts/build --type=debug",
"dev:stable": "npm run dev:build -- --env 'mainnet'",
"dev:nightly": "npm run dev:build -- --env 'mainnet' --nightly",
- "dev:stable-win": "npm run dev:build -- --env=mainnet",
- "dev:nightly-win": "npm run dev:build -- --env=mainnet --nightly",
"dev:mock-backend": "babel-node scripts/startWithMockServer.js",
"prod:build": "rimraf build/ && NODE_ENV=production babel-node scripts/build --type=prod",
"prod:compress": "babel-node ../../scripts/compress",
"prod:unsigned": "npm run prod:build -- --env ${CARDANO_NETWORK:-testnet} && npm run prod:compress -- --env ${CARDANO_NETWORK:-testnet} --app-id yoroi-${CARDANO_NETWORK:-testnet} --zip-only --codebase https://yoroiwallet.com/dw/yoroi-${CARDANO_NETWORK:-testnet}-extension.crx",
"prod:nightly": "npm run prod:build -- --env 'mainnet' --nightly --ergoConnectorExtensionId=chifollcalpmjdiokipacefnpmbgjnle && npm run -s prod:compress -- --env 'mainnet' --app-id 'yoroi-nightly' --zip-only --codebase 'https://yoroiwallet.com/dw/yoroi-nightly-extension.crx' --key \"'${YOROI_NIGHTLY_PEM:-./nightly-key.pem}'\"",
"prod:stable": "npm run prod:build -- --env 'mainnet' && npm run prod:compress -- --env 'mainnet' --app-id 'yoroi' --zip-only --codebase 'https://yoroiwallet.com/dw/yoroi-extension.crx' --key ./production-key.pem",
- "prod:nightly-win": "npm run prod:build -- --env=mainnet --nightly --ergoConnectorExtensionId=chifollcalpmjdiokipacefnpmbgjnle && npm run -s prod:compress -- --env=mainnet --app-id=yoroi-nightly --zip-only --codebase=https://yoroiwallet.com/dw/yoroi-nightly-extension.crx --key=\"${YOROI_NIGHTLY_PEM:-./nightly-key.pem}\"",
- "prod:stable-win": "npm run prod:build -- --env=mainnet && npm run prod:compress -- --env=mainnet --app-id=yoroi --zip-only --codebase=https://yoroiwallet.com/dw/yoroi-extension.crx --key=./production-key.pem",
"keygen": "crx keygen",
"clean": "rimraf build/ dev/ *.zip *.crx",
"flow": "flow --show-all-errors .",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment