question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Specify own Info.plist file and create desktop shortcut icon?

See original GitHub issue
  • Version: 5.10.1
  • Target: macOS, Windows

Qeustion 1:

I would like to build my app for macOS through, but my app implemented a protocol for web url lunch my app, for example: using builder://. In which case, I need to specify the Info.plist file for the CFBundleURLTypes.

The electron-packager support an option for specify my own plist file.

I read the electron-builder document and also tried to specify .build.mac.entitlements path to my own .plist file, it seems like doesn’t work.

Is there any way to specify it on the package.json?

Qeustion 2:

The windows installer installed the app files into C:\Users\ouchangkun\AppData\Local\appname\app-version, is there any way to make installer create an desktop shortcut icon and Start lunch menu?

Thanks a lot. 😃

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
develarcommented, Jun 29, 2016

Use build.extend-info (https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#extend-info) to add custom entries to the Info.plist.

3reactions
develarcommented, Jun 29, 2016

The windows installer installed the app files into

If you use default Squirrel.Windows, please read https://github.com/electron/windows-installer#handling-squirrel-events (in short — use https://github.com/mongodb-js/electron-squirrel-startup)

NSIS installer creates shortcuts without any code on your side (but currently NSIS doesn’t support auto-update).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem with Icon.png (Icon specified in the Info.plist not found ...
When you create icons for iphone, xcode automatically assigns those icons to ipad. ... Right-click on the icon files and select Get Info....
Read more >
Missing Info.plist value CFBundleI… | Apple Developer Forums
> Go to the main setting for the app by clicking your app name and then selecting the GENERAL tab then under App...
Read more >
Using Info.plist in your Apps (Swift 5, Xcode 12) - YouTube
In this video we will learn in depth about the info. plist file in your Xcode projects. This property list files help the...
Read more >
Creating a Pseudo-Application - Modding Mac OS X [Book]
In these steps, you'll create a new “application” and assign an icon to it. ... Copy the Calculator application's Info.plist file into the...
Read more >
What makes an app unique from POV of options -> assign to ...
I've experimented and haven't been able to hit on a combination of actual binary name / Info.plist values / PkgInfo string that will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found