@@ -8,22 +8,22 @@ import { OsUtils } from './os-utils.js';
88import { spawn } from './spawn.js' ;
99
1010const DESKTOP_APP_PATHS = {
11- darwin : '/Applications/Codify .app' ,
11+ darwin : '/Applications/CodifyApp .app' ,
1212 linux : '/usr/bin/codify-desktop' ,
1313} ;
1414
1515const DOWNLOAD_URLS : Record < string , Record < string , string > > = {
1616 darwin : {
17- arm64 : 'https://releases-desktop.codifycli.com/channels/stable/Codify_aarch64 .dmg' ,
18- x64 : 'https://releases-desktop.codifycli.com/channels/stable/Codify_x64 .dmg' ,
17+ arm64 : 'https://releases-desktop.codifycli.com/channels/stable/CodifyApp_aarch64 .dmg' ,
18+ x64 : 'https://releases-desktop.codifycli.com/channels/stable/CodifyApp_x64 .dmg' ,
1919 } ,
2020 linux_deb : {
21- arm64 : 'https://releases-desktop.codifycli.com/channels/stable/Codify_arm64 .deb' ,
22- x64 : 'https://releases-desktop.codifycli.com/channels/stable/Codify_amd64 .deb' ,
21+ arm64 : 'https://releases-desktop.codifycli.com/channels/stable/CodifyApp_arm64 .deb' ,
22+ x64 : 'https://releases-desktop.codifycli.com/channels/stable/CodifyApp_amd64 .deb' ,
2323 } ,
2424 linux_rpm : {
25- aarch64 : 'https://releases-desktop.codifycli.com/channels/stable/Codify_aarch64 .rpm' ,
26- x64 : 'https://releases-desktop.codifycli.com/channels/stable/Codify_x86_64 .rpm' ,
25+ aarch64 : 'https://releases-desktop.codifycli.com/channels/stable/CodifyApp_aarch64 .rpm' ,
26+ x64 : 'https://releases-desktop.codifycli.com/channels/stable/CodifyApp_x86_64 .rpm' ,
2727 } ,
2828} ;
2929
@@ -79,7 +79,7 @@ export async function installDesktopApp(reporter: Reporter, url: string, platfor
7979 try {
8080 console . log ( 'Installing Codify desktop app...' ) ;
8181 await spawn ( `hdiutil attach ${ tmpFile } -mountpoint ${ mountPoint } -nobrowse -quiet` ) ;
82- await spawn ( `cp -R ${ mountPoint } /Codify .app /Applications/Codify .app` ) ;
82+ await spawn ( `cp -R ${ mountPoint } /CodifyApp .app /Applications/CodifyApp .app` ) ;
8383 } finally {
8484 await spawn ( `hdiutil detach ${ mountPoint } -quiet` ) . catch ( ( ) => { } ) ;
8585 await fs . unlink ( tmpFile ) . catch ( ( ) => { } ) ;
0 commit comments