grainger-illinois / CTCast

Apache License 2.0
0 stars 0 forks source link

Investigate Mac and windows build #10

Open angrave opened 2 years ago

angrave commented 2 years ago

On OSX (on M1 laptop) ctcast-darwin-x64 open ctcast.app
The application cannot be opened for an unexpected reason, error=Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x60000131f930 {Error Domain=NSPOSIXErrorDomain Code=111 "Unknown error: 111" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}

On Windows: launches, a window briefly appears but then the application closes.

angrave commented 2 years ago

These articles from 2019 may be relevant https://samuelmeuli.com/blog/2019-04-07-packaging-and-publishing-an-electron-app/#code-signing https://samuelmeuli.com/blog/2019-11-17-automating-the-release-of-electron-apps/

angrave commented 2 years ago

Using 0.1.3-pre Mac build Navigating to LinkEncoder goes blank. In the dev console- react-dom.production.min.js:5193 TypeError: Cannot read properties of null (reading 'ip') at Bu (LinkEncoder.js:100) at ii (react-dom.production.min.js:3762) at Wi (react-dom.production.min.js:4406) at Hl (react-dom.production.min.js:6865) at Ps (react-dom.production.min.js:6277) at Cs (react-dom.production.min.js:6269) at Es (react-dom.production.min.js:6253) at gs (react-dom.production.min.js:5975) at react-dom.production.min.js:2835 at t.unstable_runWithPriority (scheduler.production.min.js:289)

Uncaught TypeError: Cannot read properties of null (reading 'ip') at Bu (LinkEncoder.js:100) Refreshing the page (using the menu or CMD-R) makes the problem go away

angrave commented 2 years ago

I'm leaving this build issue open until we have signed Mac and windows Builds. The current release actions and semantic versioning automatication build functional installers (exe etc) but their output is not yet code-signed. The above error with the app going blank as its own issue, #13.