mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-01 01:35:11 +00:00
Fix upgrade filenames on Mac and Windows
This commit is contained in:
parent
c7bab43b7b
commit
e9dc3324cb
1 changed files with 2 additions and 2 deletions
|
@ -107,11 +107,11 @@ export const selectUpgradeFilename = createSelector(
|
||||||
(platform, version) => {
|
(platform, version) => {
|
||||||
switch (platform) {
|
switch (platform) {
|
||||||
case 'darwin':
|
case 'darwin':
|
||||||
return `LBRY-${version}.dmg`;
|
return `LBRY_${version}.dmg`;
|
||||||
case 'linux':
|
case 'linux':
|
||||||
return `LBRY_${version}_amd64.deb`;
|
return `LBRY_${version}_amd64.deb`;
|
||||||
case 'win32':
|
case 'win32':
|
||||||
return `LBRY.Setup.${version}.exe`;
|
return `LBRY_${version}.exe`;
|
||||||
default:
|
default:
|
||||||
throw 'Unknown platform';
|
throw 'Unknown platform';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue