Skip to content

Commit

Permalink
Allow Pear to build on Windows (#97)
Browse files Browse the repository at this point in the history
* reconfigure install script for new submodule

* Remove redundant install-dependencies.ps1 command

* explicitly specify submodule branch
  • Loading branch information
gedeondoescode authored and nang-dev committed Jan 27, 2025
1 parent cf0b595 commit 257c84b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "extensions/pearai-submodule"]
path = extensions/pearai-submodule
url = https://github.com/trypear/pearai-extension.git
branch = main
5 changes: 2 additions & 3 deletions scripts/code.bat
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ set ELECTRON_ENABLE_STACK_DUMPING=1

:: Get Pear AI
setlocal
cd extensions/pearai-extension
call yarn install
call yarn build-all
cd extensions/pearai-submodule
powershell.exe -executionpolicy bypass -file .\scripts\build-extension.ps1
endlocal

:: Launch Code
Expand Down

0 comments on commit 257c84b

Please sign in to comment.