no need to add .exe extension runs without that too
This commit is contained in:
parent
5ac3aba7d4
commit
cb9af12dbb
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