mirror of
https://github.com/desktop/desktop
synced 2024-09-19 08:02:22 +00:00
switch over to use new endpoint
This commit is contained in:
parent
464c047393
commit
7b2733cd22
|
@ -187,13 +187,13 @@ function packageApp(
|
|||
},
|
||||
}
|
||||
|
||||
packager(options, (err: Error, appPaths: string | string[]) => {
|
||||
if (err) {
|
||||
callback(err, appPaths)
|
||||
} else {
|
||||
packager(options)
|
||||
.then((appPaths: string | string[]) => {
|
||||
callback(null, appPaths)
|
||||
}
|
||||
})
|
||||
})
|
||||
.catch((err: Error) => {
|
||||
callback(err, [])
|
||||
})
|
||||
}
|
||||
|
||||
function removeAndCopy(source: string, destination: string) {
|
||||
|
|
Loading…
Reference in a new issue