electron-userland / electron-windows-store

:package: Turn Electron Apps into Windows AppX Packages
MIT License
678 stars 86 forks source link

Mime Type is not correct and thus produces strange behaiviours #67

Closed stefanhuber closed 7 years ago

stefanhuber commented 7 years ago

I successfully created an appx package from a electron project. This works fine so far!

However if I try to check the filetype of the produced appx e.g. (on Mac or Linux): file --mime-type name-of-project.appx I get a result of mime type: application/zip.

Technically, it is just a ZIP. When I put the appx package on a webserver and download it from there Google Chrome, Firefox and Safari download the appx correctly. However Edge is converting the file into a zip file (most likely because of the ZIP mimetype). Is there a way to change the mime type?

stefanhuber commented 7 years ago

Ok be sure if you provide the appx from a webserver or similar, that the mime type is set to application/vns.ms-appx.