cweekly / cross-platform-desktop

Simple cross-platform desktop to demonstrate how .Net Core can be used in an Electron application.

Home Page:https://scotch.io/@rui/how-to-build-a-cross-platform-desktop-application-with-electron-and-net-core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cross-platform-desktop

Simple cross-platform desktop to demonstrate how .Net Core can be used in an Electron application.

Implementation detail

https://scotch.io/@rui/how-to-build-a-cross-platform-desktop-application-with-electron-and-net-core

Demos

Windows

MacOs

run

Install prerequisites

Windows

​ Download and install the latest .NET Core SDK for Windows

run.cmd

MacOS

​ In order to use .NET Core on MacOS, we first need to install the latest version of OpenSSL. The easiest way to get this is from http://brew.sh/ ​ After installing brew, do the following:

brew update
brew install openssl
mkdir -p /usr/local/lib
ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/
ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/ 

Then download and install the latest .NET Core SDK for MacOS

./run.sh

build distributables

npm run dist

About

Simple cross-platform desktop to demonstrate how .Net Core can be used in an Electron application.

https://scotch.io/@rui/how-to-build-a-cross-platform-desktop-application-with-electron-and-net-core

License:MIT License


Languages

Language:JavaScript 54.2%Language:C# 26.8%Language:HTML 14.6%Language:Shell 2.2%Language:Batchfile 2.2%