Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

MacDock

A macOS-style desktop shell for Windows 11, written in C# (WinForms). It builds with the compiler that ships with Windows, so no SDK is needed.

MacDock on a MacBook Pro mockup

By @gadgetcue · YouTube · Instagram · Telegram

See the changelog for what's new in v3.4.0.

Installation guide

Requirements: Windows 11 (Windows 10 mostly works), x64, .NET Framework 4.x (already part of Windows). No admin rights and no SDK needed.

Only one MacDock install is supported. Installing again, or installing a newer version, replaces the existing one in %LOCALAPPDATA%\MacDock. Do not keep several copies or versions side by side. Install from File Explorer by double-clicking the installer; do not launch it from a sandboxed or packaged app's shell (such as a terminal inside another app), because per-user paths are redirected there and the install or restart can fail with a "path does not exist" popup.

Single-file installer

  1. Download MacDock-Setup.exe from the Releases page. Optionally check its SHA256 against the release notes: certutil -hashfile MacDock-Setup.exe SHA256.
  2. Double-click it and press OK on the prompt. The installer is not code-signed: if SmartScreen says "Windows protected your PC", click More info > Run anyway.
  3. Setup stops any running MacDock, installs to %LOCALAPPDATA%\MacDock, adds a Start Menu shortcut and a Settings > Apps > Installed apps entry, sets the dock to use the integrated GPU, asks whether to start it at sign-in, and starts the dock. Start at login is off unless you say yes (or turn it on in MacDock Settings); only then is one sign-in entry added (listed in Task Manager > Startup apps). There is no scheduled task.
  4. Silent install: MacDock-Setup.exe /S. It never turns start at login on by itself (an earlier choice is kept).

Updating

Download the newer MacDock-Setup.exe and run it over the existing install; your pins and settings are kept. Check for Updates downloads that installer to your Downloads folder, checks its SHA-256, and runs it only if you click Yes.

Start, restart, quit

  • Start / restart: open MacDock from the Start Menu, or run %LOCALAPPDATA%\MacDock\bin\MacDock.exe.
  • Quit: quitting from the MacDock menu restores the Windows taskbar. Closing, or force-closing, other apps never quits MacDock.
  • Taskbar stuck hidden (MacDock was killed while it was hidden): run MacDock.exe /restore (or mac-dock\restore-taskbar.bat from the repo).

Uninstall

  • Installed with MacDock-Setup.exe: Settings > Apps > Installed apps > MacDock > Uninstall, or run %LOCALAPPDATA%\MacDock\Setup.exe /uninstall (add /S to skip the prompt).

Either way, the taskbar is restored, MacDock is stopped, the sign-in entry and the Start Menu shortcut are removed, and the install folder is deleted. Your pins and settings in %APPDATA%\MacDock are kept until you delete that folder.

Why does Windows Defender flag MacDock?

