Programmatically detect install type - electron

I'm developing an electron application, and I need a way to programmatically detect if the currently running application was installed using an .msi installer or an .exe installer. There are certain features of my application that I need to disable if the user installed with .msi. Is it possible to detect this in my node.js app code?

Related

How to make electron app supports CLI, embed oclif project?

I built an CLI app using oclif, and is planning to support desktop app using electron.
I am wondering if it's possible to let electron supports CLI without opening a window.
It would be the best if I can reuse existing oclif code in the electron project.

Ionic ios app development

I am new to mobile development, working on my first app for both iOS and Android. I was under the impression that I can develop it through Ionic once (on my Linux system) and deploy it for both, but recently found out I need to develop on a Mac for iOS?
Like this guy said to someone equally unimpressed:
https://stackoverflow.com/a/38117802/8494414
Also stated here:
https://stackoverflow.com/a/40779188/8494414
My question is, at which stage do I need a Mac? Can I do all the development on my system and then just deploy with a Mac? Did I need to do something special from the get-go to support iOS? I am already rather deep in the process, but should I be considering a different framework?
I do find it strange that this knowledge doesn't seem very explicitly available.
Thank you for any help!
If you want to do a build for the iOS platform you will always need a macOS based operating system with xcode installed at some point. You can do all the coding on your linux machine as the hybrid part will be the same for all platforms. But if you want to test or deploy the iOS version of your app you will need either a mac or you will have to use some third party service where you can upload your sourcecode and you get a ready for install .ipa back. Ionic itself offers a service like that: see Ionic Package Service
As joshmorony said on his blog:
In order to compile an iOS application using Cordova, you need the iOS
SDK, which is only possible if you have a Mac and XCode. This is not
an issue for Android because the Android SDK can be installed on both
Windows and Mac. If you are not using a Mac, you simply can not create
iOS builds.
you can also use some virtual machines but they can be illegal and I don't recommend them

Can native windows be shown in Electron?

I'm working with a customer that wants to migrate an existing native Windows app to Electron in stages. We'd like to be able to embed the native windows inside electron and switch between them and the browser as necessary. I know that Electron includes a module for showing native platform menus. Is it possible to write a native module that can do this for windows as well?

Deploying Delphi custom component to Android and IOS

I have created a mobile application for android and ios with Delphi XE5. I needed a custom component, so I created a package and I wrote my component. I wrote a windows application for testing my custom compnent and every thing is OK so far. I add an instance of my component on the Firemonkey mobile form in design time and it shows it correctly. But when I try to run app on IOS Simulator or Android emulator it crashes, I think the problem is caused by not deploying my package along with my app, but I don't know how should I include this package in my mobile app deployment. Any idea?
P.S I know how to deploy database files to Android and IOS
Run time packages are not supported under iOS. Just statically link your component to your application.

Blackberry: Application Back up

I want to store all the third party application and after the wipe the device i want to again restore all the third party application that are installed on my device. IS there is any API available for this kind of application backup in Blackberry.
You could use a scripting language to build this kind of functionality using JavaLoader which is provided by the development environment.

Resources