312 Commits

Author SHA1 Message Date
Nikhil Sonti
d256f9acf7 new patch for pining nxtscape agents together 2025-07-09 08:36:52 -07:00
Nikhil Sonti
6cb3b213bc fix: windows build, export vcs variable 2025-07-05 22:09:06 +00:00
Nikhil Sonti
897e2c1e8b gcs fix 2025-07-05 15:06:42 -07:00
Nikhil Sonti
e557dc7dc1 fix: windows build fixes 2025-07-05 21:55:06 +00:00
Nikhil Sonti
a2654e715f fix: windows ziping 2025-07-05 21:46:19 +00:00
Nikhil Sonti
85bbc3239b use gclient as the service acocunt file 2025-07-05 21:33:08 +00:00
Nikhil Sonti
0d874ced4d Add DEPOT_TOOLS_WIN_TOOLCHAIN=0 for Windows builds 2025-07-05 21:29:45 +00:00
Nikhil Sonti
961f7efb19 Update README 2025-07-05 13:46:23 -07:00
Nikhil Sonti
7be159c58a Update README 2025-07-05 13:30:41 -07:00
Nikhil Sonti
2566f3d313 Update README 2025-07-05 13:28:17 -07:00
Nikhil Sonti
6baf1497f9 Merge branch 'main' of https://github.com/browseros-ai/BrowserOS v0.10.0 2025-07-05 13:17:22 -07:00
Nikhil Sonti
9dfefa044e v0.10.0 release 2025-07-05 13:17:18 -07:00
Nikhil Sonti
a5e4bb6aa5 bump versions 2025-07-05 15:46:49 -04:00
Nikhil Sonti
6487e43cca minor 2025-07-05 11:12:35 -07:00
Nikhil Sonti
1102092afd send GCS urls on slack and update NXTSCAPE_VERISON 2025-07-05 10:31:54 -07:00
Nikhil Sonti
b05baca4cf enable bug repoter 2025-07-05 10:24:06 -07:00
Nikhil Sonti
ee65c829a2 add OS info in slack notifications 2025-07-05 10:23:30 -07:00
Nikhil Sonti
f04d68ff48 fix package name on windows 2025-07-05 10:21:08 -07:00
Nikhil Sonti
a97fef635c gcs upload module 2025-07-05 10:17:34 -07:00
Nikhil Sonti
7cc38ee1fa parallel build based on core count 2025-07-05 10:01:53 -07:00
Nikhil Sonti
c9bf9e91f1 minor v0.9.1 release 2025-07-05 09:21:00 -07:00
Nikhil Sonti
699b3f952e fixes for windows build 2025-07-05 08:44:32 -07:00
Nikhil Sonti
f4c92b338c fixes to importer to work on windows 2025-07-05 07:56:36 -07:00
Nikhil Sonti
7992b68852 fix llm sidekick title issue 2025-07-04 16:43:34 -07:00
Nikhil Sonti
5cf3347673 bump nxtscape version 2025-07-04 16:05:57 -07:00
Nikhil Sonti
e8e18d31d7 updates to bug reporter 2025-07-04 16:05:36 -07:00
Nikhil Sonti
37c1f9eaf1 auto increate manifest verison too 2025-07-04 16:02:08 -07:00
Nikhil Sonti
1500d00776 Merge branch 'main' of https://github.com/browseros-ai/BrowserOS 2025-07-04 15:47:55 -07:00
Nikhil Sonti
ab199b41d1 inject module to inject nxtscape version 2025-07-04 15:47:28 -07:00
Felarof
0ea535299c Update README.md 2025-07-04 13:36:48 -07:00
Nikhil Sonti
ef9bae68ac windows packaging 2025-07-04 11:58:36 -07:00
Nikhil Sonti
b863393840 pyright config 2025-07-04 09:29:51 -07:00
Nikhil Sonti
784000d2a0 pyriht fixes 2025-07-04 09:27:44 -07:00
Nikhil Sonti
239e38fbf8 Revert "check bin on windows"
This reverts commit 89be22e770.
2025-07-03 16:07:59 -07:00
Nikhil Sonti
5ddd9918de udpate windows flags 2025-07-03 15:26:33 -07:00
Nikhil Sonti
89be22e770 check bin on windows 2025-07-03 14:46:49 -07:00
Nikhil Sonti
eae3cdcff5 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
58d29c7dc1 Merge branch 'main' of https://github.com/nxtscape/nxtscape 2025-07-03 13:45:35 -07:00
Nikhil Sonti
bca9029df8 windows compile support 2025-07-03 13:05:31 -07:00
Felarof
bddb22539f Update README.md 2025-07-03 12:09:44 -07:00
Nikhil Sonti
6eb76a10ee v0.9.0 release v0.9.0 2025-07-03 10:34:44 -07:00
Nikhil Sonti
46189385df fix merge module with correct app name 2025-07-03 13:28:02 -04:00
Felarof
736c48190d Update README 2025-07-02 17:29:33 -07:00
Felarof
bbd17b4caa Rebrand to BrowserOS
Updated readme
2025-07-02 17:27:41 -07:00
Felarof
8d8a2dfcee Update README.md 2025-07-02 17:19:56 -07:00
Nikhil Sonti
20f2bd950b disable bug reporter, bump version 2025-07-02 16:54:19 -07:00
Nikhil Sonti
b20079e9a7 new agent 2025-07-02 16:52:45 -07:00
Nikhil Sonti
0b01ffe14d update settings UI with new gpt models 2025-07-02 16:13:17 -07:00
Nikhil Sonti
09e380263c release v0.8.0 new dmg 2025-07-02 14:30:14 -07:00
Nikhil Sonti
2256b30d17 update icons 2025-07-02 12:37:01 -07:00