johanw666 / Signal-Android

Fork from a private messenger for Android with extra options added: full backup and (partial, ony text) xml backup of messages. Restore can happen at any time, not only after a fresh install. Import SMS database. Import of (unencrypted) WhatsApp databases. Removed apk expire. Choose between passphrase protection and the Android screenlock. Choice for the backup location (internal or removable storage on Android < 11 (on 11 and higher this is already possible)). Set the maptype in the place picker. Option to treat view-once media as normal media. Option to ignore remote deletion. Choose between FCM or websocket notification delivery.
https://johanw.home.xs4all.nl/Signal/signal-jw.html
GNU Affero General Public License v3.0
246 stars 16 forks source link

Pure black version #82

Closed ghost closed 11 months ago

ghost commented 11 months ago

I made this simple script that will build and publish a variant of your signal app that has Pure Black instead of the classic dark theme, that will be always after you publish a new release.

It will be an independent release so it won't mess with any of your works or releases.

It is fully automated, it will check for updates everyday and does the work if there are any updates.

What do you need to make it work: 1- Create a new branch to avoid conflicts when you sync with the upstream, it doesn't matter if it empty because the script will fetch your latest branch.

2- The tags you made should be with your usual naming pattern: vX.X.X.X-JW or the script will not work, this is not an error, I made it this way so it won't publish any releases for tags that you made for another reason.

3- You should add your GitHub access token that has the right permissions to create tags and releases and upload the apks built, name it GAT.

4- You should also add your signin key in Base 64 format in the repository secrets, name it KEYSTORE_BASE64, also add the password for that key, name it KEYSTORE_PASS.

The script is well tested in my repo, feel free to edit it as you wish.

I hope you'll accept this change that will solve #67, and thank you for your time.

ghost commented 11 months ago

After reviewing I found out that the script won't work on your repo, just let me try to fix it in a way that will work, the problem is in the tag comparison, it will compare the same tags because the two of them are extracted from your repo.

ghost commented 11 months ago

Should be fine by now, let me know when you check.

johanw666 commented 11 months ago

What am I supposed to do here?

ghost commented 11 months ago

What am I supposed to do here?

Just create a new branch as I said, put the workflow file there, give it the permissions needed by your GitHub Access Token, put your signin keys in the repo's secret.

GitHub Actions will handle the rest.