e51594a010
Introduce a cross-platform platform layer and port scaffolding for macOS and Linux. CMakeLists.txt refactored to select platform sources, set executable type per OS, and use CEF helper macros for runtime deployment. Add platform/types.h, startup/paths/browser_host APIs and implementations for Windows, macOS, and Linux (many are stubs for mac/linux). Refactor app entry and lifetime to use nebula::platform::AppStartup (app/main, run.{h,cpp}), move window/browser host logic into platform/browser_host.*, and update NebulaController to use platform APIs (native handles, sizing, visibility, cache-busting token, etc.). Add README and detailed docs/cross-platform.md describing build layout and porting status.
27 lines
871 B
Markdown
27 lines
871 B
Markdown
# Nebula Browser
|
|
|
|
A Chromium Embedded Framework (CEF) browser with a custom HTML chrome UI.
|
|
|
|
## Documentation
|
|
|
|
- **[Cross-platform build & architecture](docs/cross-platform.md)** — how to use one repo for Windows, macOS, and Linux; CEF setup; source layout; porting status.
|
|
|
|
## Quick start (Windows)
|
|
|
|
1. Download the [CEF standard binary distribution](https://cef-builds.spotifycdn.com/index.html) for Windows 64-bit.
|
|
2. Extract into `thirdparty/cef/` so `thirdparty/cef/cmake/FindCEF.cmake` exists.
|
|
3. Build:
|
|
|
|
```powershell
|
|
cmake -B build
|
|
cmake --build build --config Release
|
|
```
|
|
|
|
4. Run `build\Release\NebulaBrowser.exe`.
|
|
|
|
For macOS/Linux prerequisites, directory structure, and current port status, see [docs/cross-platform.md](docs/cross-platform.md).
|
|
|
|
## License
|
|
|
|
See the CEF distribution and Chromium license terms for third-party runtime components.
|