Przeglądaj źródła

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

improve run command
Abhinav Kumar 1 rok temu
rodzic
commit
092e98d999
1 zmienionych plików z 1 dodań i 6 usunięć
  1. 1 6
      src/services/clipService.ts

+ 1 - 6
src/services/clipService.ts

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