@@ -33,7 +33,7 @@ export function getExecutableName() {
3333}
3434
3535export function getOSXZipName ( ) {
36- return `${ productName } -${ getDistArchitecture ( ) } .zip`
36+ return `GitHubDesktopPlus-v ${ version } -macOS -${ getDistArchitecture ( ) } .zip`
3737}
3838
3939export function getOSXZipPath ( ) {
@@ -42,7 +42,7 @@ export function getOSXZipPath() {
4242
4343export function getWindowsInstallerName ( ) {
4444 const productName = getExecutableName ( )
45- return `${ productName } Setup -${ getDistArchitecture ( ) } .msi`
45+ return `${ productName } -v ${ version } -windows -${ getDistArchitecture ( ) } .msi`
4646}
4747
4848export function getWindowsInstallerPath ( ) {
@@ -51,7 +51,7 @@ export function getWindowsInstallerPath() {
5151
5252export function getWindowsStandaloneName ( ) {
5353 const productName = getExecutableName ( )
54- return `${ productName } Setup -${ getDistArchitecture ( ) } .exe`
54+ return `${ productName } -v ${ version } -windows -${ getDistArchitecture ( ) } .exe`
5555}
5656
5757export function getWindowsStandalonePath ( ) {
@@ -64,7 +64,7 @@ export function getWindowsFullNugetPackageName(
6464 const architectureInfix = includeArchitecture
6565 ? `-${ getDistArchitecture ( ) } `
6666 : ''
67- return `${ getWindowsIdentifierName ( ) } -${ version } ${ architectureInfix } -full.nupkg`
67+ return `${ getWindowsIdentifierName ( ) } -v ${ version } ${ architectureInfix } -full.nupkg`
6868}
6969
7070export function getWindowsFullNugetPackagePath ( ) {
@@ -82,7 +82,7 @@ export function getWindowsDeltaNugetPackageName(
8282 const architectureInfix = includeArchitecture
8383 ? `-${ getDistArchitecture ( ) } `
8484 : ''
85- return `${ getWindowsIdentifierName ( ) } -${ version } ${ architectureInfix } -delta.nupkg`
85+ return `${ getWindowsIdentifierName ( ) } -v ${ version } ${ architectureInfix } -delta.nupkg`
8686}
8787
8888export function getWindowsDeltaNugetPackagePath ( ) {
@@ -95,7 +95,7 @@ export function getWindowsDeltaNugetPackagePath() {
9595}
9696
9797export function getWindowsIdentifierName ( ) {
98- return 'GitHubDesktop '
98+ return 'GitHubDesktopPlus '
9999}
100100
101101export function getBundleSizes ( ) {
@@ -130,6 +130,16 @@ export function getDistArchitecture(): 'arm64' | 'x64' {
130130 return 'x64'
131131}
132132
133+ export function getArchitectureForFileName ( ) : 'arm64' | 'x86_64' {
134+ const arch = getDistArchitecture ( )
135+ switch ( arch ) {
136+ case 'arm64' :
137+ return 'arm64'
138+ case 'x64' :
139+ return 'x86_64'
140+ }
141+ }
142+
133143export function getUpdatesURL ( ) {
134144 // Disable auto-updates so that the app doesn't revert to the desktop/desktop upstream whenever there is an update
135145 return ''
0 commit comments