sourcegit-scm / sourcegit

Windows/macOS/Linux GUI client for GIT users
MIT License
610 stars 66 forks source link

feat: add windows x64 installer build with NSIS (#175) #202

Closed gadfly3173 closed 1 week ago

gadfly3173 commented 1 week ago

To use NSIS generate installer, you need install NSIS from https://nsis.sourceforge.io/Download or run choco install nsis -y

NSIS reads the nsi script as ANSI Code Page, so I set the encoding of build/build.windows.installer.nsi to ASCII to ensure compatibility.

love-linger commented 1 week ago

In my opinion, the key to issue #175 is to provide a more convenient way to self-update rather than requiring an installer.

love-linger commented 1 week ago

If someone could help add support for Winget's installation and update methods for this app, this issue would be mostly resolved.

gadfly3173 commented 1 week ago

According to https://learn.microsoft.com/en-us/windows/package-manager/package/

Windows Package Manager currently supports installers in the following formats: MSIX, MSI, and EXE.

A installer is required, maybe I should change NSIS installer to MSIX?