How lumid-off/aircard-windows works
AirCard is a native Windows client for detecting Wallet cards and applying reversible Wallet artwork or passcode themes to an iPhone over USB or paired WiFi. The main workflow runs from the UI through device selection and asset preparation to the flasher, which stages files using Apple’s device services; card scanning and original-artwork backup support the workflow. The excerpts establish several internal calls, while other UI-to-feature links are documented in the README. Some implementation details are unsampled, so uncertain connections are omitted.
Main entry points: app.rs AirCard UI · device.rs Device discovery · flasher.rs Asset flasher · scanner.rs Wallet event scanner
Components 14
Desktop interface
- AirCard UI
src/app.rs - Language settings
src/i18n.rs
Card and theme features
- Wallet event scanner
src/scanner.rs - Card image preparation
src/image_skin.rs - Passcode theme parser
src/passthm.rs
Device communication
- Device discovery
src/device.rs - Apple device APIs
src/apple.rs - Device file access
src/afc.rs
Staging and recovery
- Asset flasher
src/flasher.rs - Streaming ZIP conduit
src/airlift.rs - AirTraffic sync
src/airtraffic.rs - Wallet artwork backup
src/wallet_backup.rs
Other components
- AirCard user
- iPhone
Connections 19
- AirCard user → AirCard UI: uses
README.md - AirCard UI → Language settings: selects language
README.md - AirCard UI → Device discovery: selects device
README.md - AirCard UI → Wallet event scanner: starts scan
README.md - iPhone → Wallet event scanner: emits card events
README.md - AirCard UI → Card image preparation: prepares artwork
README.md - AirCard UI → Passcode theme parser: loads theme
README.md - AirCard UI → Asset flasher: starts apply or restore
README.md - Device discovery → Apple device APIs: uses device APIs
src/device.rs - Wallet event scanner → Device discovery: opens device session
src/scanner.rs - Asset flasher → Device discovery: opens device session
src/flasher.rs - Asset flasher → Device file access: reads and writes files
src/flasher.rs - Asset flasher → Streaming ZIP conduit: stages archive
src/flasher.rs - Asset flasher → Wallet artwork backup: backs up artwork
README.md - Device file access → Device discovery: starts AFC service
src/afc.rs - Streaming ZIP conduit → Device discovery: starts sync service
src/airlift.rs - AirTraffic sync → Apple device APIs: uses host APIs
src/airtraffic.rs - AirTraffic sync → iPhone: syncs assets
- Wallet artwork backup → Device file access: reads device assets
src/wallet_backup.rs