mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-12-04 22:06:24 +01:00
Remove the CEF build and upgrade Tauri
The experimental Linux CEF build is gone: its release jobs, tarball step, cache and artifact pattern, the `cef` feature and its cfg branches. With it goes the patch pinning tauri and tauri-build to Tauri's feat/cef branch, and the 3.0 alpha cef CLI that every platform's release was bundled by. Tauri moves to 2.12.7 (tauri-build 2.7.6, tauri-plugin 2.7.4), the updater to 2.14.1 and every other plugin to its current 2.x release; the JS API to 2.12.5 and the CLI to 2.12.6. The old updater's zip 4.6.1 leaves the lockfile. Two behavior changes in the new versions are handled. Tauri now drops a window's listeners as it closes, so the update prompt's reply listener moves to the app, keeping a closed window from turning a pending prompt into the native dialog. Single-instance now releases its lock after the exit handler, so the client releases it before relaunching after an update. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6196bf2a21
commit
1e8ecfd1a2
16 files changed
+489
-1279
No files matched your search
@@ -22,13 +22,10 @@ function snapshot(directory) {
|
|||||||
for (const entry of readdirSync(directory, { withFileTypes: true })) {
|
for (const entry of readdirSync(directory, { withFileTypes: true })) {
|
||||||
const source = join(directory, entry.name);
|
const source = join(directory, entry.name);
|
||||||
// Only descend through the bundler's immediate output folders. This excludes
|
// Only descend through the bundler's immediate output folders. This excludes
|
||||||
// .app trees and the extracted CEF deb contents (which contain executables).
|
// .app trees (which contain executables).
|
||||||
if (entry.isDirectory() && directory === bundle) {
|
if (entry.isDirectory() && directory === bundle) {
|
||||||
snapshot(source);
|
snapshot(source);
|
||||||
} else if (
|
} else if (entry.isFile() && extensions.test(entry.name)) {
|
||||||
entry.isFile() &&
|
|
||||||
(extensions.test(entry.name) || /^yaak-cef_.*_linux_.*\.tar\.gz$/.test(entry.name))
|
|
||||||
) {
|
|
||||||
// Match tauri-action's default macOS updater asset naming exactly.
|
// Match tauri-action's default macOS updater asset naming exactly.
|
||||||
const arch = env.RELEASE_ARCH === "arm64" ? "aarch64" : "x64";
|
const arch = env.RELEASE_ARCH === "arm64" ? "aarch64" : "x64";
|
||||||
const assetName = entry.name.replace(/\.app\.tar\.gz(\.sig)?$/, `_${arch}.app.tar.gz$1`);
|
const assetName = entry.name.replace(/\.app\.tar\.gz(\.sig)?$/, `_${arch}.app.tar.gz$1`);
|
||||||
@@ -65,7 +62,6 @@ if (existsSync(destination)) {
|
|||||||
workflowSha: env.GITHUB_WORKFLOW_SHA,
|
workflowSha: env.GITHUB_WORKFLOW_SHA,
|
||||||
tauriAction: "tauri-apps/tauri-action@v0",
|
tauriAction: "tauri-apps/tauri-action@v0",
|
||||||
platform: env.RELEASE_PLATFORM,
|
platform: env.RELEASE_PLATFORM,
|
||||||
runtime: env.RELEASE_RUNTIME,
|
|
||||||
arch: env.RELEASE_ARCH,
|
arch: env.RELEASE_ARCH,
|
||||||
target: env.RELEASE_TARGET,
|
target: env.RELEASE_TARGET,
|
||||||
args: env.RELEASE_ARGS,
|
args: env.RELEASE_ARGS,
|
||||||
|
|||||||
@@ -32,56 +32,32 @@ jobs:
|
|||||||
args: '--target aarch64-apple-darwin --config ./tauri.release.conf.json --config ''{"build":{"features":["updater","license","wry"]}}'''
|
args: '--target aarch64-apple-darwin --config ./tauri.release.conf.json --config ''{"build":{"features":["updater","license","wry"]}}'''
|
||||||
yaak_arch: "arm64"
|
yaak_arch: "arm64"
|
||||||
os: "macos"
|
os: "macos"
|
||||||
runtime: "wry"
|
|
||||||
targets: "aarch64-apple-darwin"
|
targets: "aarch64-apple-darwin"
|
||||||
- platform: "macos-latest" # for Intel-based Macs.
|
- platform: "macos-latest" # for Intel-based Macs.
|
||||||
args: '--target x86_64-apple-darwin --config ./tauri.release.conf.json --config ''{"build":{"features":["updater","license","wry"]}}'''
|
args: '--target x86_64-apple-darwin --config ./tauri.release.conf.json --config ''{"build":{"features":["updater","license","wry"]}}'''
|
||||||
yaak_arch: "x64"
|
yaak_arch: "x64"
|
||||||
os: "macos"
|
os: "macos"
|
||||||
runtime: "wry"
|
|
||||||
targets: "x86_64-apple-darwin"
|
targets: "x86_64-apple-darwin"
|
||||||
- platform: "ubuntu-22.04"
|
- platform: "ubuntu-22.04"
|
||||||
args: '--config ./tauri.release.conf.json --config ''{"build":{"features":["updater","license","wry"]}}'''
|
args: '--config ./tauri.release.conf.json --config ''{"build":{"features":["updater","license","wry"]}}'''
|
||||||
yaak_arch: "x64"
|
yaak_arch: "x64"
|
||||||
os: "ubuntu"
|
os: "ubuntu"
|
||||||
runtime: "wry"
|
|
||||||
targets: ""
|
targets: ""
|
||||||
- platform: "ubuntu-22.04-arm"
|
- platform: "ubuntu-22.04-arm"
|
||||||
args: '--config ./tauri.release.conf.json --config ''{"build":{"features":["updater","license","wry"]}}'''
|
args: '--config ./tauri.release.conf.json --config ''{"build":{"features":["updater","license","wry"]}}'''
|
||||||
yaak_arch: "arm64"
|
yaak_arch: "arm64"
|
||||||
os: "ubuntu"
|
os: "ubuntu"
|
||||||
runtime: "wry"
|
|
||||||
targets: ""
|
|
||||||
- platform: "ubuntu-22.04"
|
|
||||||
args: >-
|
|
||||||
--bundles deb
|
|
||||||
--config ./tauri.release.conf.json
|
|
||||||
--config '{"productName":"yaak-cef","mainBinaryName":"yaak-cef","identifier":"app.yaak.desktop.cef","build":{"features":["license","cef"]},"bundle":{"createUpdaterArtifacts":false}}'
|
|
||||||
yaak_arch: "x64"
|
|
||||||
os: "ubuntu"
|
|
||||||
runtime: "cef"
|
|
||||||
targets: ""
|
|
||||||
- platform: "ubuntu-22.04-arm"
|
|
||||||
args: >-
|
|
||||||
--bundles deb
|
|
||||||
--config ./tauri.release.conf.json
|
|
||||||
--config '{"productName":"yaak-cef","mainBinaryName":"yaak-cef","identifier":"app.yaak.desktop.cef","build":{"features":["license","cef"]},"bundle":{"createUpdaterArtifacts":false}}'
|
|
||||||
yaak_arch: "arm64"
|
|
||||||
os: "ubuntu"
|
|
||||||
runtime: "cef"
|
|
||||||
targets: ""
|
targets: ""
|
||||||
- platform: "windows-latest"
|
- platform: "windows-latest"
|
||||||
args: '--config ./tauri.release.conf.json --config ''{"build":{"features":["updater","license","wry"]}}'''
|
args: '--config ./tauri.release.conf.json --config ''{"build":{"features":["updater","license","wry"]}}'''
|
||||||
yaak_arch: "x64"
|
yaak_arch: "x64"
|
||||||
os: "windows"
|
os: "windows"
|
||||||
runtime: "wry"
|
|
||||||
targets: ""
|
targets: ""
|
||||||
# Windows ARM64
|
# Windows ARM64
|
||||||
- platform: "windows-latest"
|
- platform: "windows-latest"
|
||||||
args: '--target aarch64-pc-windows-msvc --config ./tauri.release.conf.json --config ''{"build":{"features":["updater","license","wry"]}}'''
|
args: '--target aarch64-pc-windows-msvc --config ./tauri.release.conf.json --config ''{"build":{"features":["updater","license","wry"]}}'''
|
||||||
yaak_arch: "arm64"
|
yaak_arch: "arm64"
|
||||||
os: "windows"
|
os: "windows"
|
||||||
runtime: "wry"
|
|
||||||
targets: "aarch64-pc-windows-msvc"
|
targets: "aarch64-pc-windows-msvc"
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
timeout-minutes: 360
|
timeout-minutes: 360
|
||||||
@@ -105,13 +81,6 @@ jobs:
|
|||||||
shared-key: ci
|
shared-key: ci
|
||||||
cache-on-failure: true
|
cache-on-failure: true
|
||||||
|
|
||||||
- name: Cache CEF (Linux only)
|
|
||||||
if: matrix.os == 'ubuntu' && matrix.runtime == 'cef'
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ~/.cache/tauri-cef
|
|
||||||
key: cef-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('Cargo.lock') }}
|
|
||||||
|
|
||||||
- name: install dependencies (Linux only)
|
- name: install dependencies (Linux only)
|
||||||
if: matrix.os == 'ubuntu'
|
if: matrix.os == 'ubuntu'
|
||||||
run: |
|
run: |
|
||||||
@@ -227,32 +196,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
RELEASE_TARGET: ${{ matrix.targets }}
|
RELEASE_TARGET: ${{ matrix.targets }}
|
||||||
RELEASE_PLATFORM: ${{ matrix.platform }}
|
RELEASE_PLATFORM: ${{ matrix.platform }}
|
||||||
RELEASE_RUNTIME: ${{ matrix.runtime }}
|
|
||||||
RELEASE_ARCH: ${{ matrix.yaak_arch }}
|
RELEASE_ARCH: ${{ matrix.yaak_arch }}
|
||||||
RELEASE_ARGS: ${{ matrix.args }}
|
RELEASE_ARGS: ${{ matrix.args }}
|
||||||
|
|
||||||
- name: Build and upload CEF tarball from deb (Linux only)
|
|
||||||
if: matrix.os == 'ubuntu' && matrix.runtime == 'cef'
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: |
|
|
||||||
set -euo pipefail
|
|
||||||
deb=$(find target/release/bundle/deb -maxdepth 1 -type f -name '*.deb' | head -n 1)
|
|
||||||
version="${GITHUB_REF_NAME#v}"
|
|
||||||
extract_dir="target/release/bundle/deb/yaak-cef-linux-${{ matrix.yaak_arch }}"
|
|
||||||
tarball="target/release/bundle/deb/yaak-cef_${version}_linux_${{ matrix.yaak_arch }}.tar.gz"
|
|
||||||
rm -rf "$extract_dir"
|
|
||||||
mkdir -p "$extract_dir"
|
|
||||||
dpkg-deb -x "$deb" "$extract_dir"
|
|
||||||
tar -C "$extract_dir" -czf "$tarball" .
|
|
||||||
for attempt in 1 2 3 4; do
|
|
||||||
if gh release upload "$GITHUB_REF_NAME" "$tarball" --clobber; then
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
if [ "$attempt" -eq 4 ]; then exit 1; fi
|
|
||||||
sleep 10
|
|
||||||
done
|
|
||||||
|
|
||||||
# Build a per-machine NSIS installer for enterprise deployment (PDQ, SCCM, Intune)
|
# Build a per-machine NSIS installer for enterprise deployment (PDQ, SCCM, Intune)
|
||||||
- name: Build and upload machine-wide installer (Windows only)
|
- name: Build and upload machine-wide installer (Windows only)
|
||||||
if: matrix.os == 'windows'
|
if: matrix.os == 'windows'
|
||||||
@@ -292,7 +238,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
RELEASE_TARGET: ${{ matrix.targets }}
|
RELEASE_TARGET: ${{ matrix.targets }}
|
||||||
RELEASE_PLATFORM: ${{ matrix.platform }}
|
RELEASE_PLATFORM: ${{ matrix.platform }}
|
||||||
RELEASE_RUNTIME: ${{ matrix.runtime }}
|
|
||||||
RELEASE_ARCH: ${{ matrix.yaak_arch }}
|
RELEASE_ARCH: ${{ matrix.yaak_arch }}
|
||||||
RELEASE_ARGS: ${{ matrix.args }}
|
RELEASE_ARGS: ${{ matrix.args }}
|
||||||
|
|
||||||
@@ -300,7 +245,7 @@ jobs:
|
|||||||
if: ${{ !cancelled() }}
|
if: ${{ !cancelled() }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: release-${{ github.ref_name }}-${{ matrix.platform }}-${{ matrix.runtime }}-${{ matrix.yaak_arch }}-${{ github.run_id }}-attempt-${{ github.run_attempt }}
|
name: release-${{ github.ref_name }}-${{ matrix.platform }}-${{ matrix.yaak_arch }}-${{ github.run_id }}-attempt-${{ github.run_attempt }}
|
||||||
path: ${{ runner.temp }}/yaak-release-artifacts/
|
path: ${{ runner.temp }}/yaak-release-artifacts/
|
||||||
retention-days: 7
|
retention-days: 7
|
||||||
if-no-files-found: warn
|
if-no-files-found: warn
|
||||||
|
|||||||
Generated
+375
-1105
File diff suppressed because it is too large.
Load diff
+4
-8
@@ -67,14 +67,14 @@ schemars = { version = "0.8.22", features = ["chrono"] }
|
|||||||
serde = "1.0.228"
|
serde = "1.0.228"
|
||||||
serde_json = "1.0.145"
|
serde_json = "1.0.145"
|
||||||
sha2 = "0.11.1"
|
sha2 = "0.11.1"
|
||||||
tauri = { version = "2.11.1", default-features = false, features = [
|
tauri = { version = "2.12.7", default-features = false, features = [
|
||||||
"common-controls-v6",
|
"common-controls-v6",
|
||||||
"compression",
|
"compression",
|
||||||
"dynamic-acl",
|
"dynamic-acl",
|
||||||
] }
|
] }
|
||||||
tauri-plugin = "2.6.1"
|
tauri-plugin = "2.7.4"
|
||||||
tauri-plugin-dialog = { version = "2.7.1", default-features = false }
|
tauri-plugin-dialog = { version = "2.8.4", default-features = false }
|
||||||
tauri-plugin-shell = "2.3.5"
|
tauri-plugin-shell = "2.6.0"
|
||||||
thiserror = "2.0.17"
|
thiserror = "2.0.17"
|
||||||
tokio = "1.48.0"
|
tokio = "1.48.0"
|
||||||
ts-rs = "11.1.0"
|
ts-rs = "11.1.0"
|
||||||
@@ -122,7 +122,3 @@ yaak-window = { path = "crates-tauri/yaak-window" }
|
|||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
strip = false
|
strip = false
|
||||||
|
|
||||||
[patch.crates-io]
|
|
||||||
tauri = { git = "https://github.com/tauri-apps/tauri", rev = "d9bc695c18d9a25baec21d8a5f36d72e3a14ee53" }
|
|
||||||
tauri-build = { git = "https://github.com/tauri-apps/tauri", rev = "d9bc695c18d9a25baec21d8a5f36d72e3a14ee53" }
|
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
"@tanstack/react-query": "^5.107.1",
|
"@tanstack/react-query": "^5.107.1",
|
||||||
"@tanstack/react-router": "^1.170.46",
|
"@tanstack/react-router": "^1.170.46",
|
||||||
"@tanstack/react-virtual": "^3.14.26",
|
"@tanstack/react-virtual": "^3.14.26",
|
||||||
"@tauri-apps/api": "^2.12.4",
|
"@tauri-apps/api": "^2.12.5",
|
||||||
"@tauri-apps/plugin-clipboard-manager": "^2.5.0",
|
"@tauri-apps/plugin-clipboard-manager": "^2.5.0",
|
||||||
"@tauri-apps/plugin-dialog": "^2.8.4",
|
"@tauri-apps/plugin-dialog": "^2.8.4",
|
||||||
"@tauri-apps/plugin-fs": "^2.7.1",
|
"@tauri-apps/plugin-fs": "^2.7.1",
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
"@dnd-kit/core": "^6.3.1",
|
"@dnd-kit/core": "^6.3.1",
|
||||||
"@tanstack/react-query": "^5.107.1",
|
"@tanstack/react-query": "^5.107.1",
|
||||||
"@tanstack/react-virtual": "^3.14.26",
|
"@tanstack/react-virtual": "^3.14.26",
|
||||||
"@tauri-apps/api": "^2.12.4",
|
"@tauri-apps/api": "^2.12.5",
|
||||||
"@tauri-apps/plugin-dialog": "^2.8.4",
|
"@tauri-apps/plugin-dialog": "^2.8.4",
|
||||||
"@tauri-apps/plugin-opener": "^2.7.3",
|
"@tauri-apps/plugin-opener": "^2.7.3",
|
||||||
"@tauri-apps/plugin-os": "^2.4.0",
|
"@tauri-apps/plugin-os": "^2.4.0",
|
||||||
|
|||||||
@@ -13,13 +13,12 @@ crate-type = ["staticlib", "cdylib", "lib"]
|
|||||||
[features]
|
[features]
|
||||||
cargo-clippy = []
|
cargo-clippy = []
|
||||||
default = []
|
default = []
|
||||||
cef = ["tauri/cef", "tauri-plugin-dialog/xdg-portal"]
|
|
||||||
wry = ["tauri/wry", "tauri/x11", "tauri/dbus", "tauri-plugin-dialog/gtk3"]
|
wry = ["tauri/wry", "tauri/x11", "tauri/dbus", "tauri-plugin-dialog/gtk3"]
|
||||||
updater = []
|
updater = []
|
||||||
license = ["yaak-license"]
|
license = ["yaak-license"]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tauri-build = { version = "2.6.1", features = [] }
|
tauri-build = { version = "2.7.6", features = [] }
|
||||||
|
|
||||||
[target.'cfg(target_os = "linux")'.dependencies]
|
[target.'cfg(target_os = "linux")'.dependencies]
|
||||||
openssl-sys = { version = "0.9.105", features = ["vendored"] } # For Ubuntu installation to work
|
openssl-sys = { version = "0.9.105", features = ["vendored"] } # For Ubuntu installation to work
|
||||||
@@ -56,16 +55,16 @@ reqwest = { workspace = true, features = [
|
|||||||
serde = { workspace = true, features = ["derive"] }
|
serde = { workspace = true, features = ["derive"] }
|
||||||
serde_json = { workspace = true, features = ["raw_value"] }
|
serde_json = { workspace = true, features = ["raw_value"] }
|
||||||
tauri = { workspace = true, features = ["devtools", "protocol-asset"] }
|
tauri = { workspace = true, features = ["devtools", "protocol-asset"] }
|
||||||
tauri-plugin-clipboard-manager = "2.3.2"
|
tauri-plugin-clipboard-manager = "2.5.0"
|
||||||
tauri-plugin-deep-link = "2.4.9"
|
tauri-plugin-deep-link = "2.6.3"
|
||||||
tauri-plugin-dialog = { workspace = true }
|
tauri-plugin-dialog = { workspace = true }
|
||||||
tauri-plugin-fs = "2.5.1"
|
tauri-plugin-fs = "2.7.1"
|
||||||
tauri-plugin-log = { version = "2.8.0", features = ["colored"] }
|
tauri-plugin-log = { version = "2.10.2", features = ["colored"] }
|
||||||
tauri-plugin-opener = "2.5.4"
|
tauri-plugin-opener = "2.7.3"
|
||||||
tauri-plugin-os = "2.3.2"
|
tauri-plugin-os = "2.4.0"
|
||||||
tauri-plugin-shell = { workspace = true }
|
tauri-plugin-shell = { workspace = true }
|
||||||
tauri-plugin-single-instance = { version = "2.4.2", features = ["deep-link"] }
|
tauri-plugin-single-instance = { version = "2.5.5", features = ["deep-link"] }
|
||||||
tauri-plugin-updater = "2.10.1"
|
tauri-plugin-updater = "2.14.1"
|
||||||
thiserror = { workspace = true }
|
thiserror = { workspace = true }
|
||||||
tokio = { workspace = true, features = ["sync"] }
|
tokio = { workspace = true, features = ["sync"] }
|
||||||
tokio-stream = "0.1.17"
|
tokio-stream = "0.1.17"
|
||||||
|
|||||||
@@ -75,12 +75,10 @@ mod uri_scheme;
|
|||||||
mod window_menu;
|
mod window_menu;
|
||||||
mod ws_ext;
|
mod ws_ext;
|
||||||
|
|
||||||
#[cfg(not(any(feature = "cef", feature = "wry")))]
|
#[cfg(not(feature = "wry"))]
|
||||||
compile_error!("Enable one Tauri runtime feature: `cef` or `wry`.");
|
compile_error!("Enable the Tauri runtime feature: `wry`.");
|
||||||
|
|
||||||
#[cfg(feature = "cef")]
|
#[cfg(feature = "wry")]
|
||||||
type TauriRuntime = tauri::Cef;
|
|
||||||
#[cfg(all(not(feature = "cef"), feature = "wry"))]
|
|
||||||
type TauriRuntime = tauri::Wry;
|
type TauriRuntime = tauri::Wry;
|
||||||
|
|
||||||
fn setup_window_menu<R: Runtime>(win: &WebviewWindow<R>) -> Result<()> {
|
fn setup_window_menu<R: Runtime>(win: &WebviewWindow<R>) -> Result<()> {
|
||||||
@@ -1202,7 +1200,6 @@ async fn cmd_check_for_updates<R: Runtime>(
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
||||||
#[cfg_attr(feature = "cef", tauri::cef_entry_point)]
|
|
||||||
pub fn run() {
|
pub fn run() {
|
||||||
// GUI apps launched via Finder/launchd inherit a 256 open-file soft limit on macOS
|
// GUI apps launched via Finder/launchd inherit a 256 open-file soft limit on macOS
|
||||||
// (1024 on most Linux desktops). SQLite WAL connections hold ~3 fds each, so raise
|
// (1024 on most Linux desktops). SQLite WAL connections hold ~3 fds each, so raise
|
||||||
@@ -1440,7 +1437,13 @@ pub fn run() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
RunEvent::Exit => restart::relaunch_if_requested(),
|
RunEvent::Exit => {
|
||||||
|
// The single-instance lock is otherwise released only after this handler
|
||||||
|
// returns, so the relaunched app could find it, hand its launch to this
|
||||||
|
// dying instance and quit. A no-op where the plugin isn't registered.
|
||||||
|
tauri_plugin_single_instance::destroy(app_handle);
|
||||||
|
restart::relaunch_if_requested();
|
||||||
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -371,8 +371,8 @@ async fn cmd_sync_watch<R: Runtime>(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Build the router with every command in the schema registered to its
|
/// Build the router with every command in the schema registered to its
|
||||||
/// adapter here. Generic over the runtime so the same registry serves Wry and
|
/// adapter here. Generic over the runtime, as the commands it registers are.
|
||||||
/// CEF builds. Adding a command means adding it to the schema *and* writing an
|
/// Adding a command means adding it to the schema *and* writing an
|
||||||
/// adapter below; a missing adapter fails to compile rather than 404 at runtime.
|
/// adapter below; a missing adapter fails to compile rather than 404 at runtime.
|
||||||
macro_rules! register_commands {
|
macro_rules! register_commands {
|
||||||
( $( $name:ident ( $req:ty ) -> $res:ty ),* $(,)? ) => {
|
( $( $name:ident ( $req:ty ) -> $res:ty ),* $(,)? ) => {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ name = "tauri_app_proxy_lib"
|
|||||||
crate-type = ["staticlib", "cdylib", "lib"]
|
crate-type = ["staticlib", "cdylib", "lib"]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tauri-build = { version = "2.6.1", features = [] }
|
tauri-build = { version = "2.7.6", features = [] }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["wry"]
|
default = ["wry"]
|
||||||
@@ -23,9 +23,9 @@ log = { workspace = true }
|
|||||||
serde_json = { workspace = true }
|
serde_json = { workspace = true }
|
||||||
tauri = { workspace = true, features = ["devtools"] }
|
tauri = { workspace = true, features = ["devtools"] }
|
||||||
tauri-plugin-dialog = { workspace = true }
|
tauri-plugin-dialog = { workspace = true }
|
||||||
tauri-plugin-opener = "2.5.4"
|
tauri-plugin-opener = "2.7.3"
|
||||||
tauri-plugin-os = "2.3.2"
|
tauri-plugin-os = "2.4.0"
|
||||||
tauri-plugin-updater = { version = "2.10.1", optional = true }
|
tauri-plugin-updater = { version = "2.14.1", optional = true }
|
||||||
tokio = { workspace = true, features = ["sync"] }
|
tokio = { workspace = true, features = ["sync"] }
|
||||||
yaak-mac-window = { workspace = true }
|
yaak-mac-window = { workspace = true }
|
||||||
yaak-proxy-lib = { workspace = true }
|
yaak-proxy-lib = { workspace = true }
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ serde = { workspace = true, features = ["derive"] }
|
|||||||
serde_json = { workspace = true }
|
serde_json = { workspace = true }
|
||||||
tauri = { workspace = true }
|
tauri = { workspace = true }
|
||||||
tauri-plugin-dialog = { workspace = true }
|
tauri-plugin-dialog = { workspace = true }
|
||||||
tauri-plugin-updater = "2.10.1"
|
tauri-plugin-updater = "2.14.1"
|
||||||
thiserror = { workspace = true }
|
thiserror = { workspace = true }
|
||||||
tokio = { workspace = true, features = ["sync", "time", "macros"] }
|
tokio = { workspace = true, features = ["sync", "time", "macros"] }
|
||||||
ts-rs = { workspace = true }
|
ts-rs = { workspace = true }
|
||||||
@@ -330,11 +330,13 @@ async fn start_integrated_update<R: Runtime>(
|
|||||||
let ack_wait = Duration::from_secs(3);
|
let ack_wait = Duration::from_secs(3);
|
||||||
let reply_id = generate_reply_id();
|
let reply_id = generate_reply_id();
|
||||||
|
|
||||||
// 1) Start listening BEFORE emitting to avoid missing a fast reply
|
// 1) Start listening BEFORE emitting to avoid missing a fast reply. On the app, not the
|
||||||
|
// window: Tauri drops a window's listeners when it closes, and the prompt may still be
|
||||||
|
// answered from another window showing it again (the frontend replies to every window).
|
||||||
let (tx, mut rx) = tokio::sync::mpsc::unbounded_channel::<UpdateResponse>();
|
let (tx, mut rx) = tokio::sync::mpsc::unbounded_channel::<UpdateResponse>();
|
||||||
let w_for_listener = window.clone();
|
let app_handle = window.app_handle().clone();
|
||||||
|
|
||||||
let event_id = w_for_listener.listen(reply_id.clone(), move |ev| {
|
let event_id = app_handle.listen(reply_id.clone(), move |ev| {
|
||||||
match serde_json::from_str::<UpdateResponse>(ev.payload()) {
|
match serde_json::from_str::<UpdateResponse>(ev.payload()) {
|
||||||
Ok(UpdateResponse::Ack) => {
|
Ok(UpdateResponse::Ack) => {
|
||||||
let _ = tx.send(UpdateResponse::Ack);
|
let _ = tx.send(UpdateResponse::Ack);
|
||||||
@@ -349,16 +351,16 @@ async fn start_integrated_update<R: Runtime>(
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Make sure we always unlisten
|
// Make sure we always unlisten
|
||||||
struct Unlisten<'a, R: Runtime> {
|
struct Unlisten<R: Runtime> {
|
||||||
win: &'a WebviewWindow<R>,
|
app: tauri::AppHandle<R>,
|
||||||
id: tauri::EventId,
|
id: tauri::EventId,
|
||||||
}
|
}
|
||||||
impl<'a, R: Runtime> Drop for Unlisten<'a, R> {
|
impl<R: Runtime> Drop for Unlisten<R> {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
self.win.unlisten(self.id);
|
self.app.unlisten(self.id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let _guard = Unlisten { win: window, id: event_id };
|
let _guard = Unlisten { app: app_handle, id: event_id };
|
||||||
|
|
||||||
// 2) Emit the event now that listener is in place
|
// 2) Emit the event now that listener is in place
|
||||||
let info = UpdateInfo {
|
let info = UpdateInfo {
|
||||||
|
|||||||
Generated
+66
-67
@@ -86,7 +86,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rolldown/plugin-babel": "^0.3.1",
|
"@rolldown/plugin-babel": "^0.3.1",
|
||||||
"@tailwindcss/postcss": "^4.3.5",
|
"@tailwindcss/postcss": "^4.3.5",
|
||||||
"@tauri-apps/cli": "npm:@tauri-apps/cli-cef@3.0.0-alpha.6",
|
"@tauri-apps/cli": "^2.12.6",
|
||||||
"@types/babel__core": "^7.20.5",
|
"@types/babel__core": "^7.20.5",
|
||||||
"@vitejs/plugin-react": "^6.3.0",
|
"@vitejs/plugin-react": "^6.3.0",
|
||||||
"@yaakapp/cli": "2026.9.1",
|
"@yaakapp/cli": "2026.9.1",
|
||||||
@@ -129,7 +129,7 @@
|
|||||||
"@tanstack/react-query": "^5.107.1",
|
"@tanstack/react-query": "^5.107.1",
|
||||||
"@tanstack/react-router": "^1.170.46",
|
"@tanstack/react-router": "^1.170.46",
|
||||||
"@tanstack/react-virtual": "^3.14.26",
|
"@tanstack/react-virtual": "^3.14.26",
|
||||||
"@tauri-apps/api": "^2.12.4",
|
"@tauri-apps/api": "^2.12.5",
|
||||||
"@tauri-apps/plugin-clipboard-manager": "^2.5.0",
|
"@tauri-apps/plugin-clipboard-manager": "^2.5.0",
|
||||||
"@tauri-apps/plugin-dialog": "^2.8.4",
|
"@tauri-apps/plugin-dialog": "^2.8.4",
|
||||||
"@tauri-apps/plugin-fs": "^2.7.1",
|
"@tauri-apps/plugin-fs": "^2.7.1",
|
||||||
@@ -250,7 +250,7 @@
|
|||||||
"@dnd-kit/core": "^6.3.1",
|
"@dnd-kit/core": "^6.3.1",
|
||||||
"@tanstack/react-query": "^5.107.1",
|
"@tanstack/react-query": "^5.107.1",
|
||||||
"@tanstack/react-virtual": "^3.14.26",
|
"@tanstack/react-virtual": "^3.14.26",
|
||||||
"@tauri-apps/api": "^2.12.4",
|
"@tauri-apps/api": "^2.12.5",
|
||||||
"@tauri-apps/plugin-dialog": "^2.8.4",
|
"@tauri-apps/plugin-dialog": "^2.8.4",
|
||||||
"@tauri-apps/plugin-opener": "^2.7.3",
|
"@tauri-apps/plugin-opener": "^2.7.3",
|
||||||
"@tauri-apps/plugin-os": "^2.4.0",
|
"@tauri-apps/plugin-os": "^2.4.0",
|
||||||
@@ -4088,9 +4088,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/api": {
|
"node_modules/@tauri-apps/api": {
|
||||||
"version": "2.12.4",
|
"version": "2.12.5",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-2.12.4.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-2.12.5.tgz",
|
||||||
"integrity": "sha512-pVmfis+4zT8H0Qhp3xPZx9Ju7kpzvA6rr/PSJPyuwfvucTQ8sVt61NYU9KMkK703UFlYadFmjKA4HhybOtN0gg==",
|
"integrity": "sha512-G9QIMt5fzED+aS4QhVK3w1HWLKpLIwH/MnpCr9z1ugGEHnS2ORmqrLkc0uALOjRK4qXJy+4Yiw8LDl/KicC1Hg==",
|
||||||
"license": "Apache-2.0 OR MIT",
|
"license": "Apache-2.0 OR MIT",
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
@@ -4098,10 +4098,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli": {
|
"node_modules/@tauri-apps/cli": {
|
||||||
"name": "@tauri-apps/cli-cef",
|
"version": "2.12.6",
|
||||||
"version": "3.0.0-alpha.6",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-2.12.6.tgz",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-cef/-/cli-cef-3.0.0-alpha.6.tgz",
|
"integrity": "sha512-/cOeQgqq8PBDPODOjjT0YHs4qxKCHcQMWMiBm4rLM3JNr9mZE+PHNKOK4zAkhIUtYMNL/0fweW48VNvzD1AbqA==",
|
||||||
"integrity": "sha512-4Y52FZZuK6rpDDsJgxMp5q85QpQjf7Yo5IvLZs/CUBaIuMkGBDguDRcfkxhMJlu9qM/cLlBRW27OtqNdOW730w==",
|
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "Apache-2.0 OR MIT",
|
"license": "Apache-2.0 OR MIT",
|
||||||
"bin": {
|
"bin": {
|
||||||
@@ -4115,23 +4114,23 @@
|
|||||||
"url": "https://opencollective.com/tauri"
|
"url": "https://opencollective.com/tauri"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@tauri-apps/cli-cef-darwin-arm64": "3.0.0-alpha.6",
|
"@tauri-apps/cli-darwin-arm64": "2.12.6",
|
||||||
"@tauri-apps/cli-cef-darwin-x64": "3.0.0-alpha.6",
|
"@tauri-apps/cli-darwin-x64": "2.12.6",
|
||||||
"@tauri-apps/cli-cef-linux-arm-gnueabihf": "3.0.0-alpha.6",
|
"@tauri-apps/cli-linux-arm-gnueabihf": "2.12.6",
|
||||||
"@tauri-apps/cli-cef-linux-arm64-gnu": "3.0.0-alpha.6",
|
"@tauri-apps/cli-linux-arm64-gnu": "2.12.6",
|
||||||
"@tauri-apps/cli-cef-linux-arm64-musl": "3.0.0-alpha.6",
|
"@tauri-apps/cli-linux-arm64-musl": "2.12.6",
|
||||||
"@tauri-apps/cli-cef-linux-riscv64-gnu": "3.0.0-alpha.6",
|
"@tauri-apps/cli-linux-riscv64-gnu": "2.12.6",
|
||||||
"@tauri-apps/cli-cef-linux-x64-gnu": "3.0.0-alpha.6",
|
"@tauri-apps/cli-linux-x64-gnu": "2.12.6",
|
||||||
"@tauri-apps/cli-cef-linux-x64-musl": "3.0.0-alpha.6",
|
"@tauri-apps/cli-linux-x64-musl": "2.12.6",
|
||||||
"@tauri-apps/cli-cef-win32-arm64-msvc": "3.0.0-alpha.6",
|
"@tauri-apps/cli-win32-arm64-msvc": "2.12.6",
|
||||||
"@tauri-apps/cli-cef-win32-ia32-msvc": "3.0.0-alpha.6",
|
"@tauri-apps/cli-win32-ia32-msvc": "2.12.6",
|
||||||
"@tauri-apps/cli-cef-win32-x64-msvc": "3.0.0-alpha.6"
|
"@tauri-apps/cli-win32-x64-msvc": "2.12.6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-cef-darwin-arm64": {
|
"node_modules/@tauri-apps/cli-darwin-arm64": {
|
||||||
"version": "3.0.0-alpha.6",
|
"version": "2.12.6",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-cef-darwin-arm64/-/cli-cef-darwin-arm64-3.0.0-alpha.6.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-2.12.6.tgz",
|
||||||
"integrity": "sha512-j6XHXCku1q82SXSXlQdzT7MbgOBX/ziOD+Z4c+B5D51zsaP3h6kcefpMzs71n9ZUegdw6AXpZpk+c+knOh2trQ==",
|
"integrity": "sha512-Uokwk1hFfJoG54+kD8iU0St33jAIkNvojnjEfBZ6UbL5rnM10AiFwUS/2DHTJ9R4/Kba4U44v7djfMuWFTQgeg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -4145,10 +4144,10 @@
|
|||||||
"node": ">= 10"
|
"node": ">= 10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-cef-darwin-x64": {
|
"node_modules/@tauri-apps/cli-darwin-x64": {
|
||||||
"version": "3.0.0-alpha.6",
|
"version": "2.12.6",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-cef-darwin-x64/-/cli-cef-darwin-x64-3.0.0-alpha.6.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-2.12.6.tgz",
|
||||||
"integrity": "sha512-zBNxrXomAXSZPCYspOjvoi8aVAnJtkSOy3cVD+9aYDpf2zZL4R7VQXcY4M76PvqbGUmCOXT9ztzxV2MyWnBoDQ==",
|
"integrity": "sha512-WhahqzcyHCpCzh4Taf0ZbBm6nGkvuOSh5ffrgOO7EdYaYe+RBQK8LOlFu+bbjul5v9cdLDi3kco+0+7IlZtTVA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -4162,10 +4161,10 @@
|
|||||||
"node": ">= 10"
|
"node": ">= 10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-cef-linux-arm-gnueabihf": {
|
"node_modules/@tauri-apps/cli-linux-arm-gnueabihf": {
|
||||||
"version": "3.0.0-alpha.6",
|
"version": "2.12.6",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-cef-linux-arm-gnueabihf/-/cli-cef-linux-arm-gnueabihf-3.0.0-alpha.6.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-2.12.6.tgz",
|
||||||
"integrity": "sha512-EcNXX9xsAZj0BuRXBwliR35XML6B5aIbgH8blbEGAr3pDaSCBnNyS/dpORgSdCKuysLidBT7K8fer5mMtbSoUQ==",
|
"integrity": "sha512-GB6weN+iFHxiFZ9SOKW6fINis7gnxohoOldR7sryBe7uaavkFGaMCa0yQs5njeXPWvzlE9WTQ13z8oDjmqK+Ww==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm"
|
"arm"
|
||||||
],
|
],
|
||||||
@@ -4179,10 +4178,10 @@
|
|||||||
"node": ">= 10"
|
"node": ">= 10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-cef-linux-arm64-gnu": {
|
"node_modules/@tauri-apps/cli-linux-arm64-gnu": {
|
||||||
"version": "3.0.0-alpha.6",
|
"version": "2.12.6",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-cef-linux-arm64-gnu/-/cli-cef-linux-arm64-gnu-3.0.0-alpha.6.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-2.12.6.tgz",
|
||||||
"integrity": "sha512-/AwSRWuE5UKGumrXdpRnIBDWVjFAMEMkSFbB/vpFx9PogQ/A0R+i6+zuBh7JPV7FKmyRzVJuNxZ8EmZ319Ir8g==",
|
"integrity": "sha512-mdHoUFYKfztUtPKE0C2hhGkEo7j6swXjg+5yRRKSD7A2gLkRPQFIXWD/DAYhiJdeAkyA8MCP6nvvKvg/4YryWQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -4196,10 +4195,10 @@
|
|||||||
"node": ">= 10"
|
"node": ">= 10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-cef-linux-arm64-musl": {
|
"node_modules/@tauri-apps/cli-linux-arm64-musl": {
|
||||||
"version": "3.0.0-alpha.6",
|
"version": "2.12.6",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-cef-linux-arm64-musl/-/cli-cef-linux-arm64-musl-3.0.0-alpha.6.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.12.6.tgz",
|
||||||
"integrity": "sha512-OZ5gjROy4/TlaYQ33roxQYcFIFJH+HZMER9gwTkWxfYUC1gTLLhsBeIYUZzWqm1NQiIc07likg081wsHkCRrWw==",
|
"integrity": "sha512-2BxB+9a3JRN0eJ0t0qGe8IKJfgBLOZDE8a499OXH+yg4J9bMpSK1oHXBxnHuSHFWhby4QnQ/t+sBf7tRC0UZeA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -4213,10 +4212,10 @@
|
|||||||
"node": ">= 10"
|
"node": ">= 10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-cef-linux-riscv64-gnu": {
|
"node_modules/@tauri-apps/cli-linux-riscv64-gnu": {
|
||||||
"version": "3.0.0-alpha.6",
|
"version": "2.12.6",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-cef-linux-riscv64-gnu/-/cli-cef-linux-riscv64-gnu-3.0.0-alpha.6.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-riscv64-gnu/-/cli-linux-riscv64-gnu-2.12.6.tgz",
|
||||||
"integrity": "sha512-r9TQKmN4KfeXiiusn0cppRxljKsf96vTsC1ehYi4beh+6JlmGR4pK7eb+LuOGJscnjurAA9b153fpeYO/O1PTw==",
|
"integrity": "sha512-sb58RsNHex9QVqHdN1cf9MMlamUWAtk1NzuxTZalUnBUHfblIbe71hfmdI6whDZ84MufgOdeg/bzvhrbZS1r0w==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"riscv64"
|
"riscv64"
|
||||||
],
|
],
|
||||||
@@ -4230,10 +4229,10 @@
|
|||||||
"node": ">= 10"
|
"node": ">= 10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-cef-linux-x64-gnu": {
|
"node_modules/@tauri-apps/cli-linux-x64-gnu": {
|
||||||
"version": "3.0.0-alpha.6",
|
"version": "2.12.6",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-cef-linux-x64-gnu/-/cli-cef-linux-x64-gnu-3.0.0-alpha.6.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-2.12.6.tgz",
|
||||||
"integrity": "sha512-9rrMBVlqbNlp8nTJuZIDQ7iKFwGaVMRCNPIsUIZ56DiaCLoP4po+yvR48n+TyRPZYp1sb3q2Nr/5/zI2q/jFAQ==",
|
"integrity": "sha512-ZAb4/CHRma3ErjL2RGfHjITTUBIs4zySf0hIli9BddOtEdSx0ze0hEgxl+HfBVc5OEW/QmbiZ2E2+CkkHc8Pcg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -4247,10 +4246,10 @@
|
|||||||
"node": ">= 10"
|
"node": ">= 10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-cef-linux-x64-musl": {
|
"node_modules/@tauri-apps/cli-linux-x64-musl": {
|
||||||
"version": "3.0.0-alpha.6",
|
"version": "2.12.6",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-cef-linux-x64-musl/-/cli-cef-linux-x64-musl-3.0.0-alpha.6.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-2.12.6.tgz",
|
||||||
"integrity": "sha512-pcFL71xscjEM/03lrH/GiqIr4SwBWlbvaRh8GxDePJqqrQojNn+kTzVvqowaXVbTrNr5rbHbXzY4rC/5/1Tbsw==",
|
"integrity": "sha512-ueSzM2Du6r4i1d/lby9kEvrhPnXw5zM/VYvcW1ldEWSpkUyVohsBXkmD+U7vMskEW5tXeCUenki7nYVxyGBGpQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -4264,10 +4263,10 @@
|
|||||||
"node": ">= 10"
|
"node": ">= 10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-cef-win32-arm64-msvc": {
|
"node_modules/@tauri-apps/cli-win32-arm64-msvc": {
|
||||||
"version": "3.0.0-alpha.6",
|
"version": "2.12.6",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-cef-win32-arm64-msvc/-/cli-cef-win32-arm64-msvc-3.0.0-alpha.6.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-arm64-msvc/-/cli-win32-arm64-msvc-2.12.6.tgz",
|
||||||
"integrity": "sha512-IrMgveBs0HNO7C7BaZCUHGtO9jPbop/iU/5XWNqBx7uYHJL565+yIlpzWPoXhT3qbt8h8FQFO6SU3N+zfvLipA==",
|
"integrity": "sha512-6bmOt2BQSe0Bba+5CJcTKSML7VOYDxyiAKyBrjo86VxMdC1usIQmklu3Xc83s3QoK1rOMwwbANlPF6i5R2mvIg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -4281,10 +4280,10 @@
|
|||||||
"node": ">= 10"
|
"node": ">= 10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-cef-win32-ia32-msvc": {
|
"node_modules/@tauri-apps/cli-win32-ia32-msvc": {
|
||||||
"version": "3.0.0-alpha.6",
|
"version": "2.12.6",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-cef-win32-ia32-msvc/-/cli-cef-win32-ia32-msvc-3.0.0-alpha.6.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-2.12.6.tgz",
|
||||||
"integrity": "sha512-qA/VaRdRwdMt9L2oDGNZPur108mUleKRUSCk6X8sVPcnPjzMfN4/aESeOKsW+zHXN/VhZbV3UieEg4IcYeI2RQ==",
|
"integrity": "sha512-9q9ZFNuFreBczwyJuhhlrEOBzGClwWUYirQ2GBl66Y6EaNl17IdLH8TRqoY9wYB1LnctNBi+Fa/WMGtFA4BtFQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"ia32"
|
"ia32"
|
||||||
],
|
],
|
||||||
@@ -4298,10 +4297,10 @@
|
|||||||
"node": ">= 10"
|
"node": ">= 10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli-cef-win32-x64-msvc": {
|
"node_modules/@tauri-apps/cli-win32-x64-msvc": {
|
||||||
"version": "3.0.0-alpha.6",
|
"version": "2.12.6",
|
||||||
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-cef-win32-x64-msvc/-/cli-cef-win32-x64-msvc-3.0.0-alpha.6.tgz",
|
"resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-2.12.6.tgz",
|
||||||
"integrity": "sha512-EzlhstDVyvHy3M5ieSoH3VBlikgqQS99vFEDKFoy16mwIWUrTG1LkoSI0mKbqmO8DWIEzeSV17XiCw2XEcYslQ==",
|
"integrity": "sha512-ion7Chbj21ROxMRpjQ7G8rz5sIOaI7IoBQum1oq5sl1V5zGWyc/oYnCrQhVqO2TxK/lBDWxt648BzLi02SY3Xg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -14762,7 +14761,7 @@
|
|||||||
"name": "@yaakapp-internal/platform",
|
"name": "@yaakapp-internal/platform",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tauri-apps/api": "^2.12.4",
|
"@tauri-apps/api": "^2.12.5",
|
||||||
"@tauri-apps/plugin-clipboard-manager": "^2.5.0",
|
"@tauri-apps/plugin-clipboard-manager": "^2.5.0",
|
||||||
"@tauri-apps/plugin-dialog": "^2.8.4",
|
"@tauri-apps/plugin-dialog": "^2.8.4",
|
||||||
"@tauri-apps/plugin-fs": "^2.7.1",
|
"@tauri-apps/plugin-fs": "^2.7.1",
|
||||||
@@ -14837,7 +14836,7 @@
|
|||||||
"name": "@yaakapp-internal/theme",
|
"name": "@yaakapp-internal/theme",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tauri-apps/api": "^2.12.4",
|
"@tauri-apps/api": "^2.12.5",
|
||||||
"@yaakapp-internal/plugins": "^1.0.0",
|
"@yaakapp-internal/plugins": "^1.0.0",
|
||||||
"parse-color": "^1.0.0"
|
"parse-color": "^1.0.0"
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -128,7 +128,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rolldown/plugin-babel": "^0.3.1",
|
"@rolldown/plugin-babel": "^0.3.1",
|
||||||
"@tailwindcss/postcss": "^4.3.5",
|
"@tailwindcss/postcss": "^4.3.5",
|
||||||
"@tauri-apps/cli": "npm:@tauri-apps/cli-cef@3.0.0-alpha.6",
|
"@tauri-apps/cli": "^2.12.6",
|
||||||
"@types/babel__core": "^7.20.5",
|
"@types/babel__core": "^7.20.5",
|
||||||
"@vitejs/plugin-react": "^6.3.0",
|
"@vitejs/plugin-react": "^6.3.0",
|
||||||
"@yaakapp/cli": "2026.9.1",
|
"@yaakapp/cli": "2026.9.1",
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
"@yaakapp-internal/rpc-schema": "^1.0.0",
|
"@yaakapp-internal/rpc-schema": "^1.0.0",
|
||||||
"@yaakapp-internal/web": "^1.0.0",
|
"@yaakapp-internal/web": "^1.0.0",
|
||||||
"@yaakapp-internal/wasm": "^1.0.0",
|
"@yaakapp-internal/wasm": "^1.0.0",
|
||||||
"@tauri-apps/api": "^2.12.4",
|
"@tauri-apps/api": "^2.12.5",
|
||||||
"@tauri-apps/plugin-clipboard-manager": "^2.5.0",
|
"@tauri-apps/plugin-clipboard-manager": "^2.5.0",
|
||||||
"@tauri-apps/plugin-dialog": "^2.8.4",
|
"@tauri-apps/plugin-dialog": "^2.8.4",
|
||||||
"@tauri-apps/plugin-fs": "^2.7.1",
|
"@tauri-apps/plugin-fs": "^2.7.1",
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"types": "src/index.ts",
|
"types": "src/index.ts",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tauri-apps/api": "^2.12.4",
|
"@tauri-apps/api": "^2.12.5",
|
||||||
"@yaakapp-internal/plugins": "^1.0.0",
|
"@yaakapp-internal/plugins": "^1.0.0",
|
||||||
"parse-color": "^1.0.0"
|
"parse-color": "^1.0.0"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user