Merge pull request #266 from ente-io/no-need-exe-extension

improve run command
This commit is contained in:
Abhinav Kumar 2023-11-20 20:04:45 +05:30 committed by GitHub
commit 092e98d999
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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()}`);
}