Short version: it is a false positive, but it is understandable why it happens.

  • Unsigned, new, self-built. The exe is built with the C# compiler that ships with Windows and has no code-signing certificate. Unsigned executables with few downloads have no reputation, so SmartScreen and Defender's cloud heuristics treat them cautiously.
  • It does the things a shell does. MacDock uses global/low-level Windows hooks (keyboard, gestures), enumerates and thumbnails other apps' windows (window enumeration, DWM), applies glass effects with SetWindowCompositionAttribute, simulates input, hides or replaces taskbar behavior, and registers startup entries. Heuristic engines associate that combination with keyloggers and droppers, even though here it is used for the dock, menu bar and window previews.
  • What it does not do: MacDock has no account and no analytics or telemetry code. Network features are LocalSend and iPhone Share on your local network, plus optional ones you switch on (weather, lyrics, stocks and other online widgets, the assistant's model download, icon lookup, favicons, update check).

You do not have to take our word for it:

  • The source is fully open in this repo. Read it, or build it yourself: mac-dock\build.bat (run it from a folder path without a # in it).
  • Check the download's SHA256 (listed in each release) and upload the file to VirusTotal; a few engines may flag it heuristically.

If Defender quarantined it: Windows Security > Virus & threat protection > Protection history > select the item > Actions > Restore (or Allow on device). To stop it being re-flagged, add an exclusion: Virus & threat protection > Manage settings > Exclusions > Add or remove exclusions > Add an exclusion > Folder > %LOCALAPPDATA%\MacDock. Then run the installer again.

Help us: you can report the false positive to Microsoft at https://www.microsoft.com/en-us/wdsi/filesubmission (choose "Software developer", upload the exe). Each accepted report improves detection for everyone.

New in 3.2

Dynamic Island

Dynamic Island with the Siri-style assistant

A Siri-style assistant (type, or speak after clicking the microphone; it runs on your PC), a sliding tab bar, iOS-style Reminders and multi-note Quick Note.

Dynamic Island, Focus tab

Siri-style assistant

Genie effect

Genie minimize and restore

Control Center

Rebuilt Edit Controls, many new tiles, expandable Media, Sound and Display cards, wireless display and external monitor brightness.

Control Center

Launchpad

Redesigned, with folders, categories and renaming.

Launchpad

Desktop widgets

Over 40 widgets in three sizes: clocks, calendar, weather, reminders, notes, music, calculator, timers, system, stocks, gold rate, cricket, mutual funds and more. Click one to expand it, stack them, and arrange them from the Edit Widgets gallery. Online widgets are off until you turn them on.

Desktop widgets

Wallpapers and StandBy screensaver

Five original MacDock wallpapers with light and dark versions, and a screensaver with iPhone-style StandBy clock faces, calendar, weather, now playing and photos.

MacDock wallpapers

And more

Stage Manager, screen recording and a screenshot pop-up, touchpad gestures with three-finger drag, iPhone Share, World Clock, calendar, weather, drag-to-reorder menu bar icons, mouse-wheel volume and brightness, Dock position lock, and a What's New screen.

What's New in MacDock 3.2

MP4 versions of the clips: Dynamic Island, Genie.

Features- Dock: magnification, running indicators, drag to reorder, drop files on apps, and a working Recycle Bin. Pins live in dock.txt (apps, folders, files, websites, ms-settings: links).

  • Genie minimize: windows are sucked into their dock icon and flow back out, drawn from live window thumbnails.
  • Top menu bar: Apple-style menu, per-app menus, CPU/RAM readout, Wi-Fi, Bluetooth, volume, battery, clock, and optional hiding of the Windows taskbar.
  • Dynamic Island: a small pill at the top that springs open for notifications, power events, now-playing media and a hover peek.
  • Window previews: hover a dock icon to see live thumbnails of its windows (DWM); click one to focus it.
  • Clipboard history: the Dynamic Island keeps recent copied items so you can peek and re-copy them.
  • Notifications: Windows notifications are read straight from the system database, so they show up instantly.
  • Control Center: Wi-Fi, Bluetooth, AirDrop-style tile, Focus, display brightness and sound sliders, using real Windows APIs.
  • Mission Control and Launchpad: overview of every open window plus an All Apps page; add apps to the dock by dragging.
  • Touchpad gestures: macOS-style multi-finger gestures on a Precision Touchpad (Settings > Touchpad Gestures, off by default).
  • Spotlight: global hotkey search.
  • Settings app: dock, theme and icon options.
  • Icon packs: .icns icon packs in icons/ and dark-icons/, with optional macosicons.com lookup, a "Use original app icons" master switch and your own custom pack (folder or .zip).
  • Web apps: Brave, Edge and Chrome "Install as app" windows are treated as their own apps.
  • LocalSend: AirDrop-style file sharing with nearby devices, with a device-picker popup, an Explorer "Send with LocalSend" right-click entry, and automatic port fallback.
  • Downloads and folder fan: dock folders open as a Fan, Grid or List, with folder colors, rename and drag to the Recycle Bin.
  • Media tile and more Control Center tiles: now-playing artwork and title, Night light, Project, Battery saver, Airplane mode.
  • Fullscreen aware: the dock, bar and island hide for fullscreen apps.
  • Native glass: DWM background blur on the dock, bar, menus and panels.

Memory use

Since v3.0 MacDock no longer trims its working set and keeps up to 150 MB resident, so Task Manager shows more than the older figures below.

Measured on the v1.5 build on Windows 11 (1920x1080) with the dock idle: ~7-43 MB working set (about 24 MB average over a minute; Windows trims it), ~92-103 MB private bytes, and a peak working set of ~140 MB since launch (start-up and opening Launchpad). Numbers vary with how many apps you pin and which icon packs you load.

Build from source

Requires only Windows 10/11:

cd mac-dock
build.bat

build.bat builds and deploys the live copy to %LOCALAPPDATA%\MacDock\MacDock.exe (flat folder); no exe stays in mac-dock/. To package the installer, run installer\build-setup.ps1 -Exe <path to a built MacDock.exe>. Run restore-taskbar.bat if the taskbar stays hidden.

Configuration

Edit mac-dock/dock.txt. Lines starting with # are ignored; Label | target sets a custom name; --- starts the right-hand section; @hide-taskbar on|off toggles the taskbar. An optional macosicons.com API key goes in dock.txt as @macosicons-key = YOUR_KEY or in the MACOSICONS_API_KEY environment variable.

Support

MacDock is free, with no ads and no tracking. If it saves you time, you can buy me a coffee: scan the QR with any UPI app.

UPI QR support card

Credits

Fonts: Inter (SIL Open Font License). Icons in icons/ and dark-icons/ belong to their respective authors.

Made by @gadgetcue. Follow for updates:

关于 About

macOS-style dock and desktop shell for Windows 11: dock, menu bar, Mission Control, Launchpad, Spotlight
csharpdesktop-customizationdocklaunchpadmacosmacos-dockmission-controlspotlightwindows-11winforms

语言 Languages

C#78.6%
Rust20.9%
PowerShell0.3%
Python0.1%
Batchfile0.1%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
51
Total Commits
峰值: 22次/周
Less
More

核心贡献者 Contributors