Skip to content

Jeffrey-P-McAteer/cartridge-app

Repository files navigation

Cartridge app

A simple application which enables the core feature of Cartridge OS on an existing system (linux and windows 10 supported)

Built binaries

Linux and windows x64 binaries are available at https://www.cs.odu.edu/~jmcateer/cartridge_app/

Compiling on Linux

# Builds target/x86_64-pc-windows-gnu/release/cartridge_app.exe
#cross build --release --target x86_64-pc-windows-gnu
# ^^ Cross compilation is borked after we started using SDL2

# Builds target/x86_64-unknown-linux-gnu/release/cartridge_app
cargo build --release --target x86_64-unknown-linux-gnu

Compiling on windows

# Builds target/x86_64-pc-windows-gnu/release/cartridge_app.exe
cargo build --release --target x86_64-pc-windows-gnu

Cross compiling

The build.py script is setup to do a cross-platform build windows and linux binaries from linux hosts.

This process requires rsync, cargo-cross, and docker installed.

Historical Notice

This project has gone through a lot of thrashing about messing with different styles of cross-platform compilation, GUI libraries, and even wandering into the abyss that is the win32 API.

As a result this project is nowhere near idiomatic Rust code, and is very poorly designed.

The majority of the code written has been removed, re-written, and then replaced again.

About

A system tray daemon to auto-launch USB devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published