So we can go a step ahead and consider not only how to package our app but also how to distribute it.Įlectron Forge comes into play, allowing us to create nice step by step installation wizards for our application. zip file and send it to your users, that does not provide a great user experience. dll and config files.Īlthough you can put this together on a. deb for Debian-based Linux distributions, and so on.Įlectron Packager is the official Electron tool to help us convert our source code to a bundle specific for macOS, Linux, or Windows.įor Windows, Electron Packager will create a functional. To distribute your app with Electron, you need to package it for each operating system you want to target. Once you have them in both formats, create a new folder in the root of the project (I called it assets) and put both icon files there. As with other GNU/Linux systems, Antergos is virtually free of viruses and spyware. Antergos uses the official Arch Linux package repositories and the AUR (user-submitted packages) along with its own software repositories. png, fortunately, you can create icon files from a. Antergos is easy to use and very customizable It is open source, free and based on the fast and lightweight Arch Linux. Write, edit, copy, move and delete files on ext2, ext3, ext4 Linux drives connected directly to your Mac Fast, seamless and easy to use.
If you work on a Mac computer and need to read or write files from HDD, SSD or flash drive formatted under Linux, you need extFS for Mac by Paragon Software. We can implement that behavior easily with electron by adding the following code to app.js. extFS is one of the primary file systems of Linux. You can find the app configured to build on macOS, Windows, and Linux here:īefore delving into packaging our app, let’s do a small adjustment to our code to respect the conventions of the macOS platform, where usually applications remain open even if they don’t have any active windows. Note: I usually provide a link to a repository with the completed project at the end of the tutorial, but for this one I think is important that you have the package.json at hand to compare it with yours and find any possible differences in case you run into problems. In this tutorial, we will use the codebase that we ended up with in the last part. Their ability to run on multiple platforms. On Ubuntu based distros it’s pretty easy, just open up a terminal and enter the following command, all on one line.Two of these Electron app development series, we created a basic text loader, and then addressed some security issues.īut at the end of the day, we have not yet experienced the best feature of Electron apps:
To allow Linux to read an exFAT drive you need to install the exfat-utils utility. (Note that not all drives come formatted as exFAT, you may need to reformat them to the exFAT system). I can just plug in an exFAT drive into them, and both will let me read and write to them. Windows and macOS both support exFAT out of the box. I can have long file names, and store files bigger than four gigabytes in size to name a few. To get that compatibility across OS’s, I need to format those drives in a file format called exFAT.ĮxFAT is a replacement for the older FAT32, but has the benefits of other file systems such as NTFS. Yet I have no problem installing and booting Ubuntu-based distros such as MInt and Bodhi on either. The install seems to work fine initially, but when I reboot, the distro wont launch. I would like the ability to share external drives, such as thumb drives or external SSD drives, between them. My iMac and MacBook dont seem to like Debian-based distros (i.e., LMDE) when I try to install them on either hard drive. The biggest downside to using APFS is that Macs with older macOS versions (macOS 10.12.6 Sierra and older) can’t read, write, or access drives that use it. This, alongside its speed and optimization improvements, makes APFS a great file system.
Some run Windows 10, my Apple macBooks all run macOS, and on others I have a variety of Linux distros, primarily Ubuntu based. APFS is also more reliable, leading to less file corruption when compared to Mac OS Extended. I have a lot of computers, on which I use a variety of operating systems.