mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
This commit is contained in:
File diff suppressed because it is too large
Load Diff
2
spec/fixtures/module/no-asar.js
vendored
2
spec/fixtures/module/no-asar.js
vendored
@@ -1,7 +1,7 @@
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
|
||||
const stats = fs.statSync(path.join(__dirname, '..', 'asar', 'a.asar'))
|
||||
const stats = fs.statSync(path.join(__dirname, '..', 'test.asar', 'a.asar'))
|
||||
|
||||
const details = {
|
||||
isFile: stats.isFile(),
|
||||
|
||||
2
spec/fixtures/no-proprietary-codecs.js
vendored
2
spec/fixtures/no-proprietary-codecs.js
vendored
@@ -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') {
|
||||
|
||||
|
Before Width: | Height: | Size: 628 KiB After Width: | Height: | Size: 628 KiB |
Reference in New Issue
Block a user