Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test autoupdating on Intel Mac and Windows #15

Open
nang-dev opened this issue Sep 27, 2024 · 0 comments
Open

Test autoupdating on Intel Mac and Windows #15

nang-dev opened this issue Sep 27, 2024 · 0 comments
Assignees

Comments

@nang-dev
Copy link

Download v1.2.0
Add ZIP of the PearAI dev version
Add ZIP to Digital ocan
Edit ENV vars:
PEARAI_APP_MAC_INTEL_ZIP="https://pearai-dev.nyc3.digitaloceanspaces.com/PearAI-latest/PearAI-darwin-x64/PearAI.zip"
PEARAI_APP_WINDOWS_ZIP="https://pearai-dev.nyc3.digitaloceanspaces.com/PearAI-latest/PearAI-windows/PearAI.zip"
LATEST_RELEASE_MAC_INTEL="1.0.0"
LATEST_RELEASE_WINDOWS="1.0.0"
Change the "updateUrl" within the v1.2.0's product.json (might be package.json) to local host

run server

Edit: https://github.com/trypear/pearai-server/blob/reset/api/app/resources/updates/update.py#L111:L111

basically we just need to make sure that the os_type is right from Intel Mac and Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants