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 })) {
|
||||
const source = join(directory, entry.name);
|
||||
// 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) {
|
||||
snapshot(source);
|
||||
} else if (
|
||||
entry.isFile() &&
|
||||
(extensions.test(entry.name) || /^yaak-cef_.*_linux_.*\.tar\.gz$/.test(entry.name))
|
||||
) {
|
||||
} else if (entry.isFile() && extensions.test(entry.name)) {
|
||||
// Match tauri-action's default macOS updater asset naming exactly.
|
||||
const arch = env.RELEASE_ARCH === "arm64" ? "aarch64" : "x64";
|
||||
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,
|
||||
tauriAction: "tauri-apps/tauri-action@v0",
|
||||
platform: env.RELEASE_PLATFORM,
|
||||
runtime: env.RELEASE_RUNTIME,
|
||||
arch: env.RELEASE_ARCH,
|
||||
target: env.RELEASE_TARGET,
|
||||
args: env.RELEASE_ARGS,
|
||||
|
||||
Reference in new issue
Block a user