[tag] 0.0.6-beta.4 build preparation

This commit is contained in:
2025-11-05 02:35:35 +08:00
parent 543c3344d1
commit ea0a42dc43
9 changed files with 9 additions and 18 deletions

View File

@@ -1 +1 @@
22 25

11
.vscode/tasks.json vendored
View File

@@ -7,25 +7,16 @@
"label": "Dev Tauri", "label": "Dev Tauri",
"type": "shell", "type": "shell",
"command": "bun tauri dev", "command": "bun tauri dev",
"problemMatcher": [
"$vite"
],
}, },
{ {
"label": "Build Tauri to nsis installer", "label": "Build Tauri to nsis installer",
"type": "shell", "type": "shell",
"command": "bun tauri build -b nsis", "command": "bun tauri build -b nsis",
"problemMatcher": [
"$vite"
],
}, },
{ {
"label": "Build Tauri", "label": "Build Tauri",
"type": "shell", "type": "shell",
"command": "bun tauri build", "command": "bun tauri build",
"problemMatcher": [
"$vite"
],
} }
] ]
} }

2
next-env.d.ts vendored
View File

@@ -1,6 +1,6 @@
/// <reference types="next" /> /// <reference types="next" />
/// <reference types="next/image-types/global" /> /// <reference types="next/image-types/global" />
import "./.next/dev/types/routes.d.ts"; import "./.next/types/routes.d.ts";
// NOTE: This file should not be edited // NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

View File

@@ -1,6 +1,6 @@
{ {
"name": "cstb-next", "name": "cstb-next",
"version": "0.0.1", "version": "0.0.6",
"private": true, "private": true,
"author": { "author": {
"name": "Purp1e", "name": "Purp1e",

2
src-tauri/Cargo.lock generated
View File

@@ -4,7 +4,7 @@ version = 4
[[package]] [[package]]
name = "CS工具箱" name = "CS工具箱"
version = "0.0.1" version = "0.0.6"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"base64 0.22.1", "base64 0.22.1",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "CS工具箱" name = "CS工具箱"
version = "0.0.1" version = "0.0.6"
description = "A Tauri App" description = "A Tauri App"
authors = ["Purp1e"] authors = ["Purp1e"]
license = "" license = ""

View File

@@ -44,7 +44,7 @@
}, },
"productName": "CS工具箱", "productName": "CS工具箱",
"mainBinaryName": "cstb", "mainBinaryName": "cstb",
"version": "0.0.6-beta.3", "version": "0.0.6-beta.4",
"identifier": "upup.cool", "identifier": "upup.cool",
"plugins": { "plugins": {
"deep-link": { "deep-link": {

View File

@@ -24,7 +24,7 @@ const Card = ({ children, className, ...props }: CardProps) => {
const CardHeader = ({ children }: CardProps) => { const CardHeader = ({ children }: CardProps) => {
return ( return (
<div className="flex items-center gap-1.5 tracking-wide select-none flex-shrink-0"> <div className="flex items-center gap-1.5 tracking-wide select-none shrink-0">
{children} {children}
</div> </div>
) )

View File

@@ -36,7 +36,7 @@ export const useAppStore = () => {
} }
} }
const launchStore = new LazyStore('cstb.json', { autoSave: true }); const launchStore = new LazyStore('cstb.json', { autoSave: true, defaults: defaultValue });
if (typeof window !== 'undefined') void launchStore.save() if (typeof window !== 'undefined') void launchStore.save()
const setVersion = (version: string) => { const setVersion = (version: string) => {