Champagne runs applications from Mac OS X 10.6 Snow Leopard on anywhere without a virtual machine, using the similar way Wine runs Windows programs on other systems. The applications appear as ordinary windows on your desktop, next to your other programs.
It now can run on macOS and Windows.
Champagne is an early research project. TextEdit works: you can type, use its menus and keyboard shortcuts, and move its windows. Calculator, Stickies, Font Book and Dictionary open, and so does the Finder. Many other applications may or may not work.
You need CMake, Ninja and a C++ compiler: Xcode's command-line tools on a Mac, Visual Studio with the C++ workload on Windows (use its "x64 Native Tools" command prompt).
git submodule update --init
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
ninja -C buildChampagne doesn't distribute any of Apple's software. You need your own Mac OS X 10.6.7 install DVD image, and a Mac to unpack it into a folder:
tools/make_root.sh /path/to/MacOSX-10.6.7.dmg /path/to/snowleopard-rootOn a Mac you can use that folder directly. For Windows, pack it into a single file and copy that file to the Windows PC:
build/launcher/champagne --pack-root /path/to/snowleopard-root /path/to/snowleopard.rootimgStart an application by its path inside Snow Leopard, for example TextEdit:
build/launcher/champagne --root /path/to/snowleopard-root --window /Applications/TextEdit.app/Contents/MacOS/TextEditOn Windows, from a command prompt:
build\launcher\champagne.exe --root C:/path/to/snowleopard.rootimg --window /Applications/TextEdit.app/Contents/MacOS/TextEditTo start the Finder, and open other applications from it:
build/launcher/champagne --root /path/to/snowleopard-root --window /usr/bin/open /System/Library/CoreServices/Finder.appYour documents and settings are kept in ~/.champagne/overlay (on Windows,
.champagne\overlay in your user folder); Snow Leopard itself is never
changed. To quit, quit the application, or press Ctrl+C in the terminal.
On Windows, the Ctrl key works as Command (Ctrl+S saves, Ctrl+Q quits) and Alt as Option.
See docs/development.md for how Champagne works, its status, all options, debugging settings, tests and design documents.
Champagne is free software, under the GNU Lesser General Public License, version 2.1 or (at your option) any later version: see LICENSE.
Builds include Unicorn, which is under the GNU General Public License version 2, so a built Champagne as a whole is distributed under GPL version 2. Apple's software isn't part of Champagne and isn't covered by its licence.
