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