htdcx / code-push-go

code-push-server-go cli
MIT License
23 stars 5 forks source link

On Windows, there is a build folder in the zip package packaged by code-push-go, resulting in an update error #9

Open skylarklxlong opened 2 weeks ago

skylarklxlong commented 2 weeks ago

error log

[CodePush] Update is invalid - A JS bundle file named "index.android.bundle" could not be found within the downloaded contents. Please check that you are releasing your CodePush updates using the exact same JS bundle file name that was shipped with your app's binary.

error image image

code-push-go build

set GOARCH=amd64
set GOOS=linux #or windows not available
go build -o code-push-go.exe main.go
mv code-push-go(.exe) <You project>

code-push-go create_bundle

./code-push-go create_bundle -t 1.1.1 -n xxx-Android -d TEST --description \"修复已知问题;优化使用体验;\"
skylarklxlong commented 1 week ago

On MacOS is OK ! image

htdcx commented 1 week ago

Try v1.0.3

skylarklxlong commented 5 days ago

v1.0.4 still doesn't work.

image

image