diff --git a/electron-builder.yml b/electron-builder.yml index 89360a23..220f94f6 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -21,6 +21,8 @@ mac: - zip hardenedRuntime: true gatekeeperAssess: false + notarize: + teamId: ${env.APPLE_TEAM_ID} icon: resources/icons/mac/icon.icns dmg: diff --git a/test/main/utils/pathDecoder.test.ts b/test/main/utils/pathDecoder.test.ts index e95c9b07..c0a4e50f 100644 --- a/test/main/utils/pathDecoder.test.ts +++ b/test/main/utils/pathDecoder.test.ts @@ -100,7 +100,7 @@ describe('pathDecoder', () => { it('should prefer cwdHint over lossy decode for dashed project names', () => { // Without cwdHint, dashes are decoded as slashes (lossy) - expect(extractProjectName('-Users-name-claude-devtools')).toBe('context'); + expect(extractProjectName('-Users-name-claude-devtools')).toBe('devtools'); // With cwdHint, the actual project name is preserved expect( extractProjectName('-Users-name-claude-devtools', '/Users/name/claude-devtools') @@ -108,7 +108,7 @@ describe('pathDecoder', () => { }); it('should fall back to decoded name when cwdHint is undefined', () => { - expect(extractProjectName('-Users-username-projectname', undefined)).toBe('projectname'); + expect(extractProjectName('-Users-username-projectname')).toBe('projectname'); }); });