sotch-pr35mac / syng

A free, open source, cross-platform, Chinese-To-English dictionary for desktops.
https://getsyng.com
GNU General Public License v3.0
159 stars 24 forks source link

Windows version outdated (v1.2.0 from site) #194

Closed james-s-w-clark closed 1 year ago

james-s-w-clark commented 2 years ago

Downloading https://github.com/sotch-pr35mac/syng/releases/download/v1.2.0/Syng-Windows-setup-x64.exe from https://www.getsyng.com/home#download gives version 1.2.0.

What does your process look like for making a release for different OSes? Maybe I can help with GitHub Actions to generate artefacts on tag.

sotch-pr35mac commented 2 years ago

For v1 my release and packaging processes were very ad-hoc. I used electron-packager to package releases for any given system, but I haven't run it in so long I can't quite remember exactly what to do. The gist of it would be:

  1. Clone the repo
  2. Checkout the release you want to build (the latest stable is v1.5.0)
  3. Run electron packager by following the instructions provided from them. I can provide any assets if you need them (like a icon or the like).

Related to this, work on v2 is on-going, and I'm currently working on migrating the beta from Electron to Tauri. As part of that transition I'll be adding CI to build and package releases including for Windows.