
export PATH="/usr/local/mac-dev/bin:$PATH".export CPPFLAGS="-I/usr/local/mac-dev/include".export LDFLAGS="-L/usr/local/mac-dev/lib".Export OpenSSL 1.1 variables for compiling the applications below.
#ELECTRON INSTALL MYSQL ON MAC INSTALL#
config -prefix=/usr/local/mac-dev & make & make install Download OpenSSL 1.1.1 tar.gz, see link below, extract and compile.Create folder like /usr/local/mac-dev, give it rights of your current user, use the folder as a prefix during compilations.Install some applications with brew like autoconf, automake, libtool, pkg-config and gnu-tar.Therefore you need to compile the majority of the applications yourself. The main problem is the lack of a engine PKCS 11 in brew that supports OpenSSL 1.1. Signing Windows app on Mac using osslsigncode ¶ Java -jar jsign-2.1.jar -keystore hardwareToken.cfg -storepass "your password here" -storetype PKCS11 -tsaurl -alias /link/to/cert.pem Run java -jar jsign-2.1.jar with the correct parameters.Install token driver for Mac, export the certificate (convert it to pem when it is.On Linux you will find it in /lib, while on Mac youĬan find it in /Library/Frameworks or /usr/local/lib. Check the library link to make sure you have.Create a file called hardwareToken.cfg.Make sure Java is installed by running java -v.Make sure you got Java installed before trying this solution. Signing Windows app on Mac/Linux using JSign ¶
#ELECTRON INSTALL MYSQL ON MAC HOW TO#
Thisĭocuments finishes with some remarks and how to integrate the signing process with Electron Builder. You can also use osslsigncode on both systems, for Linux and Mac a how-to is included. There is one method that works on LinuxĪnd Mac, using Java. There are multiple methods to achieve this. Signing Windows apps on Unix is supported. The regular certificates supported out of the box. Described setup and configuration is required only if you have EV code signing certificate.
