programming

how to build desktop application : smart way

how to build desktop application with React(or HTML):

Before starting the steps, make sure you have installed the latest version of NodeJS. If not then please install it from official website Nodejs.org

Step 1:

Install Electron Forge globally using the following command from your windows terminal(i.e. PowerShell):

> npm install -g electron-forge

Step 2:

Let’s get started with the application
Use the following command to create your application:

> electron-forge init simple-desktop-app-electronj

Step 3:

Go to application directory,
> cd simple-desktop-app-electronjs

then run,
> npm start

Step 4:

Edit the index.html under src/ or copy/paste your code into it(build of angular/react/vue or any other)

Step5:

> npm run package (By defualt make executable of parent program, in our case Windows Application)
OR
> npm run package -- --platform=linux --arch=x64

Step 6:

This is the final command, 
> npm run make

moin

View Comments

  • If your storefront windows are constantly foggy and cloudy, there are a few possible causes.

  • Hello My name is Jessica cane.I am a professional blogger. My professional blog posts cover all things related to Commercial Glass Window and Storefront Glass- from design schemes through maintenance tips for you! You can also check my blogs!Remove A Commercial Glass Window

  • My brother suggested I would possibly like this blog.

    He was once totally right. This post truly made my day.
    You can not imagine simply how much time I had spent for this information! Thank you!

  • I got this web page from my pal who shared with me on the topic of this web site and now
    this time I am browsing this web page and reading very informative articles or reviews at this place.

  • That seems pretty simple. Can't appreciate power of electronjs much as well as the straightforwardness and simplicity of explaining things too.

  • Наша группа квалифицированных исполнителей проштудирована подать вам актуальные системы, которые не только гарантируют надежную защиту от зимы, но и подарят вашему жилью оригинальный вид.
    Мы деятельны с современными средствами, сертифицируя прочный термин эксплуатации и прекрасные результаты. Теплоизоляция внешнего слоя – это не только экономия энергии на отапливании, но и внимание о природной среде. Энергоспасающие инновации, каковые мы применяем, способствуют не только жилищу, но и сохранению природы.
    Самое центральное: Утепление фасадов в москве у нас стартует всего от 1250 рублей за м²! Это доступное решение, которое преобразит ваш хаус в фактический душевный угол с минимальными издержками.
    Наши достижения – это не лишь утепление, это формирование помещения, в где всякий элемент отразит ваш особенный манеру. Мы возьмем во внимание все все ваши просьбы, чтобы осуществить ваш дом еще еще более уютным и привлекательным.
    Подробнее на https://ppu-prof.ru/
    Не откладывайте занятия о своем ларце на потом! Обращайтесь к экспертам, и мы сделаем ваш дом не только теплее, но и изысканнее. Заинтересовались? Подробнее о наших сервисах вы можете узнать на портале. Добро пожаловать в универсум комфорта и качественного исполнения.

Recent Posts

Bash Script Basics Tutorial: #1

Bash Script Basics Bash scripting is a powerful way to automate tasks in Linux. This…

1 year ago

Screen vs Tmux: Which One to Choose?

Screen vs Tmux Both screen and tmux are popular terminal multiplexers that allow you to…

1 year ago

How to Use nohup

How to Use nohup The nohup command allows you to run a script or command…

1 year ago

Running Bash script in background

Running Bash script in background Running Bash script in the background is useful for executing…

1 year ago

How do I make Git ignore file mode (chmod)?

How do I make Git ignore file mode (chmod)? Git is a powerful version control…

1 year ago

Setup Tailwind CSS with Angular 11

Install tailwind css with npm Run the following command to install tailwind css npm install…

3 years ago

This website uses cookies.