Bumps the tauri group in /rust/gui-client with 2 updates: [@tauri-apps/api](https://github.com/tauri-apps/tauri) and [@tauri-apps/cli](https://github.com/tauri-apps/tauri). Updates `@tauri-apps/api` from 2.2.0 to 2.3.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tauri-apps/tauri/releases"><code>@tauri-apps/api</code>'s releases</a>.</em></p> <blockquote> <h2><code>@tauri-apps/api</code> v2.3.0</h2> <!-- raw HTML omitted --> <pre><code>No known vulnerabilities found </code></pre> <!-- raw HTML omitted --> <h2>[2.3.0]</h2> <h3>Enhancements</h3> <ul> <li><a href="a2d36b8c34"><code>a2d36b8c3</code></a> (<a href="https://redirect.github.com/tauri-apps/tauri/pull/12181">#12181</a> by <a href="https://www.github.com/tauri-apps/tauri/../../bastiankistner"><code>@bastiankistner</code></a>) Add an option to change the default background throttling policy (currently for WebKit only).</li> </ul> <!-- raw HTML omitted --> <pre><code>> @tauri-apps/api@2.3.0 npm-publish /home/runner/work/tauri/tauri/packages/api > pnpm build && cd ./dist && pnpm publish --access public --loglevel silly --no-git-checks <p>> <code>@tauri-apps/api</code><a href="https://github.com/2"><code>@2</code></a>.3.0 build /home/runner/work/tauri/tauri/packages/api > rollup -c --configPlugin typescript</p> <p>[36m [1m./src/app.ts, ./src/core.ts, ./src/dpi.ts, ./src/event.ts, ./src/image.ts, ./src/index.ts, ./src/menu.ts, ./src/mocks.ts, ./src/path.ts, ./src/tray.ts, ./src/webview.ts, ./src/webviewWindow.ts, ./src/window.ts[22m → [1m./dist, ./dist[22m...[39m [32mcreated [1m./dist, ./dist[22m in [1m1.4s[22m[39m [36m [1msrc/index.ts[22m → [1m../../crates/tauri/scripts/bundle.global.js[22m...[39m [32mcreated [1m../../crates/tauri/scripts/bundle.global.js[22m in [1m1.8s[22m[39m npm verbose cli /opt/hostedtoolcache/node/20.18.3/x64/bin/node /opt/hostedtoolcache/node/20.18.3/x64/bin/npm npm info using npm@10.8.2 npm info using node@v20.18.3 npm silly config load:file:/opt/hostedtoolcache/node/20.18.3/x64/lib/node_modules/npm/npmrc npm silly config load:file:/tmp/cde6886dbee94df8b0f32d4d1d016777/.npmrc npm silly config load:file:/home/runner/work/_temp/.npmrc npm silly config load:file:/opt/hostedtoolcache/node/20.18.3/x64/etc/npmrc npm verbose title npm publish tauri-apps-api-2.3.0.tgz npm verbose argv "publish" "--ignore-scripts" "tauri-apps-api-2.3.0.tgz" "--access" "public" "--loglevel" "silly" "--no-git-checks" npm verbose logfile logs-max:10 dir:/home/runner/.npm/_logs/2025-02-26T16_09_54_529Z- npm verbose logfile /home/runner/.npm/_logs/2025-02-26T16_09_54_529Z-debug-0.log npm verbose publish [ 'tauri-apps-api-2.3.0.tgz' ] npm silly logfile done cleaning log files npm notice npm notice 📦 <code>@tauri-apps/api</code><a href="https://github.com/2"><code>@2</code></a>.3.0 npm notice Tarball Contents npm notice 86.9kB CHANGELOG.md </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="7d618f12d8"><code>7d618f1</code></a> apply version updates (<a href="https://redirect.github.com/tauri-apps/tauri/issues/12518">#12518</a>)</li> <li><a href="385a41dea2"><code>385a41d</code></a> enhance(windows): disable our in-client resizing for undecorated window with ...</li> <li><a href="955832e56b"><code>955832e</code></a> ci: Build win-arm64 cli with rustls (<a href="https://redirect.github.com/tauri-apps/tauri/issues/12813">#12813</a>)</li> <li><a href="c116dfcdee"><code>c116dfc</code></a> fix(cli): Hide <code>updater</code> bundle target in help output (<a href="https://redirect.github.com/tauri-apps/tauri/issues/12801">#12801</a>)</li> <li><a href="d6520a21ce"><code>d6520a2</code></a> chore(deps): wry@0.50 muda@0.16 tray-icon@0.20 windows@0.60 webview2-com@0.36...</li> <li><a href="ab81adb71b"><code>ab81adb</code></a> docs: improve documentation around incognito and data store (<a href="https://redirect.github.com/tauri-apps/tauri/issues/12806">#12806</a>)</li> <li><a href="6e417c9435"><code>6e417c9</code></a> fix(linux): Add missing RPM signature (<a href="https://redirect.github.com/tauri-apps/tauri/issues/12786">#12786</a>)</li> <li><a href="ddc469367a"><code>ddc4693</code></a> style: fix Vite and React branding (<a href="https://redirect.github.com/tauri-apps/tauri/issues/12768">#12768</a>)</li> <li><a href="d7b998fe71"><code>d7b998f</code></a> fix(tauri): deprecate <code>Manager::unmanage</code> to fix <code>use-after-free</code> (<a href="https://redirect.github.com/tauri-apps/tauri/issues/12723">#12723</a>)</li> <li><a href="d9a07e66af"><code>d9a07e6</code></a> chore(deps): update dependency globals to v16 (<a href="https://redirect.github.com/tauri-apps/tauri/issues/12750">#12750</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tauri-apps/tauri/compare/@tauri-apps/api-v2.2.0...@tauri-apps/api-v2.3.0">compare view</a></li> </ul> </details> <br /> Updates `@tauri-apps/cli` from 2.2.7 to 2.3.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tauri-apps/tauri/releases"><code>@tauri-apps/cli</code>'s releases</a>.</em></p> <blockquote> <h2><code>@tauri-apps/cli</code> v2.3.1</h2> <h2>[2.3.1]</h2> <h3>Dependencies</h3> <ul> <li>Upgraded to <code>tauri-cli@2.3.1</code></li> </ul> <h2><code>@tauri-apps/cli</code> v2.3.0</h2> <h2>[2.3.0]</h2> <h3>Enhancements</h3> <ul> <li><a href="a2d36b8c34"><code>a2d36b8c3</code></a> (<a href="https://redirect.github.com/tauri-apps/tauri/pull/12181">#12181</a> by <a href="https://www.github.com/tauri-apps/tauri/../../bastiankistner"><code>@bastiankistner</code></a>) Add an option to change the default background throttling policy (currently for WebKit only).</li> </ul> <h3>Dependencies</h3> <ul> <li>Upgraded to <code>tauri-cli@2.3.0</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="cab7f76d01"><code>cab7f76</code></a> apply version updates (<a href="https://redirect.github.com/tauri-apps/tauri/issues/12826">#12826</a>)</li> <li><a href="e103e87f15"><code>e103e87</code></a> fix(windows): ensure APIs exist before using it (<a href="https://redirect.github.com/tauri-apps/tauri/issues/12848">#12848</a>)</li> <li><a href="bca02967a9"><code>bca0296</code></a> docs: Update wording from <a href="https://redirect.github.com/tauri-apps/tauri/issues/12830">#12830</a> (<a href="https://redirect.github.com/tauri-apps/tauri/issues/12839">#12839</a>)</li> <li><a href="887db0813f"><code>887db08</code></a> chore(deps): update js dependencies (<a href="https://redirect.github.com/tauri-apps/tauri/issues/12832">#12832</a>)</li> <li><a href="4f26dcf309"><code>4f26dcf</code></a> fix(deps): os webview not gated in wry feature (<a href="https://redirect.github.com/tauri-apps/tauri/issues/12833">#12833</a>)</li> <li><a href="4bffc326ea"><code>4bffc32</code></a> docs: update <code>WebViewBuilder::with_asynchronous_custom_protocol</code> with platfor...</li> <li><a href="b859dc43fc"><code>b859dc4</code></a> chore(deps): update rust crate resvg to 0.45.0 (<a href="https://redirect.github.com/tauri-apps/tauri/issues/12825">#12825</a>)</li> <li><a href="9332132239"><code>9332132</code></a> chore(deps): update dependency eslint-config-prettier to v10.0.2 (<a href="https://redirect.github.com/tauri-apps/tauri/issues/12822">#12822</a>)</li> <li><a href="22e9bf74a4"><code>22e9bf7</code></a> fix(cli/ios): Configure initial view controller for the launch screen on iOS ...</li> <li><a href="b495fe0fdc"><code>b495fe0</code></a> ci: install corepack in docker (<a href="https://redirect.github.com/tauri-apps/tauri/issues/12824">#12824</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tauri-apps/tauri/compare/@tauri-apps/cli-v2.2.7...@tauri-apps/cli-v2.3.1">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
gui-client
This crate houses a GUI client for Linux and Windows.
Setup (Ubuntu)
To compile natively for x86_64 Linux:
- Install rustup
- Install pnpm
sudo apt-get install build-essential curl file libayatana-appindicator3-dev librsvg2-dev libssl-dev libwebkit2gtk-4.1-dev libxdo-dev wget
Setup (Windows)
To compile natively for x86_64 Windows:
- Install rustup
- Install pnpm
Recommended IDE Setup
(From Tauri's default README)
Building
Builds are best started from the frontend tool pnpm. This ensures typescript
and css is compiled properly before bundling the application.
See the package.json script for more details as to what's
going on under the hood.
# Builds a release exe
pnpm build
# Linux:
# The release exe and deb package are up in the workspace.
stat ../target/release/firezone
stat ../target/release/bundle/deb/*.deb
# Windows:
# The release exe and MSI installer should be up in the workspace.
# The exe can run without being installed
stat ../target/release/Firezone.exe
stat ../target/release/bundle/msi/Firezone_0.0.0_x64_en-US.msi
Signing the Windows MSI in GitHub CI
The MSI is signed in GitHub CI using the firezone/firezone repository's
secrets. This was originally set up using these guides for inspiration:
- https://melatonin.dev/blog/how-to-code-sign-windows-installers-with-an-ev-cert-on-github-actions/
- https://support.globalsign.com/code-signing/code-signing-using-azure-key-vault
Renewing / issuing a new code signing certificate and associated Azure entities is outside the scope of this section. Use the guides above if this needs to be done.
Instead, you'll most likely simply need to rotate the Azure CodeSigning Application's client secret.
To do so, login to the Azure portal using your @firezoneprod.onmicrosoft.com account.
Try to access it via the following deep-link.
If that doesn't work:
- Go to the
Microsoft Entra IDservice - Click on
App Registrations - Make sure the tab
All applicationsis selected - Find and navigate to the
CodeSigningapp registration - Client on
client credentials - Click
New client secret - Note down the secret value. This should be entered into the GitHub repository's secrets as
AZURE_CLIENT_SECRET.
Running
From this dir:
# This will start the frontend tools in watch mode and then run `tauri dev`
pnpm dev
# You can call debug subcommands on the exe from this directory too
# e.g. this is equivalent to `cargo run -- debug hostname`
cargo tauri dev -- -- debug hostname
# The exe is up in the workspace
stat ../target/debug/Firezone.exe
The app's config and logs will be stored at
C:\Users\$USER\AppData\Local\dev.firezone.client.
Platform support
Ubuntu 22.04 and newer is supported.
Tauri says it should work on Windows 10, Version 1803 and up. Older versions may work if you manually install WebView2
x86_64 architecture is supported for Windows. aarch64 and x86_64 are supported for Linux.
Threat model
See Security