COVAIL / photon

RStudio Add-in to build Shiny apps utilizing the Electron framework
125 stars 25 forks source link

App size #4

Open vincent-van-hoef opened 5 years ago

vincent-van-hoef commented 5 years ago

Hello,

I was wondering whether there is a way to decrease the app size? I was playing around with a simple histogram app and the executable (in darwin x-64) came in at 1,2GB... I know these stand alone apps can never be very lightweight but is it possible to decrease the file size at least a bit? Thanks!

petegordon commented 5 years ago

We are super happy you asked this. We have wanted someone to try and help implement package stripping for a while. Can you help? Here's where Dirk explains it... http://dirk.eddelbuettel.com/blog/2017/08/20/#010_stripping_shared_libraries

coelidonum commented 4 years ago

Hello, I was wandering if there is any update on this issue. Is striping packages still the only way? Thank you

ahcyip commented 4 years ago

Is there a theoretical minimum size? I'm not sure why my whole electron folder ends up at almost 2 GB.

Wladimir-Sanyer commented 3 years ago

Excuse my ignorance, I am new to using Photon, I would like to know if you generate any zip in share, since I do not, and what I do to transport it is to transform the entire Photon folder electronShinyAppWindows into a zip, however I think I do this generates an error because the screen turns blank when it is transferred, which did not happen on my computer.