Merge pull request #266 from ente-io/no-need-exe-extension
improve run command
This commit is contained in:
commit
092e98d999
1 changed files with 1 additions and 6 deletions
|
@ -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()}`);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue