Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 937 Bytes

Readme.md

File metadata and controls

47 lines (35 loc) · 937 Bytes

Project Name

Tracks the current active window

Prerequisites

  • Rust (latest stable version)
  • Cargo (comes with Rust)
  • Any other system requirements

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/your-project.git
  2. Build the project:

    bash ./scripts/build-mac.sh
    cargo build

Running the Project

Development Mode

To run the project in development mode:

cargo install cargo-watch
cargo dev

Release Mode

To run the project in release mode:

cargo run --release

Project Structure

  • src/: Source code for the project.
    • main.rs: Main entry point of the program.
  • bindings/: Bindings for the project.
    • macos/: MacOS bindings written in Objective-C.
    • windows/: Windows bindings written in C.
  • build.rs: Build the C and Objective-C code for linking in the Rust code.