Skip to content
This repository was archived by the owner on Jan 3, 2026. It is now read-only.

Commit f1aae3e

Browse files
authored
Merge pull request #13 from CKylinMC/dev
1.0.0 first release
2 parents 84842cf + 6d6728e commit f1aae3e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+579
-80
lines changed

.github/workflows/build.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: 'publish'
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
tags:
7+
- 'v*'
8+
9+
jobs:
10+
publish-tauri:
11+
permissions:
12+
contents: write
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
include:
17+
- platform: 'windows-latest'
18+
args: ''
19+
20+
runs-on: ${{ matrix.platform }}
21+
steps:
22+
- uses: actions/checkout@v4
23+
24+
- name: setup node
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: lts/*
28+
cache: 'yarn' # Set this to npm, yarn or pnpm.
29+
30+
- name: install Rust stable
31+
uses: dtolnay/rust-toolchain@stable # Set this to dtolnay/rust-toolchain@nightly
32+
with:
33+
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
34+
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
35+
36+
- name: Rust cache
37+
uses: swatinem/rust-cache@v2
38+
with:
39+
workspaces: './src-tauri -> target'
40+
41+
- name: install frontend dependencies
42+
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
43+
run: yarn install # change this to npm or pnpm depending on which one you use.
44+
45+
- uses: tauri-apps/tauri-action@v0
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
with:
49+
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
50+
releaseName: 'App v__VERSION__'
51+
releaseBody: 'See the assets to download this version and install.'
52+
releaseDraft: true
53+
prerelease: false
54+
args: ${{ matrix.args }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ dist-ssr
2424
*.sw?
2525

2626
components.d.ts
27+
.tauri

components.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ declare module 'vue' {
1616
NCollapseItem: typeof import('naive-ui')['NCollapseItem']
1717
NCollapseTransition: typeof import('naive-ui')['NCollapseTransition']
1818
NConfigProvider: typeof import('naive-ui')['NConfigProvider']
19+
NIcon: typeof import('naive-ui')['NIcon']
1920
NInput: typeof import('naive-ui')['NInput']
2021
NList: typeof import('naive-ui')['NList']
2122
NListItem: typeof import('naive-ui')['NListItem']

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pasteme",
33
"private": true,
4-
"version": "0.4.0",
4+
"version": "1.0.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
@@ -24,6 +24,7 @@
2424
"@tauri-apps/plugin-process": "^2.2.0",
2525
"@tauri-apps/plugin-store": "~2",
2626
"@tauri-apps/plugin-stronghold": "~2",
27+
"@tauri-apps/plugin-updater": "~2",
2728
"@tavily/core": "^0.3.1",
2829
"ai": "^4.1.41",
2930
"marked": "^15.0.7",
@@ -52,4 +53,4 @@
5253
"vue-tsc": "^2.2.2",
5354
"zod": "^3.24.2"
5455
}
55-
}
56+
}

0 commit comments

Comments
 (0)