Click here to Skip to main content
14,423,198 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Thought of the Day Pin
jeron125-Sep-19 8:07
Memberjeron125-Sep-19 8:07 
GeneralRe: Thought of the Day Pin
Ravi Bhavnani25-Sep-19 8:57
professionalRavi Bhavnani25-Sep-19 8:57 
GeneralRe: Thought of the Day Pin
jeron125-Sep-19 9:00
Memberjeron125-Sep-19 9:00 
GeneralRe: Thought of the Day Pin
Johnny J.25-Sep-19 7:47
professionalJohnny J.25-Sep-19 7:47 
GeneralRe: Thought of the Day Pin
W Balboos25-Sep-19 8:17
mveW Balboos25-Sep-19 8:17 
GeneralRe: Thought of the Day Pin
W Balboos25-Sep-19 8:22
mveW Balboos25-Sep-19 8:22 
GeneralRe: Thought of the Day Pin
Mike Hankey25-Sep-19 9:39
professionalMike Hankey25-Sep-19 9:39 
GeneralCross-Platform Dev Via Electron Pin
raddevus25-Sep-19 3:40
communityengineerraddevus25-Sep-19 3:40 
Because I started running Ubuntu as my main desktop I needed my password creation app (C'YaPass - the WinForms version) on my Ubuntu desktop but wasn't sure of the best (or good) way to create a desktop app for Linux.

I DuckDuckGo'd it and found Electron -- Electron is basically Node & Chrome engine that runs natively from your desktop.

Visual Studio Code is an Electron app.
Anyways, I had already created a very basic HTML5, JavaScript, Bootstrap version of my desktop app (C'YaPass : Never type a password again[^]) and that made the conversion to Electron very fast.

Consistent on Windows, Linux, Mac
The really cool thing is that when you run the app on Linux, Windows or Mac it looks exactly the same.

Here's a snapshot :
https://i.stack.imgur.com/yLq7E.png[^]

Bootstrap
It is interesting because Bootstrap helps create basic controls like we Windows Devs are accustomed to having.
Installation Packages
I just need to learn how to create an installation package for each platform now.

It's really a simple idea (wrapping up browser so users think it is a desktop app) but it works really well.

Completely Open Source
FYI - You can get the source code at : GitHub - raddevus/CYaPass-Electron: The official C'YaPass desktop app built on Electron (runs on Windows, Linux, Mac)[^]

Easy To Try Out
You have to have Node (and NPM) installed.
But if you do you just:
1. git clone https://github.com/raddevus/CYaPass-Electron
2. npm install
3. npm start

modified 25-Sep-19 8:56am.

GeneralRe: Cross-Platform Dev Via Electron Pin
Marc Clifton25-Sep-19 4:14
communityengineerMarc Clifton25-Sep-19 4:14 
GeneralRe: Cross-Platform Dev Via Electron Pin
raddevus25-Sep-19 4:21
communityengineerraddevus25-Sep-19 4:21 
GeneralRe: Cross-Platform Dev Via Electron Pin
RickZeeland25-Sep-19 4:31
communityengineerRickZeeland25-Sep-19 4:31 
GeneralRe: Cross-Platform Dev Via Electron Pin
raddevus25-Sep-19 4:52
communityengineerraddevus25-Sep-19 4:52 
GeneralRe: Cross-Platform Dev Via Electron Pin
RickZeeland25-Sep-19 7:16
communityengineerRickZeeland25-Sep-19 7:16 
GeneralRe: Cross-Platform Dev Via Electron Pin
CodeWraith25-Sep-19 5:53
MemberCodeWraith25-Sep-19 5:53 
GeneralRe: Cross-Platform Dev Via Electron Pin
raddevus25-Sep-19 6:15
communityengineerraddevus25-Sep-19 6:15 
GeneralRe: Cross-Platform Dev Via Electron Pin
CodeWraith25-Sep-19 6:31
MemberCodeWraith25-Sep-19 6:31 
GeneralRe: Cross-Platform Dev Via Electron Pin
raddevus25-Sep-19 6:45
communityengineerraddevus25-Sep-19 6:45 
GeneralRe: Cross-Platform Dev Via Electron Pin
CodeWraith25-Sep-19 7:02
MemberCodeWraith25-Sep-19 7:02 
GeneralRe: Cross-Platform Dev Via Electron Pin
raddevus25-Sep-19 8:14
communityengineerraddevus25-Sep-19 8:14 
GeneralRe: Cross-Platform Dev Via Electron Pin
CodeWraith25-Sep-19 8:26
MemberCodeWraith25-Sep-19 8:26 
GeneralRe: Cross-Platform Dev Via Electron Pin
raddevus25-Sep-19 8:38
communityengineerraddevus25-Sep-19 8:38 
GeneralRe: Cross-Platform Dev Via Electron Pin
CodeWraith25-Sep-19 8:48
MemberCodeWraith25-Sep-19 8:48 
GeneralRe: Cross-Platform Dev Via Electron Pin
raddevus25-Sep-19 9:34
communityengineerraddevus25-Sep-19 9:34 
GeneralRe: Cross-Platform Dev Via Electron Pin
CodeWraith25-Sep-19 9:58
MemberCodeWraith25-Sep-19 9:58 
GeneralRe: Cross-Platform Dev Via Electron Pin
dandy7225-Sep-19 6:35
Memberdandy7225-Sep-19 6:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.