no need to add .exe extension runs without that too

This commit is contained in:
Abhinav 2023-11-19 09:30:24 +05:30
parent 5ac3aba7d4
commit cb9af12dbb

View file

@ -129,12 +129,7 @@ export async function getClipTextModelPath() {
function getGGMLClipPath() {
return isDev
? path.join(
'./build',
`ggmlclip-${getPlatform()}${
getPlatform() === 'windows' ? '.exe' : ''
}`
)
? path.join('./build', `ggmlclip-${getPlatform()}`)
: path.join(process.resourcesPath, `ggmlclip-${getPlatform()}`);
}