mirror of
https://github.com/davidkaya/aryx.git
synced 2026-08-06 19:58:43 +02:00
refactor: rename app to aryx
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -15,18 +15,18 @@ describe('resolveWindowIconPath', () => {
|
||||
test('uses the macOS icns asset on Darwin', () => {
|
||||
expect(
|
||||
resolveWindowIconPath({
|
||||
appPath: '/Applications/Eryx.app/Contents/Resources/app',
|
||||
appPath: '/Applications/Aryx.app/Contents/Resources/app',
|
||||
platform: 'darwin',
|
||||
}),
|
||||
).toBe('/Applications/Eryx.app/Contents/Resources/app/assets/icons/macos/icon.icns');
|
||||
).toBe('/Applications/Aryx.app/Contents/Resources/app/assets/icons/macos/icon.icns');
|
||||
});
|
||||
|
||||
test('uses the Linux 512px PNG asset on Linux', () => {
|
||||
expect(
|
||||
resolveWindowIconPath({
|
||||
appPath: '/opt/eryx/resources/app',
|
||||
appPath: '/opt/aryx/resources/app',
|
||||
platform: 'linux',
|
||||
}),
|
||||
).toBe('/opt/eryx/resources/app/assets/icons/linux/icons/512x512.png');
|
||||
).toBe('/opt/aryx/resources/app/assets/icons/linux/icons/512x512.png');
|
||||
});
|
||||
});
|
||||
|
||||
@@ -43,14 +43,14 @@ describe('resolveSidecarProcess', () => {
|
||||
expect(
|
||||
resolveSidecarProcess({
|
||||
isPackaged: true,
|
||||
appPath: '/Applications/Eryx.app/Contents/Resources/app',
|
||||
resourcesPath: '/Applications/Eryx.app/Contents/Resources',
|
||||
appPath: '/Applications/Aryx.app/Contents/Resources/app',
|
||||
resourcesPath: '/Applications/Aryx.app/Contents/Resources',
|
||||
platform: 'darwin',
|
||||
}),
|
||||
).toEqual({
|
||||
command: '/Applications/Eryx.app/Contents/Resources/sidecar/Eryx.AgentHost',
|
||||
command: '/Applications/Aryx.app/Contents/Resources/sidecar/Eryx.AgentHost',
|
||||
args: ['--stdio'],
|
||||
cwd: '/Applications/Eryx.app/Contents/Resources/sidecar',
|
||||
cwd: '/Applications/Aryx.app/Contents/Resources/sidecar',
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -13,10 +13,10 @@ describe('resolveReleaseTarget', () => {
|
||||
arch: 'x64',
|
||||
platformLabel: 'windows',
|
||||
dotnetRuntime: 'win-x64',
|
||||
outputDirectoryName: 'Eryx-windows-x64',
|
||||
archiveBaseName: 'Eryx-windows-x64',
|
||||
outputDirectoryName: 'Aryx-windows-x64',
|
||||
archiveBaseName: 'Aryx-windows-x64',
|
||||
sidecarExecutableName: 'Eryx.AgentHost.exe',
|
||||
packagedExecutableName: 'Eryx.exe',
|
||||
packagedExecutableName: 'Aryx.exe',
|
||||
});
|
||||
});
|
||||
|
||||
@@ -26,10 +26,10 @@ describe('resolveReleaseTarget', () => {
|
||||
arch: 'arm64',
|
||||
platformLabel: 'macos',
|
||||
dotnetRuntime: 'osx-arm64',
|
||||
outputDirectoryName: 'Eryx-macos-arm64',
|
||||
archiveBaseName: 'Eryx-macos-arm64',
|
||||
outputDirectoryName: 'Aryx-macos-arm64',
|
||||
archiveBaseName: 'Aryx-macos-arm64',
|
||||
sidecarExecutableName: 'Eryx.AgentHost',
|
||||
appBundleName: 'Eryx.app',
|
||||
appBundleName: 'Aryx.app',
|
||||
});
|
||||
});
|
||||
|
||||
@@ -39,16 +39,16 @@ describe('resolveReleaseTarget', () => {
|
||||
arch: 'x64',
|
||||
platformLabel: 'linux',
|
||||
dotnetRuntime: 'linux-x64',
|
||||
outputDirectoryName: 'Eryx-linux-x64',
|
||||
archiveBaseName: 'Eryx-linux-x64',
|
||||
outputDirectoryName: 'Aryx-linux-x64',
|
||||
archiveBaseName: 'Aryx-linux-x64',
|
||||
sidecarExecutableName: 'Eryx.AgentHost',
|
||||
packagedExecutableName: 'Eryx',
|
||||
packagedExecutableName: 'Aryx',
|
||||
});
|
||||
});
|
||||
|
||||
test('exports the expected product metadata constants', () => {
|
||||
expect(productName).toBe('Eryx');
|
||||
expect(macBundleIdentifier).toBe('com.davidkaya.eryx');
|
||||
expect(productName).toBe('Aryx');
|
||||
expect(macBundleIdentifier).toBe('com.davidkaya.aryx');
|
||||
});
|
||||
|
||||
test('rejects unsupported platforms', () => {
|
||||
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
|
||||
describe('scratchpad project helpers', () => {
|
||||
test('creates a stable built-in scratchpad project', () => {
|
||||
const project = createScratchpadProject('C:\\Users\\me\\AppData\\Roaming\\eryx\\scratchpad');
|
||||
const project = createScratchpadProject('C:\\Users\\me\\AppData\\Roaming\\aryx\\scratchpad');
|
||||
|
||||
expect(project.id).toBe(SCRATCHPAD_PROJECT_ID);
|
||||
expect(project.name).toBe(SCRATCHPAD_PROJECT_NAME);
|
||||
@@ -38,7 +38,7 @@ describe('scratchpad project helpers', () => {
|
||||
addedAt: '2026-03-23T00:00:00.000Z',
|
||||
},
|
||||
],
|
||||
'C:\\Users\\me\\AppData\\Roaming\\eryx\\scratchpad',
|
||||
'C:\\Users\\me\\AppData\\Roaming\\aryx\\scratchpad',
|
||||
);
|
||||
|
||||
expect(merged[0].id).toBe(SCRATCHPAD_PROJECT_ID);
|
||||
@@ -69,7 +69,7 @@ describe('scratchpad project helpers', () => {
|
||||
},
|
||||
},
|
||||
],
|
||||
'C:\\Users\\me\\AppData\\Roaming\\eryx\\scratchpad',
|
||||
'C:\\Users\\me\\AppData\\Roaming\\aryx\\scratchpad',
|
||||
);
|
||||
|
||||
expect(merged[0].git).toBeUndefined();
|
||||
|
||||
Reference in New Issue
Block a user