PasteFerry (隔空贴): clipboard and file sync across macOS, Windows and Linux. Direct-first, end-to-end encrypted. Optional official access: no server to host. Independent self-hosting remains available.
Dart airdrop-alternativeclipboardclipboard-sharingclipboard-synccopy-pastecross-platformend-to-end-encryptionfile-syncfile-transferfluttergolanglinuxmacosnat-traversalp2pself-hostedtailscaleuniversal-clipboardwebrtcwindows
fix(windows): let the installer run on any Windows 10 version
baiyuzee059cf9c1243
diff --git a/README.md b/README.mdindex 1619cda..974a5e3 100644--- a/README.md+++ b/README.md@@ -97,7 +97,7 @@ Open TCP 8787, UDP 3478 and UDP 32768–60999, then enter `ws://<server address>| | Requirement ||---|---|| **Mac app** | macOS 13 Ventura or later; Apple silicon and Intel |-| **Windows app** | Windows 10 (21H2 or later) and 11, x64 |+| **Windows app** | Windows 10 and 11, x64 || **Linux app** | x64 or ARM64; an X11 desktop, or Wayland with XWayland (GNOME and KDE have it by default); GTK 3 || **Server** | Optional, only to sync across networks: Linux (x86_64, ARM64; systemd or Docker), macOS, or Windows 10/11 x64 || **iPhone / iPad** | Not supported: iOS doesn't let apps watch the clipboard in the background |diff --git a/README.zh-CN.md b/README.zh-CN.mdindex c2c5ce6..40612d6 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -97,7 +97,7 @@ sudo ./install.sh <服务器公网IP>| | 要求 ||---|---|| **Mac 客户端** | macOS 13 Ventura 及以上;Apple 芯片与 Intel 芯片 |-| **Windows 客户端** | Windows 10(21H2 及以上)与 11,x64 |+| **Windows 客户端** | Windows 10 与 11,x64 || **Linux 客户端** | x64 或 ARM64;X11 桌面,或带 XWayland 的 Wayland 桌面(GNOME、KDE 默认都带);GTK 3 || **服务器** | 可选,只在跨网络时需要:Linux(x86_64、ARM64;systemd 或 Docker)、macOS,或 Windows 10/11 x64 || **iPhone / iPad** | 暂不支持:iOS 不允许 App 在后台监听剪贴板 |diff --git a/design/windows-client.md b/design/windows-client.mdindex 53d8616..9fe41f6 100644--- a/design/windows-client.md+++ b/design/windows-client.md@@ -21,7 +21,7 @@| 虚拟文件(Outlook 附件、压缩包里直接复制的文件) | 剪贴板里没有真实路径,只有流,需要实现 COM 接口 | 视需求 || 自动更新、微软商店 | 先跑通分发与签名 | 二期 |-支持的系统:Windows 10(21H2 及以上)与 Windows 11,x64。这是 Flutter 桌面版支持的范围。+支持的系统:Windows 10 与 Windows 11,x64,Windows 10 不限版本。Flutter 引擎(`flutter_windows.dll`)与 Go 1.26 都要求 Windows 10;引擎直接引用的系统函数 Windows 8 就有,按 DPI 缩放这类新接口是运行时查找、找不到就退回。Windows 7、8 装不上。## 二、现状:哪些能直接用diff --git a/docs/design/windows-client.html b/docs/design/windows-client.htmlindex db89196..2fc602d 100644--- a/docs/design/windows-client.html+++ b/docs/design/windows-client.html@@ -34,7 +34,7 @@<ul><li>在一台上 <code>Ctrl+C</code>,另一台上 <code>Ctrl+V</code>(或 <code>⌘V</code>)。粘贴文件时得到的是真实文件,可以直接粘贴进资源管理器、微信、Office。</li><li>开机自启,关掉窗口照常同步,崩溃自动拉起。Windows 安装时创建桌面快捷方式;后台服务持有托盘图标,点击可打开界面,右键可打开界面或退出 CopySync。</li><li>网络行为与 Mac 版完全相同:直连优先、多出口打洞、自动中转、端到端加密。</li><li>与 Mac 版互通,Mac 端不升级也能和 Windows 配对、同步(协议不变)。</li></ul><p><strong>一期不做:</strong></p><div class="table-scroll"><table><thead><tr><th scope="col">不做</th><th scope="col">原因</th><th scope="col">何时</th></tr></thead><tbody><tr><td>ARM64 原生包</td><td>Flutter 3.47 才正式支持 Windows ARM64,且只能在 ARM 机器上构建;x64 版在 ARM 上可以模拟运行</td><td>二期,用 GitHub 的 ARM Windows 构建机</td></tr><tr><td>虚拟文件(Outlook 附件、压缩包里直接复制的文件)</td><td>剪贴板里没有真实路径,只有流,需要实现 COM 接口</td><td>视需求</td></tr><tr><td>自动更新、微软商店</td><td>先跑通分发与签名</td><td>二期</td></tr></tbody></table></div>-<p>支持的系统:Windows 10(21H2 及以上)与 Windows 11,x64。这是 Flutter 桌面版支持的范围。</p>+<p>支持的系统:Windows 10 与 Windows 11,x64,Windows 10 不限版本。Flutter 引擎(<code>flutter_windows.dll</code>)与 Go 1.26 都要求 Windows 10;引擎直接引用的系统函数 Windows 8 就有,按 DPI 缩放这类新接口是运行时查找、找不到就退回。Windows 7、8 装不上。</p><h2 id="二-现状-哪些能直接用">二、现状:哪些能直接用</h2><p>后台服务除剪贴板外全部是纯 Go:数据库用的是纯 Go 的 <code>modernc.org/sqlite</code>,压缩是纯 Go 的 zstd,cgo 只出现在 <code>internal/clipboard/darwin.go</code>。实测在 Mac 上已经可以直接交叉编译出 Windows 版:</p><pre><code>CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build ./cmd/... # copysyncd.exe、copysync-cli.exediff --git a/docs/download/index.html b/docs/download/index.htmlindex 4f0c054..e47f4bf 100644--- a/docs/download/index.html+++ b/docs/download/index.html@@ -74,7 +74,7 @@</ol></div><ul class="points">- <li>Windows 10(21H2 及以上)与 Windows 11,x64。</li>+ <li>Windows 10 与 Windows 11,x64。</li><li>安装程序约 23 MB,便携版约 28 MB。</li><li>关掉窗口后,CopySync 在任务栏右下角的托盘里继续运行。</li></ul>diff --git a/docs/en/download/index.html b/docs/en/download/index.htmlindex 8f8bbe9..f604dd5 100644--- a/docs/en/download/index.html+++ b/docs/en/download/index.html@@ -74,7 +74,7 @@</ol></div><ul class="points">- <li>Windows 10 (21H2 or later) and Windows 11, x64.</li>+ <li>Windows 10 and Windows 11, x64.</li><li>The installer is about 23 MB, the portable zip about 28 MB.</li><li>After you close the window, CopySync keeps running in the notification area.</li></ul>diff --git a/docs/en/index.html b/docs/en/index.htmlindex b8f71c9..49b813e 100644--- a/docs/en/index.html+++ b/docs/en/index.html@@ -483,7 +483,7 @@<tbody><tr><th scope="row">Version</th><td>1.6.1, released <time datetime="2026-10-12">October 12, 2026</time></td></tr><tr><th scope="row">Mac app</th><td>macOS 13 Ventura or later; separate downloads for Apple silicon and Intel, about 25 MB each, no Rosetta; a universal version for both is about 47 MB</td></tr>- <tr><th scope="row">Windows app</th><td>Windows 10 (21H2 or later) and Windows 11, x64; installs per user, no administrator rights; about 23 MB download</td></tr>+ <tr><th scope="row">Windows app</th><td>Windows 10 and Windows 11, x64; installs per user, no administrator rights; about 23 MB download</td></tr><tr><th scope="row">Linux app</th><td>x64 and ARM64; .deb (Debian, Ubuntu and similar) or tar.gz (other distributions), about 22 MB; needs an X11 desktop, or a Wayland desktop with XWayland (GNOME, KDE and others include it by default); GTK 3</td></tr><tr><th scope="row">Server</th><td>Optional, only for syncing across networks. Linux on x86_64 or ARM64 (systemd or Docker), macOS (Intel and Apple silicon), Windows 10 and 11 x64 (as a service); about 15 MB of RAM</td></tr><tr><th scope="row">Languages</th><td>English, Simplified Chinese and Japanese; follows the system by default, switchable in Settings</td></tr>diff --git a/docs/index.html b/docs/index.htmlindex 8b61083..9088f15 100644--- a/docs/index.html+++ b/docs/index.html@@ -503,7 +503,7 @@<tbody><tr><th scope="row">版本</th><td>1.6.1,<time datetime="2026-10-12">2026 年 10 月 12 日</time>发布</td></tr><tr><th scope="row">Mac 客户端</th><td>macOS 13 Ventura 及以上;Apple 芯片与 Intel 芯片各有一个安装包,约 25 MB,不需要 Rosetta;也有两种芯片通用的版本,约 47 MB</td></tr>- <tr><th scope="row">Windows 客户端</th><td>Windows 10(21H2 及以上)与 Windows 11,x64;按用户安装,不需要管理员权限;安装包约 23 MB</td></tr>+ <tr><th scope="row">Windows 客户端</th><td>Windows 10 与 Windows 11,x64;按用户安装,不需要管理员权限;安装包约 23 MB</td></tr><tr><th scope="row">Linux 客户端</th><td>x64 与 ARM64;.deb(Debian、Ubuntu 等)或 tar.gz(其他发行版),约 22 MB;需要 X11 桌面,或者带 XWayland 的 Wayland 桌面(GNOME、KDE 等默认都带);GTK 3</td></tr><tr><th scope="row">服务器</th><td>可选,只在跨网络时需要。Linux x86_64 或 ARM64(systemd 或 Docker)、macOS(Intel 与 Apple 芯片)、Windows 10 与 11 x64(系统服务);约 15 MB 内存</td></tr><tr><th scope="row">界面语言</th><td>简体中文、English、日本語,默认跟随系统,可在设置里切换</td></tr>diff --git a/docs/ja/download/index.html b/docs/ja/download/index.htmlindex b5f71dc..12689f1 100644--- a/docs/ja/download/index.html+++ b/docs/ja/download/index.html@@ -74,7 +74,7 @@</ol></div><ul class="points">- <li>Windows 10(21H2 以降)と Windows 11、x64。</li>+ <li>Windows 10 と Windows 11、x64。</li><li>インストーラーは約 23 MB、ポータブル版は約 28 MB。</li><li>ウィンドウを閉じても、CopySync は画面右下の通知領域で動き続けます。</li></ul>diff --git a/docs/ja/index.html b/docs/ja/index.htmlindex ce990e2..af09815 100644--- a/docs/ja/index.html+++ b/docs/ja/index.html@@ -483,7 +483,7 @@<tbody><tr><th scope="row">バージョン</th><td>1.6.1(<time datetime="2026-10-12">2026 年 10 月 12 日</time>公開)</td></tr><tr><th scope="row">Mac アプリ</th><td>macOS 13 Ventura 以降。Apple シリコン版と Intel 版に分かれ、ダウンロードはそれぞれ約 25 MB で Rosetta 不要。両方で動くユニバーサル版は約 47 MB</td></tr>- <tr><th scope="row">Windows アプリ</th><td>Windows 10(21H2 以降)と Windows 11、x64。ユーザーごとのインストールで管理者権限不要。ダウンロードは約 23 MB</td></tr>+ <tr><th scope="row">Windows アプリ</th><td>Windows 10 と Windows 11、x64。ユーザーごとのインストールで管理者権限不要。ダウンロードは約 23 MB</td></tr><tr><th scope="row">Linux アプリ</th><td>x64 と ARM64。.deb(Debian、Ubuntu など)または tar.gz(ほかのディストリビューション)、約 22 MB。X11 のデスクトップ、または XWayland 付きの Wayland デスクトップ(GNOME、KDE などは標準で搭載)が必要。GTK 3</td></tr><tr><th scope="row">サーバー</th><td>任意。ネットワークをまたぐときだけ必要。Linux(x86_64 または ARM64、systemd または Docker)、macOS(Intel と Apple シリコン)、Windows 10・11 x64(サービスとして動作)。メモリは約 15 MB</td></tr><tr><th scope="row">表示言語</th><td>日本語、英語、簡体字中国語。初期設定はシステムに合わせ、「設定」で切り替え可能</td></tr>diff --git a/docs/llms.txt b/docs/llms.txtindex 803efb1..0b30dea 100644--- a/docs/llms.txt+++ b/docs/llms.txt@@ -8,7 +8,7 @@ Key facts:- Current version: 1.6.1, released 2026-10-12. On a Mac, network discovery no longer restarts every minute or two while a paired computer is offline. 1.6.0 added the Linux client (x64 and ARM64, .deb and tar.gz), separate Mac downloads for Apple silicon and Intel, and a download page on the website. 1.5.0: Search nearby: open it on two computers on the same network and click the other one to pair without a code; a computer broadcasts its name only while the window is open. Windows now shows Chinese text in one consistent font. 1.4.0: computers on the same network pair and sync without a server (mDNS discovery, pairing code); on another subnet, enter the address shown under the pairing code; over Tailscale, enter the 100.x address. The server becomes optional and is only needed across networks. 1.3.4 added a quick start and step-by-step guides for the three ways to run the server (public server, LAN, LAN + Tailscale) on the website. 1.3.3: the server installs on Windows (as a service) and on a Mac (as a LaunchAgent) as well as Linux, and the website has a step-by-step guide for running it on a LAN. 1.3.2 stopped UU Remote placeholder files from looping through the history. 1.3.1: click a history item to preview images, including copied image files (PNG, JPEG, GIF, WebP, BMP; HEIC and TIFF on Mac), with arrows to step through several. 1.3.0 added an English and Japanese interface (follows the system language, switchable in Settings) and moves to the GNU AGPL-3.0 with an optional commercial license. 1.2.0 added the Windows client.- Mac client: macOS 13 Ventura or later. Distributed as a DMG for Apple silicon (CopySync-mac-apple-silicon.dmg), one for Intel (CopySync-mac-intel.dmg), and a universal one (CopySync.dmg); not notarized by Apple, so the first launch needs "Open Anyway" in System Settings → Privacy & Security.-- Windows client: Windows 10 (21H2+) and Windows 11, x64. Per-user installer (CopySync-Setup.exe, no admin rights) or portable zip; not code-signed, so SmartScreen needs "More info → Run anyway" once. Runs in the notification area; pasted files are real files usable in Explorer, WeChat and Office. Skips content that password managers mark as sensitive.+- Windows client: Windows 10 and Windows 11, x64. Per-user installer (CopySync-Setup.exe, no admin rights) or portable zip; not code-signed, so SmartScreen needs "More info → Run anyway" once. Runs in the notification area; pasted files are real files usable in Explorer, WeChat and Office. Skips content that password managers mark as sensitive.- Linux client: x64 and ARM64, GTK 3; X11 desktops, or Wayland desktops with XWayland (GNOME and KDE include it by default). Tested on Ubuntu 24.04 GNOME. A .deb for Debian, Ubuntu and derivatives (installs to /opt/CopySync and adds a menu entry), or a tar.gz for other distributions (run install.sh to add a menu entry). The background service starts at login through an XDG autostart entry; data lives in ~/.local/share/copysync. No tray icon; reopen the window from the app menu. Skips content that password managers mark as sensitive.- Local network mode (no server): devices on the same subnet find each other over mDNS (`_copysync._udp`, broadcasting only an anonymous token that changes daily) and exchange signed signaling over UDP 8788. On a different subnet, the user enters the address shown under the pairing code; addresses are remembered afterwards. Over Tailscale, the user enters the other computer's 100.x address when pairing. On Windows, Settings → Local network → Allow adds a firewall rule (one UAC prompt); on macOS 15, the background service needs the Local Network permission.- Server (optional; only to sync across networks): a single static Go binary for Linux (x86_64, ARM64), macOS or Windows 10/11 x64. Install scripts register it as a systemd service (Linux), a LaunchAgent (macOS) or a Windows service with a firewall rule (Windows), and default to the machine's LAN address; Docker Compose also works on Linux. The three ways to connect are: the same network (no server), a public server (a cloud VM with a public IP; reachable from any network), or Tailscale (no server; pair by Tailscale address). A server on a LAN is still useful when two subnets can't reach each other. Ports: 8787/tcp (signaling), 3478/udp (STUN/TURN), plus OS-assigned UDP relay ports. In mainland China, cloud providers intercept plain HTTP (including the WebSocket handshake) for domains without an ICP filing, so clients should use the server's IP.diff --git a/tools/installer/copysync.iss b/tools/installer/copysync.issindex 97ec5e0..283ff60 100644--- a/tools/installer/copysync.iss+++ b/tools/installer/copysync.iss@@ -35,8 +35,8 @@ SolidCompression=yesWizardStyle=modernArchitecturesAllowed=x64compatibleArchitecturesInstallIn64BitMode=x64compatible-; Windows 10 21H2 起-MinVersion=10.0.19044+; 任意版本的 Windows 10 与 11:Flutter 引擎与 Go 都要求 Windows 10,Windows 7、8 跑不起来+MinVersion=10.0SetupIconFile=..\..\ui\windows\runner\resources\app_icon.icoUninstallDisplayIcon={app}\CopySync.exeUninstallDisplayName=CopySyncdiff --git a/tools/site/content/en.py b/tools/site/content/en.pyindex d871377..901c9d1 100644--- a/tools/site/content/en.py+++ b/tools/site/content/en.py@@ -272,7 +272,7 @@ C = {("Version", '1.6.1, released <time datetime="2026-10-12">October 12, 2026</time>'),("Mac app", "macOS 13 Ventura or later; separate downloads for Apple silicon and Intel, about 25 MB each, no Rosetta; ""a universal version for both is about 47 MB"),- ("Windows app", "Windows 10 (21H2 or later) and Windows 11, x64; installs per user, no administrator rights; about 23 MB download"),+ ("Windows app", "Windows 10 and Windows 11, x64; installs per user, no administrator rights; about 23 MB download"),("Linux app", "x64 and ARM64; .deb (Debian, Ubuntu and similar) or tar.gz (other distributions), about 22 MB; ""needs an X11 desktop, or a Wayland desktop with XWayland (GNOME, KDE and others include it by default); GTK 3"),("Server", "Optional, only for syncing across networks. Linux on x86_64 or ARM64 (systemd or Docker), macOS (Intel and Apple silicon), Windows 10 and 11 x64 (as a service); about 15 MB of RAM"),@@ -966,7 +966,7 @@ C = {"Open CopySync and click Turn on background sync. Allow it if Windows Firewall asks.",],"notes": [- "Windows 10 (21H2 or later) and Windows 11, x64.",+ "Windows 10 and Windows 11, x64.","The installer is about 23 MB, the portable zip about 28 MB.","After you close the window, CopySync keeps running in the notification area.",],diff --git a/tools/site/content/ja.py b/tools/site/content/ja.pyindex f1e5caf..dbbf712 100644--- a/tools/site/content/ja.py+++ b/tools/site/content/ja.py@@ -255,7 +255,7 @@ C = {("バージョン", '1.6.1(<time datetime="2026-10-12">2026 年 10 月 12 日</time>公開)'),("Mac アプリ", "macOS 13 Ventura 以降。Apple シリコン版と Intel 版に分かれ、ダウンロードはそれぞれ約 25 MB で Rosetta 不要。""両方で動くユニバーサル版は約 47 MB"),- ("Windows アプリ", "Windows 10(21H2 以降)と Windows 11、x64。ユーザーごとのインストールで管理者権限不要。ダウンロードは約 23 MB"),+ ("Windows アプリ", "Windows 10 と Windows 11、x64。ユーザーごとのインストールで管理者権限不要。ダウンロードは約 23 MB"),("Linux アプリ", "x64 と ARM64。.deb(Debian、Ubuntu など)または tar.gz(ほかのディストリビューション)、約 22 MB。""X11 のデスクトップ、または XWayland 付きの Wayland デスクトップ(GNOME、KDE などは標準で搭載)が必要。GTK 3"),("サーバー", "任意。ネットワークをまたぐときだけ必要。Linux(x86_64 または ARM64、systemd または Docker)、macOS(Intel と Apple シリコン)、Windows 10・11 x64(サービスとして動作)。メモリは約 15 MB"),@@ -890,7 +890,7 @@ C = {"CopySync を開き、「バックグラウンド同期を有効にする」をクリックします。ファイアウォールに聞かれたら許可します。",],"notes": [- "Windows 10(21H2 以降)と Windows 11、x64。",+ "Windows 10 と Windows 11、x64。","インストーラーは約 23 MB、ポータブル版は約 28 MB。","ウィンドウを閉じても、CopySync は画面右下の通知領域で動き続けます。",],diff --git a/tools/site/content/zh.py b/tools/site/content/zh.pyindex cff1297..6bb5927 100644--- a/tools/site/content/zh.py+++ b/tools/site/content/zh.py@@ -250,7 +250,7 @@ C = {"specs": [("版本", '1.6.1,<time datetime="2026-10-12">2026 年 10 月 12 日</time>发布'),("Mac 客户端", "macOS 13 Ventura 及以上;Apple 芯片与 Intel 芯片各有一个安装包,约 25 MB,不需要 Rosetta;也有两种芯片通用的版本,约 47 MB"),- ("Windows 客户端", "Windows 10(21H2 及以上)与 Windows 11,x64;按用户安装,不需要管理员权限;安装包约 23 MB"),+ ("Windows 客户端", "Windows 10 与 Windows 11,x64;按用户安装,不需要管理员权限;安装包约 23 MB"),("Linux 客户端", "x64 与 ARM64;.deb(Debian、Ubuntu 等)或 tar.gz(其他发行版),约 22 MB;""需要 X11 桌面,或者带 XWayland 的 Wayland 桌面(GNOME、KDE 等默认都带);GTK 3"),("服务器", "可选,只在跨网络时需要。Linux x86_64 或 ARM64(systemd 或 Docker)、macOS(Intel 与 Apple 芯片)、Windows 10 与 11 x64(系统服务);约 15 MB 内存"),@@ -873,7 +873,7 @@ C = {"打开 CopySync,点「启用后台同步」。防火墙询问时选择允许。",],"notes": [- "Windows 10(21H2 及以上)与 Windows 11,x64。",+ "Windows 10 与 Windows 11,x64。","安装程序约 23 MB,便携版约 28 MB。","关掉窗口后,CopySync 在任务栏右下角的托盘里继续运行。",],