app: bundle real ggml-metal.metal instead of symlink

This commit is contained in:
Jeffrey Morgan 2023-07-11 16:36:37 -07:00
parent b52a400cdf
commit ed6abba75a

View file

@ -21,7 +21,7 @@ const config: ForgeConfig = {
'../ollama', '../ollama',
path.join(__dirname, './assets/ollama_icon_16x16Template.png'), path.join(__dirname, './assets/ollama_icon_16x16Template.png'),
path.join(__dirname, './assets/ollama_icon_16x16Template@2x.png'), path.join(__dirname, './assets/ollama_icon_16x16Template@2x.png'),
...(process.platform === 'darwin' ? ['../ggml-metal.metal'] : []), ...(process.platform === 'darwin' ? ['../llama/ggml-metal.metal'] : []),
], ],
...(process.env.SIGN ...(process.env.SIGN
? { ? {