Skip to content

chsami/Microbot-Launcher

Repository files navigation

Microbot-Launcher

Microbot Launcher for The Microbot Client

image

Prerequisites

Before you begin, ensure you have the following installed on your machine:

You can install Electron globally with the following command:

npm install -g electron

Installation

  1. clone the repository
git clone https://github.com/your-repo/microbot-launcher.git
  1. navigate to the project directory
cd microbot-launcher
  1. install the dependencies
npm install

Running the project

npm run dev

Mock Authentication Mode

The launcher now includes an optional in-memory authentication flow that can be enabled for UI testing and demos.

  • Set MOCK_AUTH=1 to activate mock mode. Accounts exist only in memory and reset when the app restarts.
  • (Optional) Provide MOCK_USERS to preload accounts. Accepts either JSON (e.g. [{"email":"demo@site.com","password":"Password1"}]) or a delimited list such as demo@site.com:Password1,guest@site.com:Password2.
  • Use MOCK_LATENCY_MS to simulate network latency (in milliseconds) and MOCK_FAIL_PCT to simulate intermittent failures (percentage between 0-100).

When mock mode is disabled, the launcher skips the mock login screen and behaves as before.

Package for Windows

For 64-bit

npm run build:x64

For 32-bit

npm run build:ia32

Steps to Contribute:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin feature-branch)
  5. Create a new Pull Request

Youtube

image

Discord

Discord Banner 1

If you have any questions, please join our Discord server.

☕ Buy Me a Coffee

If you enjoy my open source work and would like to support me, consider buying me a coffee! Your support helps me stay caffeinated and motivated to keep improving and creating awesome projects.

Buy Me a Coffee

Thank you for your support! 😊

About

Microbot Launcher for The Microbot Client

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 3

  •  
  •  
  •