cables-gl / cables_docs

cables documentation docs.cables.gl
https://cables.gl/docs/docs
33 stars 14 forks source link

Windows Electron Export not working in Windows 11 #717

Open wirmachenbunt opened 1 month ago

wirmachenbunt commented 1 month ago

image

when i export a windows electron app, it works on windows 10 but does not on windows 11. in comparison, i tried a backup version of an older electron app and it works on windows 11.

this is probably a electron exporter issue.

not sure if this has anything to do with it, the working electron app has an app icon (executable file) and export which doesn't work, has no electron icon (executable).

webdemoexe (windows) export works, but wasn't helpful in my case because this version did not like to connect to a local websocket.

steam0r commented 3 weeks ago

hey, i just tried this with win 11 and this patch, after clicking "run anyhow" it worked fine

https://cables.gl/p/TWBC-N

is this with every patch for you?

wirmachenbunt commented 2 weeks ago

just tried another project on windows 10, electron does not work, webdemo works i'll try the same on win11, maybe its the old OS

wirmachenbunt commented 2 weeks ago

btw, the cables standalone electron version works on this win10 system. weirdo

pandrr commented 2 weeks ago

it is a lot more complicated then one would think, electron export will soon be updated

steam0r commented 2 weeks ago

hm, are you admin user? not admin user? can you run this as admin? are there some company-security-rules or profiles that prevent running unsigned executables?

wirmachenbunt commented 2 weeks ago

i'm admin. i tested this on two windows machines, one is win10, the other is win11. the filesize looks strange, all 1kb ? see the video

https://github.com/cables-gl/cables_docs/assets/1138673/c9bc34bd-3b18-419d-b26a-593ecc7e2baa

wirmachenbunt commented 2 weeks ago

it is definetely something fishy with the exported version since all other electron apps work fine on both windows machines, i tested things, build my own electron app locally, tried old electron exports...all working.

steam0r commented 2 weeks ago

okay, grabbed a win11 machine AND exported from live, not dev, had the same encounter, updated the files to build electron on live and i dont have this anymore...did you export the win10 from dev and the win11 from live? can you try again...?

wirmachenbunt commented 2 weeks ago

ok, looks like this is fixed. it took a lot longer to export and the filesize are not all 1kb. ... and it works :) tested on win11 and dev. thank you !

steam0r commented 2 weeks ago

did you export the win10 working version from dev, though?