Summary
After installing Sync v0.7.1 using the official Windows installer, launching Sync from the Start menu does not open the desktop application. The installed executable starts in CLI mode and immediately exits instead.
Environment
- Sync: v0.7.1, build
6673569 - Installer:
Sync_Windows_x64-setup.exe - Windows: x64, version 25H2, build 26200.8875
- Installation location:
%LOCALAPPDATA%\Sync\git-sync.exe
The downloaded installer matches the official v0.7.1 release asset:
- Size:
30,844,549 bytes - SHA-256:
8DBC249E26E1FE4834883A9A406804D736C023A8805BDC247B97A5511A3C90D1
Steps to reproduce
- Download and install the official v0.7.1 Windows installer.
- Launch Sync from the Start menu, or run
%LOCALAPPDATA%\Sync\git-sync.exe without arguments. - Observe that no desktop window opens.
Actual behavior
When executed from a terminal, the no-argument invocation prints the CLI help and exits in approximately 0.3 seconds. The generated Start-menu shortcut also supplies no arguments.
Expected behavior
Launching the installed application from the Start menu should open the Sync desktop UI.
Workaround
Running the executable with the explicit UI argument successfully opens a responsive Welcome to Sync window:
&"$env:LOCALAPPDATA\Sync\git-sync.exe"--ui
Likely cause
In v0.7.1, should_launch_ui() returns true for an explicit ui/--ui argument or a matching macOS __CFBundleIdentifier. A no-argument Windows launch reaches the default false branch and is routed to the CLI:
https://github.com/sync-buzz/sync/blob/v0.7.1/crates/sync-app/src/main.rs#L39-L78
The Windows NSIS Start-menu shortcut launches git-sync.exe without --ui, so the shortcut cannot open the desktop application.
Suggested direction
- Add
--ui to the Windows installer shortcut target, or otherwise distinguish bundled desktop launches from intentional bare CLI invocations. - Preserve explicit subcommands and
--no-ui as CLI mode. - Add a Windows test covering the installed shortcut/no-argument launch behavior.
Summary
After installing Sync v0.7.1 using the official Windows installer, launching Sync from the Start menu does not open the desktop application. The installed executable starts in CLI mode and immediately exits instead.
Environment
6673569Sync_Windows_x64-setup.exe%LOCALAPPDATA%\Sync\git-sync.exeThe downloaded installer matches the official v0.7.1 release asset:
30,844,549bytes8DBC249E26E1FE4834883A9A406804D736C023A8805BDC247B97A5511A3C90D1Steps to reproduce
%LOCALAPPDATA%\Sync\git-sync.exewithout arguments.Actual behavior
When executed from a terminal, the no-argument invocation prints the CLI help and exits in approximately 0.3 seconds. The generated Start-menu shortcut also supplies no arguments.
Expected behavior
Launching the installed application from the Start menu should open the Sync desktop UI.
Workaround
Running the executable with the explicit UI argument successfully opens a responsive Welcome to Sync window:
Likely cause
In v0.7.1,
should_launch_ui()returnstruefor an explicitui/--uiargument or a matching macOS__CFBundleIdentifier. A no-argument Windows launch reaches the defaultfalsebranch and is routed to the CLI:https://github.com/sync-buzz/sync/blob/v0.7.1/crates/sync-app/src/main.rs#L39-L78
The Windows NSIS Start-menu shortcut launches
git-sync.exewithout--ui, so the shortcut cannot open the desktop application.Suggested direction
--uito the Windows installer shortcut target, or otherwise distinguish bundled desktop launches from intentional bare CLI invocations.--no-uias CLI mode.