Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

:bug: Fix release dependency version

Tw93671691992c07
diff --git a/.github/actions/setup-env/action.yml b/.github/actions/setup-env/action.yml
index b03f50c6..73a6e716 100644
--- a/.github/actions/setup-env/action.yml
+++ b/.github/actions/setup-env/action.yml
@@ -91,12 +91,13 @@ runs:
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- target: x86_64-apple-darwin
- name: Add macOS universal targets
if: env.SETUP_RUST == 'true' && runner.os == 'macOS'
shell: bash
- run: rustup target add aarch64-apple-darwin
+ run: |
+ rustup target add x86_64-apple-darwin
+ rustup target add aarch64-apple-darwin
# 4. System Dependencies
- name: Install Ubuntu dependencies
@@ -107,7 +108,8 @@ runs:
libdbus-1-dev libsoup-3.0-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev
build-essential curl wget file libxdo-dev libssl-dev libgtk-3-dev
libayatana-appindicator3-dev librsvg2-dev gnome-video-effects gnome-video-effects-extra
- libglib2.0-dev pkg-config
+ libglib2.0-dev libglib2.0-dev-bin libgio2.0-cil-dev libgirepository1.0-dev
+ pkg-config
version: 1.1
- name: Install WIX Toolset
diff --git a/.github/workflows/single-app.yaml b/.github/workflows/single-app.yaml
index 793fcb48..1746d3f1 100644
--- a/.github/workflows/single-app.yaml
+++ b/.github/workflows/single-app.yaml
@@ -76,7 +76,7 @@ jobs:
- name: Setup Node.js Environment
uses: ./.github/actions/setup-env
with:
- mode: node-only
+ mode: ${{ matrix.build == 'linux' && 'full' || 'node-only' }}
- name: Rust cache restore
uses: actions/cache/[email protected]
diff --git a/Dockerfile b/Dockerfile
index 4e4b6dd0..d0f5c6a4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.4
-# Cargo build stage - Updated to Rust 1.82 for zerovec dependency compatibility
-FROM rust:1.82-slim AS cargo-builder
+# Cargo build stage - Updated to Rust 1.85 for edition2024 support
+FROM rust:1.85-slim AS cargo-builder
# Install Rust dependencies
RUN --mount=type=cache,target=/var/cache/apt \
--mount=type=cache,target=/usr/local/cargo/registry \
@@ -27,7 +27,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
RUN ls -la /cargo-cache/registry && ls -la /cargo-cache/git && rm -rfd /cargo-cache/registry/src
# Main build stage
-FROM rust:1.82-slim AS builder
+FROM rust:1.85-slim AS builder
# Install Rust dependencies
RUN --mount=type=cache,target=/var/cache/apt \
--mount=type=cache,target=/usr/local/cargo/registry \
diff --git a/dist/cli.js b/dist/cli.js
index e72cb50d..42fbb082 100755
--- a/dist/cli.js
+++ b/dist/cli.js
@@ -1674,7 +1674,7 @@ program
if (option.flags === '-v, --version')
return '';
return option.description;
- }
+ },
})
.action(async (url, options) => {
await checkUpdateTips();
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index b58196bd..8dd473bd 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -6,7 +6,7 @@ authors = ["Tw93"]
license = "MIT"
repository = "https://github.com/tw93/Pake"
edition = "2021"
-rust-version = "1.78.0"
+rust-version = "1.85.0"
[lib]
name = "app_lib"