Skip to content

All your computers and your phone/iPhone, working as one desk. Screens, apps, files, clipboard, calls, texts, notifications, mouse and keyboard, shared between Mac, Windows, Linux , Android, Web and ios / ipados . Free and open source. No account, no cloud, and no shared network needed.

838 B
Raw Blame
@echo off
rem TwinDesk — Copyright (C) 2026 inukaasith. GPL-3.0, see LICENSE.
rem Builds the iOS control helper for the PC app: bin\x64\twindesk-ios-control.exe (shared/iosusb.js
rem looks there). Optional: without cargo nothing is built and an iPhone on the cable shows nothing.
rem Windows' USB for iPhones is Apple's (Apple Devices or iTunes: usbmuxd on 127.0.0.1:27015).
setlocal
where cargo >nul 2>nul || (echo note: no cargo: no iOS control helper & exit /b 0)
set CRATE=%~dp0
cargo build --release --locked --manifest-path "%CRATE%Cargo.toml" --target x86_64-pc-windows-msvc || (echo note: the iOS control helper didn't build & exit /b 0)
if not exist "%CRATE%bin\x64" mkdir "%CRATE%bin\x64"
copy /y "%CRATE%target\x86_64-pc-windows-msvc\release\twindesk-ios-control.exe" "%CRATE%bin\x64\twindesk-ios-control.exe" >nul
exit /b 0