I've just finish developing an electron app for editing PDFs. And I want to create :
APPX Package on Windows Store (for Windows).
DMG Package on App Store (for Mac).
I've searched a lot and didn't find yet how to do it.
Could Anyone help me and tell me how to do it please.
Check out the following tutorial to learn how to create an MSIX for an electron application, using Advanced Installer:
MSIX package for electron application
Advanced Installer has lightweight support for MacOS, but it can only create ZIP-based packages for Java-based applications. So you can't use it to build an DMG for your electron app.
Disclaimer: I work on the team building Advanced Installer
Related
I build an electron app that will be distributed as both portable and installable version.
I added electron-updater to get the installed version automatically updated. I see that portable version is downloading the update as well, even though it cannot update.
I am looking for a function isPortable() in electron to switch off autoupdater in portable app. For now i found out that I can check process.env.PORTABLE_EXECUTABLE_DIR for directory but I wonder if there is more straightforward option.
I have an electron application.
my app is using python for her living.
by using electron-packager and then electron-installer-windows
by the tutorial in https://github.com/electron-userland/electron-installer-windows
i made .exe(portable version) and .msi(installation version) files out of it.
the thing is, i want to give my clients 1 file (either msi or exe) that will let them use the application. (will install python and then automatically install my electron msi).
any suggestions?
I've just spent a very long time looking through everything on https://electron.atom.io/docs/ but I cannot find any mention of how to put the files for Mac and Linux. Only Windows, which I already have set up.
I remember that NW.js had such instructions, which I followed in the past, but it's obviously too ridiculous to accept that I should have to look at a competitor's manual to figure out how to distribute Electron apps.
I remember that at both Linux and Mac had some very fancy/weird packaging need, very unlike Windows.
I would recommend looking into electron-builder which would help you with generating packages for all of the mentioned systems (with auto-update and other goodies).
You can also take a look at electron-boilerplate to see how it can be nicely implemented (this boilerplate has a release command that allows you to generate packages).
For the mac version you can use electron packager to generate a .app file then you can use appdmg to generate a .dmg
For the linux version you can use electron packager to generate a executable although it comes with lots of other files.
I've tried electron-installer-debian but I couldn't install the output .deb
I have a relatively simple node application:
- built on Electron
- using an SQLite database
- successfully packaged as a OSX application
Are there any tools out there for converting/re-packaging my Electron OSX app to iOS?
Am I correct in understanding that Phonegap is not a like-for-like replacement for Electron?
Cheers everyone/anyone!
Sam
It really depends on how deep your Electron app is bound to Electron specific API. Those specific API comprises Node and Electron functions. Those specific Electron functions (for example application menu) will be something you have to manually migrate. So the steps would be:
Create new Cordova app in iOS. Cordova web site has detailed instructions.
Copy your html/js/css content from Electron app and hook on Cordova bootstrapper
Replace Electron specific API to something pure web
Replace Node functions with possibly NPM analogous modules
Note:some Node API won't be available from Cordova app, for example file system API.
I am building an app that I eventually would like to release on Cydia, however I'm having trouble finding any good documentation on developing apps for jailbroken devices. So firstly, if you have any good links for developing for jailbroken iOS devices that would also be much appreciated!
My current problem is that for my app to work I would require tools from other packages on Cydia like otool and possibly some script interpreter (haven't decided which one yet). Is there a way that I can have these dependencies install alongside my current app in Cydia? I feel like I've seen it before downloading other apps.
Yes, absolutely.
When you build your app, you should make sure to bundle it as a Debian package. Some repositories will let you just give them a normal .app bundle, which they will then use to build a .deb file. But, if you want this, I'd recommend learning to build a .deb bundle yourself. More instructions from Saurik here.
Inside the .deb bundle, you will have a DEBIAN subdirectory, with a file inside named control:
DEBIAN/control
DEBIAN/postinst
DEBIAN/postrm
DEBIAN/preinst
The control file is where the Cydia store app description, the app version number (used by the store), and a bunch of other information goes. An optional field in the control file lets you specify that your app has dependencies. If you list another package as a dependency, that package will automatically get installed when Cydia installs your app. Something like this:
Depends: bigbosshackertools
This line is to specify a dependency on the BigBoss Recommended Tools package (which is a very large set of packages, so be aware that you're adding a large install set to your own app).
Or, you could try
Depends: odcctools
to use Saurik's Darwin CC Tools package.
I have been building jailbreak apps for a while, so I do it with homemade scripts, but there's now a tool for helping with this called iOSOpenDev. You could use that to build your package, and edit your control file, if you aren't already familiar with .deb packages, and don't want to bother (although I'd recommend learning).