Skip to content

Commit

Permalink
Adds notes on how to instal dependencies in Mint 22 or Ubuntu 24 + Pr…
Browse files Browse the repository at this point in the history
…oxy issues (commented code on main.rs)
  • Loading branch information
dezoito committed Dec 4, 2024
1 parent 8553420 commit aa54b35
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 139 deletions.
4 changes: 0 additions & 4 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,3 @@ Let's not be too pretentious here (like most of the other projects implementing
1. Don't be an asshole and don't be annoying.

2. Follow the "contributing" guidelines in the README if you want to be a contributor.

## **Acknowledgment**

By contributing to this repository, you acknowledge the superiority of the maintainers, and recognize that any mistake on your part will reflect solely on your lack of worthiness.
135 changes: 0 additions & 135 deletions README.md.old

This file was deleted.

22 changes: 22 additions & 0 deletions notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,25 @@ Note: `bun tauri dev` works on linux, but not on Macs right now.s

fixes webkit bs in some linux instalations
export WEBKIT_DISABLE_COMPOSITING_MODE=1

For Linux Mint 22 and Ubuntu 24, see this issue
https://github.com/tauri-apps/tauri/issues/9662

---

Workaround

I worked around this by adding the following line to /etc/apt/sources.list:

deb http://gb.archive.ubuntu.com/ubuntu jammy main

Then doing:

sudo apt update
sudo apt install libwebkit2gtk-4.0-dev

---

# NO_PROXY:

Make sure you have a `NO_PROXY` env var set to `localhost,127.0.0.1`
1 change: 1 addition & 0 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ struct Payload {
}

fn main() {
// std::env::set_var("NO_PROXY", "127.0.0.1,localhost");
let builder =
tauri::Builder::default().plugin(tauri_plugin_single_instance::init(|app, argv, cwd| {
println!("{}, {argv:?}, {cwd}", app.package_info().name);
Expand Down

0 comments on commit aa54b35

Please sign in to comment.