File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ const runTests = useTS =>
15
15
path . join ( process . cwd ( ) , '__tests__/projects/' + projectName , p )
16
16
17
17
await project . run (
18
- `vue-cli-service electron:build --x64 ${
19
- isWin ? '--win zip ' : ''
20
- } --linux zip `
18
+ `vue-cli-service electron:build --x64 --dir --linux ${
19
+ isWin ? ' --windows ' : ''
20
+ } `
21
21
)
22
22
// Ensure /dist is not modified
23
23
expect ( project . has ( 'dist' ) ) . toBe ( false )
@@ -35,17 +35,14 @@ const runTests = useTS =>
35
35
expect ( project . has ( `dist_electron/linux-unpacked/${ projectName } ` ) ) . toBe (
36
36
true
37
37
)
38
- // Ensure that setup file was not created
38
+ // Ensure that setup files were not created
39
39
expect ( project . has ( `dist_electron/${ projectName } Setup 0.1.0.exe` ) ) . toBe (
40
40
false
41
41
)
42
- // Ensure that zip files were created
43
- if ( isWin ) {
44
- expect ( project . has ( `dist_electron/${ projectName } -0.1.0-win.zip` ) ) . toBe (
45
- true
46
- )
47
- }
48
- expect ( project . has ( `dist_electron/${ projectName } -0.1.0.zip` ) ) . toBe ( true )
42
+ expect (
43
+ project . has ( `dist_electron/${ projectName } -0.1.0-x86_64.AppImage` )
44
+ ) . toBe ( false )
45
+ expect ( project . has ( `dist_electron/${ projectName } _0.1.0_amd64` ) ) . toBe ( false )
49
46
// Ensure base is set properly (for app protocol)
50
47
const index = fs . readFileSync (
51
48
projectPath ( 'dist_electron/bundled/index.html' ) ,
You can’t perform that action at this time.
0 commit comments