diff --git a/.github/workflows/tauri.yml b/.github/workflows/tauri.yml index 35f30d1..e42137c 100644 --- a/.github/workflows/tauri.yml +++ b/.github/workflows/tauri.yml @@ -1,4 +1,4 @@ -name: Tauri +name: Tauri CI on: push: @@ -76,8 +76,8 @@ jobs: - name: Extract version from package.json id: extract_version run: | - $packageJson = Get-Content -Raw -Path package.json | ConvertFrom-Json - $version = $packageJson.version + $tauriconfJson = Get-Content -Raw -Path src-tauri\tauri.conf.json | ConvertFrom-Json + $version = $tauriconfJson.version echo "VERSION=$version" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 - name: Create Release diff --git a/bun.lockb b/bun.lockb index 76659ae..503765f 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 334416d..8617f4a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "xyyinfoquery", "private": true, - "version": "0.0.0", + "version": "0.0.3", "type": "module", "scripts": { "dev": "vite", @@ -10,16 +10,17 @@ "tauri": "tauri" }, "dependencies": { - "vue": "^3.3.4", "@tauri-apps/api": ">=2.0.0-beta.0", - "@tauri-apps/plugin-shell": ">=2.0.0-beta.0" + "@tauri-apps/plugin-shell": ">=2.0.0-beta.0", + "vue": "^3.3.4" }, "devDependencies": { + "@tauri-apps/cli": ">=2.0.0-beta.0", "@vitejs/plugin-vue": "^5.0.4", + "internal-ip": "^7.0.0", + "toml": "^3.0.0", "typescript": "^5.0.2", "vite": "^5.0.0", - "vue-tsc": "^1.8.5", - "@tauri-apps/cli": ">=2.0.0-beta.0", - "internal-ip": "^7.0.0" + "vue-tsc": "^1.8.5" } -} +} \ No newline at end of file diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 4a95355..0e4815f 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -4483,7 +4483,7 @@ dependencies = [ [[package]] name = "xyyinfoquery" -version = "0.0.0" +version = "0.0.3" dependencies = [ "reqwest", "serde", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index d897553..336c493 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xyyinfoquery" -version = "0.0.0" +version = "0.0.3" description = "A Tauri App" authors = ["you"] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 3fdff14..56859c0 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -49,4 +49,4 @@ } } } -} +} \ No newline at end of file