Skip to content

Commit

Permalink
fix: assets not present in windows bundle #1296 (#1297)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikbry authored Sep 25, 2024
1 parent bcc38c3 commit 40f4ad2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/update-version.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ version = "${msiVersion}"
[tauri.bundle.resources]
"binaries/llama.cpp/llama.dll" = "./"
"binaries/llama.cpp/ggml.dll" = "./"
"assets/opla_default_config.json" = "assets/"
"assets/default_presets.json" = "assets/"
"assets/default_providers.json" = "assets/"
"assets/default_assistants.json" = "assets/"
`;
await writeFile('./webapp/native/Tauri.windows.toml', tauriWindowsToml);

Expand Down
4 changes: 4 additions & 0 deletions webapp/native/Tauri.windows.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ version = "1.0.230"
[tauri.bundle.resources]
"binaries/llama.cpp/llama.dll" = "./"
"binaries/llama.cpp/ggml.dll" = "./"
"assets/opla_default_config.json" = "assets/"
"assets/default_presets.json" = "assets/"
"assets/default_providers.json" = "assets/"
"assets/default_assistants.json" = "assets/"

0 comments on commit 40f4ad2

Please sign in to comment.