Electron + Ember desktop application



I’m trying to build a desktop application with Electron and Ember. As I don’t exclude the possibility to have a web application in the future, I’d like to keep the ember app separate from the back-end. For now I have created an ember-cli application inside of my npm module, but I when I load the ember page I get this errors:

GET file:///client/dist/assets/vendor.css net::ERR_FILE_NOT_FOUND
GET file:///client/dist/assets/client.css net::ERR_FILE_NOT_FOUND
GET file:///client/dist/assets/vendor.js net::ERR_FILE_NOT_FOUND
GET file:///client/dist/assets/client.js net::ERR_FILE_NOT_FOUND

How do I tell Ember that I’m loading pages from the file system and not from a server?

Do you have any other general recommendation on how to proceed?



Maybe you use the location type “auto” that has bad side effects in electron (it adds the tag in particular). Use the location type “hash” in config/environment.js.



Thanks, that solved the issue!



I am using ‘hash’ and still have no image from public/assets loaded. :frowning: : Any idea?