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.
JavaScript androidapple-ecosystemconnectelectronfile-sharingintel-unison-alternativeiosios-windowskde-connect-alternativekvmlinuxmacbookmacosmouse-sharingphone-link-alternativeproductivityscreen-sharingsidecar-alternativesynergy-alternativewindows
# TwinDesk - Copyright (C) 2026 inukaasith. GPL-3.0, see LICENSE.
# callaudio.js: the calls' sparse package registered for this user, its external location where
# TwinDesk is (again when its version differs, or with -Force). Prints {ok} or {error}.
param(
[Parameter(Mandatory = $true)][string]$Name,
[Parameter(Mandatory = $true)][string]$Version,
[Parameter(Mandatory = $true)][string]$Msix,
[Parameter(Mandatory = $true)][string]$Root,
[switch]$Force
)
$ErrorActionPreference = 'Stop'
$out = @{}
try {
$p = Get-AppxPackage -Name $Name
if ($p -and ($Force -or "$($p.Version)" -ne $Version)) { $p | Remove-AppxPackage; $p = $null }
if (-not $p) { Add-AppxPackage -Path $Msix -ExternalLocation $Root -ForceUpdateFromAnyVersion }
$out.ok = $true
} catch { $out.error = $_.Exception.Message }
ConvertTo-Json $out -Compress