ProtonMail / inbox-desktop

Desktop application for Mail and Calendar, made with Electron
GNU General Public License v3.0
60 stars 3 forks source link

Windows Installer, AppID #20

Open ZenInTexas opened 4 months ago

ZenInTexas commented 4 months ago

I had an issue with the proton-mail Windows installer not registering a Windows AppID for the proton-mail executable. Being a Windows developer, I thought I could fix it myself.

I cloned Squirrel/Squirrel.Windows. And I have built it.

I used the nuget package manager in Visual Studio 2022 pro, to add added "proton_mail-1.0.1-full.nupkg" as a source. But when I try to install from the nupkg, I get an error: "Package 'proton_mail 1.0.1' is not found in the following primary source(s): 'D:\src\ProtonMail\nupkg (from github)'. Please verify all your online package sources are available (OR) package id, version are specified correctly." ie, that directory has nupkg "proton_mail-1.0.1-full.nupkg"

I thought might need WebClients. So, I cloned ProtonMail/Webclients, specifically branch release/proton-mail@5.0.38.0 and got things running with yarn. In other words, I have the a proton-mail client that runs off of a local server at http:\127.0.0.0:8080, where I am able to use a browser to load the inbox of a ProtonMail test account.

I would appreciate it if you could help me build the installer, mostly so I can see about fixing some things.