Logo

dev-resources.site

for different kinds of informations.

Cross-compile a distributed Electron App

Published at
10/17/2024
Categories
hacktoberfest
electron
Author
jswhisperer
Categories
2 categories in total
hacktoberfest
open
electron
open
Author
11 person written this
jswhisperer
open
Cross-compile a distributed Electron App

Another quick post, I see a lot of developers would rather complain on github than go into hacker mode and solve their issue.

My last post around LiveCaptioning mentions WhisperScript a macOS only electron app. On the thread there are (rightly so) 50ish complaints about it not being availalbe for Windows or Linux.

Let's fix that! Electron was great back in the day, but security was never one of them. A lot of these app even commercially distributed unknowingly I hope, ship there source code. 🫨🫨🫨

An electron package app format is called ASAR, and luckily for us you can unpack it, it's basically a zip or rar type compression format.

Easiest if you can install to say mac then right click and show package contents.

Image description

Let's find the ASAR here, Contents/Resources

Image description

Now one liner npx asar pack untouched app.asar

Naviagte to the newly created "app" folder install the deps eg. yarn

and repackage npx electron-forge package --platform=win32 --arch="x64"

windows users rejoice, there may be additional fiddling with native binaries etc but this is 90% the work.

It is important to of course only do this on properly licensed (APACHE etc) or rather unlicensed software.

We are in luck
Image description

electron Article's
30 articles in total
Favicon
First thoughts on Electron
Favicon
Let's build website builder
Favicon
Study With Me 1.0
Favicon
[Boost]
Favicon
Electric Bus Pantograph Market: Trends, Challenges, Drivers, and Insights Through 2033
Favicon
Keyboard Sounds β€” Make any keyboard sound mechanical
Favicon
Electron
Favicon
I Hate Website Builders – So I Built My Own
Favicon
Is the browser always the right tool for the job?
Favicon
E-House Market Insights: Compact Solutions for Modern Power Challenges
Favicon
.NET Cross-Platform Web Desktop App Frameworks as Electron Alternatives
Favicon
How to remotely EV code-sign a windows application using ssl.com
Favicon
Configuring webpack to handle multiple browser windows in Electron
Favicon
Using native modules in Electron
Favicon
Requesting camera and microphone permission in an Electron app
Favicon
πŸš€Building a Multi-Step Loading Screen with Electron
Favicon
Building deep-links in Electron application
Favicon
MaweJS: Editor for plantsers
Favicon
Handling TypeORM migrations in Electron apps
Favicon
Unicode-Search - my first Electron app!
Favicon
Creating a synchronized store between main and renderer process in Electron
Favicon
The ultimate Electron app with Next.js and React Server Components
Favicon
Electric Bikes And Coding
Favicon
Creating a Browser Window in Electron: A Step-by-Step Guide
Favicon
How to Create a Windows Executable with Electron Forge that Adds a Desktop Shortcut?
Favicon
Building and publishing an Electron application using electron-builder
Favicon
Cross-compile a distributed Electron App
Favicon
The Only Electron Framework You'll Ever Need: Introducing the Ideal Electron Framework
Favicon
Overcoming Electron-Builder Limitations: A C# and NSIS Hybrid Approach
Favicon
How to Use Electron.js to Create Cross-Platform Desktop Applications

Featured ones: