Commit Graph

2457 Commits

Author SHA1 Message Date
Nikhil Sonti
b87524a18b fix: windows build fixes 2025-07-05 21:55:06 +00:00
Nikhil Sonti
4cf08387fd fix: windows ziping 2025-07-05 21:46:19 +00:00
Nikhil Sonti
ae56fe79e1 use gclient as the service acocunt file 2025-07-05 21:33:08 +00:00
Nikhil Sonti
430afc8b14 Add DEPOT_TOOLS_WIN_TOOLCHAIN=0 for Windows builds 2025-07-05 21:29:45 +00:00
Nikhil Sonti
c31c679174 Update README 2025-07-05 13:46:23 -07:00
Nikhil Sonti
8f5ce35254 Update README 2025-07-05 13:30:41 -07:00
Nikhil Sonti
dc407a70eb Update README 2025-07-05 13:28:17 -07:00
Nikhil Sonti
d8ac1f72bd Merge branch 'main' of https://github.com/browseros-ai/BrowserOS v0.10.0 2025-07-05 13:17:22 -07:00
Nikhil Sonti
4e123df3b1 v0.10.0 release 2025-07-05 13:17:18 -07:00
Nikhil Sonti
860d89db66 bump versions 2025-07-05 15:46:49 -04:00
Nikhil Sonti
5b72ac3ab2 minor 2025-07-05 11:12:35 -07:00
Nikhil Sonti
6c953ce725 send GCS urls on slack and update NXTSCAPE_VERISON 2025-07-05 10:31:54 -07:00
Nikhil Sonti
4c391083b8 enable bug repoter 2025-07-05 10:24:06 -07:00
Nikhil Sonti
6ae37968ac add OS info in slack notifications 2025-07-05 10:23:30 -07:00
Nikhil Sonti
1274883f61 fix package name on windows 2025-07-05 10:21:08 -07:00
Nikhil Sonti
952061932d gcs upload module 2025-07-05 10:17:34 -07:00
Nikhil Sonti
ea21c9788a parallel build based on core count 2025-07-05 10:01:53 -07:00
Nikhil Sonti
71591ed514 minor v0.9.1 release 2025-07-05 09:21:00 -07:00
Nikhil Sonti
ec564767f8 fixes for windows build 2025-07-05 08:44:32 -07:00
Nikhil Sonti
cb5357cc95 fixes to importer to work on windows 2025-07-05 07:56:36 -07:00
Nikhil Sonti
40bbc6e8fa fix llm sidekick title issue 2025-07-04 16:43:34 -07:00
Nikhil Sonti
cd841d730d bump nxtscape version 2025-07-04 16:05:57 -07:00
Nikhil Sonti
f18ca860fa updates to bug reporter 2025-07-04 16:05:36 -07:00
Nikhil Sonti
0656703df0 auto increate manifest verison too 2025-07-04 16:02:08 -07:00
Nikhil Sonti
9a4c9acf93 Merge branch 'main' of https://github.com/browseros-ai/BrowserOS 2025-07-04 15:47:55 -07:00
Nikhil Sonti
7b4c1ae44a inject module to inject nxtscape version 2025-07-04 15:47:28 -07:00
Felarof
d7d8f76378 Update README.md 2025-07-04 13:36:48 -07:00
Nikhil Sonti
4f3f0325db windows packaging 2025-07-04 11:58:36 -07:00
Nikhil Sonti
12ee1bbba7 pyright config 2025-07-04 09:29:51 -07:00
Nikhil Sonti
fc2eac9825 pyriht fixes 2025-07-04 09:27:44 -07:00
Nikhil Sonti
5492aaf8e2 Revert "check bin on windows"
This reverts commit 5a76669210.
2025-07-03 16:07:59 -07:00
Nikhil Sonti
1fb0ec11f7 udpate windows flags 2025-07-03 15:26:33 -07:00
Nikhil Sonti
368f912e26 check bin on windows 2025-07-03 14:46:49 -07:00
Nikhil Sonti
361c4cfb31 windows build support
- Added platform detection constants: `IS_WINDOWS`, `IS_MACOS`, `IS_LINUX`
- Created platform utilities:
  - `get_platform()` - Returns "windows", "macos", or "linux"
  - `get_platform_arch()` - Returns default architecture (x64 for Windows, arm64/x64 for macOS)
  - `get_executable_extension()` - Returns ".exe" on Windows, empty otherwise
  - `get_app_extension()` - Returns ".exe" on Windows, ".app" on macOS
  - `normalize_path()` - Handles platform-specific path separators
  - `join_paths()` - Platform-aware path joining

- Automatic platform detection and configuration
- Platform-specific app names:
  - Windows: `chrome.exe` and `BrowserOS.exe`
  - macOS: `Chromium.app` and `BrowserOS.app`
