mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-08 01:10:03 +02:00
1.5 KiB
1.5 KiB
+++ title = "Forcing windows to work" weight = 10 +++
Steps followed to get installing on windows to work
- Install build tools for Visual Studio
- Desktop development with c++
- Windows 10 sdk (at least 10.0.19041.0).
- C++ ATL for v143 build tools (your architecture)
- Install git for windows: https://git-scm.com/download/win
- Configuring the line ending conversions must be: Checkout as-is, commit as-is
- Enable experimental built-in file system monitor
- Install mozilla build. See mozillas documentation
- Install Nodejs and yarn - This should install chocoalaty
- Clone pulse recursivly (cmd)
- Install dependancies
yarn
- Create link
yarn setupLink:win
- Disabled anti-malware on 'C:\mozilla-build' and working directory to reduce system load
- download and init
- import patches
- ./mach boostrap in engine
- choco install make
- yarn build
- ./mach build
Fixing UI bugs
TODO: flesh this out Without a correct manifest file, windows will report on windows 8 on windows 10 / 11, leading to a variety of UI bugs.
Notes to future self
- Try running commands in MozillaBuild shell rather than windows cmd
- Tests need to be disabled by default, they take up too much build time
TODO:
UI
- Fix titlebar buttons - Caused by firefox thinking I am on windows 8
Build
- Test to see if git in git-bash / mozilla's terminal is faster
- Use git-bash / mozilla terminal for git
- Make sure yarn build works