瀏覽代碼

add `.metal` file to the app build

Jeffrey Morgan 1 年之前
父節點
當前提交
f805a65c42
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/forge.config.ts

+ 1 - 1
app/forge.config.ts

@@ -14,7 +14,7 @@ const config: ForgeConfig = {
   packagerConfig: {
     asar: true,
     icon: './images/icon',
-    extraResource: ['../ollama'],
+    extraResource: ['../ollama', '../ggml-metal.metal'],
     ...(process.env.SIGN
       ? {
           osxSign: {