- Platform-specific output directories:
  - Windows: `out\Default_x64`
  - macOS: `out/Default_arm64` or `out/Default_x64`
- All path methods now use `join_paths()` for consistent path handling
- GN flags file path now includes platform: `flags.{platform}.{build_type}.gn`

- Created `flags.windows.debug.gn` - Windows debug build configuration
- Created `flags.windows.release.gn` - Windows release build configuration
- Configured for Windows-specific settings:
  - Uses system Visual Studio and Windows SDK
  - Target CPU: x64
  - Windows-specific optimizations (LLD linker, thin LTO)

- Uses `join_paths()` for all path operations
- Works with Windows paths correctly

- Uses `join_paths()` for VERSION file path
- Works with Windows executable names

- Replaced Unix `curl` command with Python's `urllib.request`
- Replaced Unix `tar` command with Python's `tarfile` module
- Now fully cross-platform

- Switched from `patch` command to `git apply` for better cross-platform support
- Uses `git apply` with `--3way` fallback for better conflict resolution
- No longer needs to find patch.exe on Windows
- Works seamlessly on all platforms where Git is installed

- Added platform-specific imports
- macOS-only modules (sign, package, postbuild) are conditionally imported
- Stub functions provided for non-macOS platforms
- Sparkle setup is skipped on non-macOS platforms

- `sign.py` - Added note that this is macOS-specific (Windows would use signtool.exe)
- `package.py` - Added note that this is macOS-specific (Windows would use MSI/NSIS)
- `postbuild.py` - macOS-specific (modifies Info.plist files)

```powershell
python build\build.py --chromium-src C:\src\chromium --build

python build\build.py --chromium-src C:\src\chromium --configure --build

python build\build.py --chromium-src C:\src\chromium --build --build-type release
```

```bash
python build/build.py --chromium-src /mnt/c/src/chromium --apply-patches

python build\build.py --chromium-src C:\src\chromium --build
```

1. **Python 3.x** - With pip for dependencies
2. **depot_tools** - Added to PATH (includes gn, gclient, autoninja)
3. **Visual Studio** - For Windows SDK and compiler
4. **Git** - Required for version control and applying patches
5. **Chromium source** - Properly synced with depot_tools

 Clean
 Git operations (clone, fetch, checkout)
 Patches (with Git for Windows)
 Configure (gn gen)
 Build (autoninja)
 String replacements
 Resource copying
 Chromium file replacements

 Sign - Requires Windows signtool.exe implementation
 Package - Requires Windows MSI/NSIS packaging
 Post-build - Requires Windows manifest handling
 Universal builds - macOS-specific feature

1. Create `modules/win/sign.py` using signtool.exe
2. Create `modules/win/package.py` for MSI/exe packaging
3. Create `modules/win/postbuild.py` for manifest handling
4. Update `build.py` to dynamically import platform modules
2025-07-03 14:40:05 -07:00
Nikhil Sonti
5404529c8c Merge branch 'main' of https://github.com/nxtscape/nxtscape 2025-07-03 13:45:35 -07:00
Nikhil Sonti
4cfb33d09b windows compile support 2025-07-03 13:05:31 -07:00
Felarof
8a5711c097 Update README.md 2025-07-03 12:09:44 -07:00
Nikhil Sonti
8b3f9b2f18 v0.9.0 release v0.9.0 2025-07-03 10:34:44 -07:00
Nikhil Sonti
914845c2d0 fix merge module with correct app name 2025-07-03 13:28:02 -04:00
Felarof
d2e04d1c92 Update README 2025-07-02 17:29:33 -07:00
Felarof
f38bf8514e Rebrand to BrowserOS
Updated readme
2025-07-02 17:27:41 -07:00
Felarof
54113a23f3 Update README.md 2025-07-02 17:19:56 -07:00
Nikhil Sonti
7aef13fccf disable bug reporter, bump version 2025-07-02 16:54:19 -07:00
Nikhil Sonti
4d26fe5b33 new agent 2025-07-02 16:52:45 -07:00
Nikhil Sonti
a95eaf5726 update settings UI with new gpt models 2025-07-02 16:13:17 -07:00
Nikhil Sonti
f3f08eee6e release v0.8.0 new dmg 2025-07-02 14:30:14 -07:00
Nikhil Sonti
3acd993061 update icons 2025-07-02 12:37:01 -07:00
Nikhil Sonti
5fc8c18825 updates to ai agent 2025-07-02 12:15:44 -07:00
Nikhil Sonti
92a9fcd2be minor 2025-07-02 12:13:22 -07:00
Nikhil Sonti
42c38661e0 updates to settings ui 2025-07-02 12:12:43 -07:00