Mobile-Artificial-Intelligence / maid

Maid is a cross-platform Flutter app for interfacing with GGUF / llama.cpp models locally, and with Ollama and OpenAI models remotely.
MIT License
1.03k stars 98 forks source link

F-Droid can't build #582

Closed licaon-kter closed 3 days ago

licaon-kter commented 4 days ago

..as you've removed the custom versionCode code: https://github.com/Mobile-Artificial-Intelligence/maid/compare/1.2.8...main#diff-9526ccfd1d1813ed49c39f8c54dbeb512607376a007d824b905bc8b4e4d202d9L104 and it went back to Flutter defaults

ref: https://gitlab.com/fdroid/fdroiddata/-/jobs/7270851929#L935

/LE: fyi https://gitlab.com/fdroid/fdroiddata/-/commit/99d4dbeeeece4cbfd47828bb6a7a9037fbf29ad0

danemadsen commented 3 days ago

I'm looking into it. I removed that because for some reason its broken on the latest versions of flutter which I've which i had to move to.

I had a look at some other flutter open source projects and i cant really see how they've fixed it or they might just be on flutter 3.19 still.

danemadsen commented 3 days ago

@licaon-kter Ok ive fixed that error but im going to have to change the way build numbers work because google play wont let me upload 2 app bundles with a version code of 29. So... Im switching to using git index's as the build number so this release will be 16971 and 16972. I hope that works with fdroid because i have no other option

licaon-kter commented 3 days ago

If it's bigger than older and if arch number is last, yes :)

danemadsen commented 3 days ago

@licaon-kter Ok, Ive republished that for you. While im at it i should probably change the name of the apk's from maid-x86_64.apk and maid-arm64-v8a.apk to maid-android-x86_64.apk and maid-android-arm64-v8a.apk as im releasing more platforms and the release page gets confusing.

Would you like me to open up a PR for you or do you want to handle it yourself?

linsui commented 3 days ago

A PR is welcomed. :)