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.

portable splashImage not working

See original GitHub issue
  • Version: 22.9.1
  • Electron Version: 10.1.5
  • Target: portable

I’m using

"portable": {
    "splashImage": "build/splash.bmp"
},

but the only thing that happens when launching the app is this little flash, then the app launches normally.

bug

The title of the window says “Setup : Installing” Am I doing something wrong? I even tried https://www.npmjs.com/package/@catdad/to-bmp

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
vmartinscommented, Aug 17, 2021

Try converting the image to BMP Version 3 (Microsoft Windows 3.x). ImageMagick convert:

$ convert splash-old.bmp BMP3:splash-new.bmp
0reactions
Coding-Kiwicommented, Nov 14, 2022

Just as a little follow up quite some time later: I generated a bmp using imagick and compared it to the one I had, the difference was that the tool I used set the resolution to 0, imagick sets a default of 72dpi.

So yeah, a bitmap with 24bit and nonzero resolution is needed, we might need to add this to the documentation

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding a splash screen to portable electron builder apps
Use electron-builder ^22.4.0 (earlier versions will not work) ... electron app to build a portable executable that displays a splash image ...
Read more >
Problem with SplashImage - AutoIt General Help and Support ...
Works for me. I used PNG2BMP to convert the image from a Portable Network Graphic to a Bitmap image that could be interpreted...
Read more >
Help Needed with PAL | PortableApps.com
Hi, I am trying to make a portable app in portableapps.com format. But The app is not starting. It's only showing splash image...
Read more >
How to Create a Splash Screen for Electron App - Medium
This is a short tutorial on how to create a splash screen for an electron application. What is a Splash Screen? A splash...
Read more >
Electron splashscreen on startup application - node.js
Hi all. Showing and hiding the window is the first idea I had. But how can I display a frameless window then a...
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