From f093d2a310627aa3ee5a2820339f8a18bd251e81 Mon Sep 17 00:00:00 2001 From: "Begonia, HE" <163421589+BegoniaHe@users.noreply.github.com> Date: Wed, 14 Jan 2026 05:12:31 +0100 Subject: feat(java): integrate Adoptium API for Java runtime download Add automatic Java (Temurin) download and installation feature: - Add Adoptium API v3 integration to fetch latest Java releases - Support JRE and JDK image types with version selection (8/11/17/21) - Implement platform detection for macOS, Linux, and Windows - Add SHA256 checksum verification for downloaded archives - Add tar.gz extraction support with Unix permission preservation - Handle macOS-specific Java path structure (Contents/Home/bin) - Add frontend UI with version selector and download progress - Register Tauri commands: fetch_adoptium_java, download_adoptium_java, fetch_available_java_versions Dependencies added: sha2, flate2, tar, dirs --- src-tauri/tauri.conf.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src-tauri/tauri.conf.json') diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index e5fda06..c8703a4 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -3,8 +3,8 @@ "version": "0.1.12", "identifier": "com.dropout.launcher", "build": { - "beforeDevCommand": "pnpm -C ../ui dev", - "beforeBuildCommand": "pnpm -C ../ui build", + "beforeDevCommand": "cd ../ui && pnpm dev", + "beforeBuildCommand": "cd ../ui && pnpm build", "devUrl": "http://localhost:5173", "frontendDist": "../ui/dist" }, -- cgit v1.2.3-70-g09d2 From e9d2c467e011499678b928df4562b4c4ac2f8f1d Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Thu, 15 Jan 2026 10:49:56 +0800 Subject: chore: Update commands for development and build in tauri config --- src-tauri/tauri.conf.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src-tauri/tauri.conf.json') diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 9a395fa..1f2b554 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -3,8 +3,8 @@ "version": "0.1.19", "identifier": "com.dropout.launcher", "build": { - "beforeDevCommand": "cd ../ui && pnpm dev", - "beforeBuildCommand": "cd ../ui && pnpm build", + "beforeDevCommand": "pnpm -C ../ui dev", + "beforeBuildCommand": "pnpm -C ../ui build", "devUrl": "http://localhost:5173", "frontendDist": "../ui/dist" }, @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2