Using Dwani.ai on Windows
This guide explains how to download, install, and run the Dwani.ai desktop application on Windows. You can either use the pre-built executable or build the application from source.
Prerequisites
- Operating System: Windows 10 or later (64-bit)
- Disk Space: At least 500 MB of free disk space
- Internet Connection: Required for downloading the application or dependencies
- Node.js (optional, for building from source): Version 16 or higher
- Git (optional, for cloning the repository)
Option 1: Download and Install the Pre-Built Application
- Download the Installer:
- Visit the Dwani.ai GitHub Releases page.
-
Download the Windows executable:
dwani-desktop.Setup.0.0.2.exe. -
Run the Installer:
- Locate the downloaded
dwani-desktop.Setup.0.0.2.exefile in your Downloads folder. - Double-click the file to start the installation process.
-
Follow the on-screen prompts to complete the installation.
-
Launch the Application:
- Once installed, find the Dwani.ai application in your Start Menu or on your Desktop (if a shortcut was created).
- Double-click the Dwani.ai icon to launch the application.
Option 2: Build and Run from Source
If you prefer to build the application yourself, follow these steps:
Prerequisites for Building
- Install Node.js (version 16 or higher).
- Install Git to clone the repository.
- Ensure you have
npm(comes with Node.js) installed.
Steps to Build
-
Clone the Repository: Open a terminal (e.g., Command Prompt, PowerShell, or Git Bash) and run:
git clone https://github.com/dwani-ai/dwani-desktop.git cd dwani-desktop/frontend -
Install Dependencies: Install the required Node.js packages:
npm install -
Build the Application: Build the application for Windows:
This will generate the Windows executable in thenpx electron-builder --windistfolder. -
Run the Application:
- Navigate to the
distfolder:cd dist - Locate the generated
dwani-desktop.Setup.0.0.2.exe(version may vary). - Double-click the
.exefile to install and run the application, or run it directly from thedistfolder if an unpacked version is available (e.g.,dwani-desktop.exe).
Troubleshooting
- Installation Fails: Ensure you have administrative privileges on your Windows account.
- Application Won’t Start: Check that your system meets the prerequisites and that the
.exefile is not blocked by your antivirus software. - Build Errors: Verify that Node.js and npm are correctly installed by running
node -vandnpm -vin your terminal. - For further assistance, visit the Dwani.ai GitHub Issues page or contact the support team.
Additional Notes
- The pre-built executable is recommended for most users as it simplifies the installation process.
- If you encounter issues with the source build, ensure your Node.js and npm versions are compatible.
- Keep your application updated by checking the GitHub Releases page for the latest version.