fix: allow paths to asar archives to contain the .asar extension in directories (#20342)

This commit is contained in:
Milan Burda 2019-10-02 06:33:07 +02:00 committed by Cheng Zhao
parent 4ac4b34ae9
commit bf978e09e4
19 changed files with 204 additions and 183 deletions

View file

@ -25,7 +25,7 @@ app.once('ready', () => {
app.exit(1)
})
window.loadFile(path.resolve(__dirname, 'asar', 'video.asar', 'index.html'))
window.loadFile(path.resolve(__dirname, 'test.asar', 'video.asar', 'index.html'))
ipcMain.on('asar-video', (event, message, error) => {
if (message === 'ended') {