Skip to content

Fix Windows installer script#1

Open
nrg-panda wants to merge 1 commit intoCryptoDevelopmentServices:mainfrom
nrg-panda:fix-windows-install
Open

Fix Windows installer script#1
nrg-panda wants to merge 1 commit intoCryptoDevelopmentServices:mainfrom
nrg-panda:fix-windows-install

Conversation

@nrg-panda
Copy link

Fix Windows installer script

Installation Instructions:

  1. Clone the repository: git clone [repo-url]
  2. Download the core source code and place it in the project root
  3. Ensure the folder structure:

/node/
├── installerWindows.ps1
├── genesis.json
└── core/ ← must contain source code
├── cmd/
├── build/
└── ...

  1. Run the installer: .\installerWindows.ps1

Changes Made:

  • ✅ Fixed syntax errors in PowerShell script
  • ✅ Simplified installation process using local core folder
  • ✅ Removed version dependency for better compatibility
  • ✅ Added prerequisite checks for git, go, openssl
  • ✅ Improved error handling and user feedback

Important Note:

For successful installation, users must:

  1. Download the core source code folder
  2. Place it in the same directory as the installer script
  3. Ensure the folder is named exactly core

Benefits:

  • 🚀 No internet connection required during installation
  • 🔄 No version dependency issues (works with any core version)
  • 👍 Simpler and more reliable for end users
  • ⚡ Faster installation process (no downloading needed)
  • 🛡️ Better error handling and user guidance

Before vs After:

  • Before: Script downloaded sources from internet → often failed
  • After: Uses local core folder → guaranteed to work if folder exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant