Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update backend to tauri v2.2 #139

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
}
- {
name: "Ubuntu",
executable_name: "restic-browser",
os: ubuntu-20.04,
executable_name: "Restic-Browser",
os: ubuntu-22.04,
}
- {
name: "macOS",
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
- name: System dependencies (Linux)
run: |
sudo apt update
sudo apt install -y libgtk-3-dev libwebkit2gtk-4.0-dev
sudo apt install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
if: ${{ matrix.config.name == 'Ubuntu' }}

- name: Node dependencies
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ Restic-Browser [OPTIONS]
- macOS 10.13 or later

#### Linux:
- Linux with GLIBC_2.31 or later (e.g. Ubuntu 20.04 or later)
- WebKit2 (install via `apt install libwebkit2gtk-4.0` on Ubuntu)
- Try using the Linux appimage from the prebuilt releases, in case libwebkit2gtk-4.0 is not available on your system.
- Linux with GLIBC_2.35 or later (e.g. Ubuntu 22.04 or later)
- WebKit2 (install via `apt install libwebkit2gtk-4.1` on Ubuntu)
- Try using the Linux appimage from the prebuilt releases, in case libwebkit2gtk-4.1 is not available on your system.

## Development

### Dependencies

* Follow the [Tauri Prerequisites Docs](https://tauri.app/v1/guides/getting-started/prerequisites/) to install a *C/C++ toolchain* and *Rust* 1.78 or later for your platform.
* Follow the [Tauri Prerequisites Docs](https://tauri.app/start/prerequisites/) to install a *C/C++ toolchain* and *Rust* 1.78 or later for your platform.
* Make sure [npm](https://nodejs.org/en/download) *Node* 18 LTS or later is installed.
* Install [restic](https://github.com/restic/restic/releases/) and make sure it is included in your $PATH.

Expand Down
11 changes: 5 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en" theme="dark">
<head>
<meta charset="UTF-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>Restic-Browser</title>
<link href="./src/style.css" rel="stylesheet">
<script src="./src/hooks.ts" type="module"></script>
<script src="./src/app.ts" type="module"></script>
<link href="/src/style.css" rel="stylesheet">
<script src="/src/hooks.ts" type="module"></script>
<script src="/src/app.ts" type="module"></script>
</head>
<body style="margin: 0; width: 100vw; height: 100vh; display: flex;">
<restic-browser-app style="width: 100vw; height: 100vh;"/>
</body>
</html>

</html>
Loading