"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "script/package-electron-builder.ts" between
desktop-release-2.5.0-linux1.tar.gz and desktop-release-2.5.0-linux2.tar.gz

About: GitHub Desktop (Linux) is an open source Electron-based GitHub app. It is written in TypeScript and uses React. A fork of GitHub Desktop to support various Linux distributions. Release candidate.

package-electron-builder.ts  (desktop-release-2.5.0-linux1):package-electron-builder.ts  (desktop-release-2.5.0-linux2)
skipping to change at line 43 skipping to change at line 43
] ]
const { error } = cp.spawnSync(electronBuilder, args, { stdio: 'inherit' }) const { error } = cp.spawnSync(electronBuilder, args, { stdio: 'inherit' })
if (error != null) { if (error != null) {
return Promise.reject(error) return Promise.reject(error)
} }
const appImageInstaller = `${distRoot}/GitHubDesktop-linux-*.AppImage` const appImageInstaller = `${distRoot}/GitHubDesktop-linux-*.AppImage`
let files = await globPromise(appImageInstaller) const files = await globPromise(appImageInstaller)
if (files.length !== 1) { if (files.length !== 1) {
return Promise.reject( return Promise.reject(
`Expected one AppImage installer but instead found '${files.join( `Expected one AppImage installer but instead found '${files.join(
', ' ', '
)}' - exiting...` )}' - exiting...`
) )
} }
const appImageInstallerPath = files[0] const appImageInstallerPath = files[0]
const rpmInstaller = `${distRoot}/GitHubDesktop-linux-*.rpm` return Promise.resolve([appImageInstallerPath])
files = await globPromise(rpmInstaller)
if (files.length !== 1) {
return Promise.reject(
`Expected one RPM installer but instead found '${files.join(
', '
)}' - exiting...`
)
}
const rpmInstallerPath = files[0]
return Promise.resolve([appImageInstallerPath, rpmInstallerPath])
} }
 End of changes. 2 change blocks. 
15 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)