Skip to content

Commit

Permalink
🐞 fix: Fix linux and windows builds
Browse files Browse the repository at this point in the history
* Add libjavascriptcoregtk-4.1-0 to linux build
* Fix json path for patch_tauri_conf.cjs
  • Loading branch information
caoccao committed Oct 5, 2024
1 parent 52fccdd commit 5e6d2cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Upgrade Ubuntu
run: |
sudo apt-get update
sudo apt-get install -y libsoup2.4-dev libwebkit2gtk-4.0-dev librsvg2-dev
sudo apt-get install -y libsoup2.4-dev libwebkit2gtk-4.0-dev librsvg2-dev libjavascriptcoregtk-4.1-0
- name: Build zlib
run: |
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/scripts/patch_tauri_conf.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ try {
const tauriConfPath = path.join(repoRoot, "src-tauri\\tauri.conf.json");
const tauriConf = fs.readFileSync(tauriConfPath, { encoding: "utf8" });
const jsonObject = JSON.parse(tauriConf);
jsonObject["tauri"]["bundle"]["resources"] = [
jsonObject["bundle"]["resources"] = [
"MediaInfo.dll",
"msvcp140.dll",
"vcruntime140.dll",
Expand Down

0 comments on commit 5e6d2cb

Please sign in to comment.