Skip to content

Commit

Permalink
Merge pull request #9 from GuoJikun/dev
Browse files Browse the repository at this point in the history
准备 0.6.0 版本
  • Loading branch information
GuoJikun authored Dec 13, 2024
2 parents f20fd66 + a05c6da commit c763cc7
Show file tree
Hide file tree
Showing 207 changed files with 11,411 additions and 9,217 deletions.
37 changes: 22 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,32 @@ jobs:
matrix:
settings:
- platform: windows-latest
args: "--verbose"
args: "--target x86_64-pc-windows-msvc"
target: "windows"
# - platform: macos-latest
# args: "--target x86_64-apple-darwin"
# target: "macos-intel"
# - platform: macos-latest
# args: "--target aarch64-apple-darwin"
# target: "macos-arm"
- platform: windows-latest
args: "--target aarch64-pc-windows-msvc"
target: "windows-aarch64"

runs-on: ${{ matrix.settings.platform }}

steps:
- name: Checkout
uses: actions/checkout@v4
# - name: Add Rust targets(macOS Intel)
# if: matrix.settings.target == 'macos-intel'
# run: rustup target add x86_64-apple-darwin
# - name: Add Rust targets(macOS ARM)
# if: matrix.settings.target == 'macos-arm'
# run: rustup target add aarch64-apple-darwin
- name: Add Rust targets window aarch64
if: matrix.settings.target == 'windows-aarch64'
run: rustup target add aarch64-pc-windows-msvc

- name: Get latest release
id: get_release
uses: actions/github-script@v4
with:
script: |
const latestRelease = await github.repos.getLatestRelease({
owner: context.repo.owner,
repo: context.repo.repo,
});
const notes = latestRelease.data.body || '没有更新信息';
return notes;
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -60,7 +67,7 @@ jobs:
with:
args: ${{ matrix.settings.args }}
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: v__VERSION__-beta
releaseBody: "This is a release"
releaseName: 'v__VERSION__'
releaseBody: "${{ steps.get_release.outputs.result }}"
releaseDraft: true
prerelease: false
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,10 @@ pnpm tauri build
- [ ] 支持格式的选择
- [ ] 版本显示以及更新
- [ ] 自启动

## 使用到的开源软件

- csv
- calamine
- vitepress 的样式
- zip
81 changes: 46 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quicklook",
"version": "0.5.0",
"version": "0.6.0",
"description": "Windows 平台的文件预览工具",
"private": true,
"type": "module",
Expand All @@ -18,55 +18,66 @@
"dependencies": {
"@element-plus/icons-vue": "^2.3.1",
"@handsontable/vue3": "^14.6.1",
"@shikijs/markdown-it": "^1.22.2",
"@tauri-apps/api": "^2.0.3",
"@shikijs/markdown-it": "^1.24.0",
"@tauri-apps/api": "^2.1.1",
"@tauri-apps/plugin-autostart": "~2",
"@tauri-apps/plugin-dialog": "~2",
"@tauri-apps/plugin-fs": "~2",
"@tauri-apps/plugin-shell": "~2",
"@tauri-apps/plugin-dialog": "~2.0.1",
"@tauri-apps/plugin-fs": "~2.0.3",
"@tauri-apps/plugin-log": "^2.0.1",
"@tauri-apps/plugin-shell": "~2.0.1",
"@tauri-apps/plugin-sql": "~2",
"@tauri-apps/plugin-updater": "~2",
"@vicons/fluent": "^0.12.0",
"@vueuse/core": "^11.1.0",
"element-plus": "^2.8.7",
"@vueuse/core": "^12.0.0",
"codemirror": "^6.0.1",
"element-plus": "^2.9.0",
"handsontable": "^14.6.1",
"leafer-ui": "^1.0.7",
"leafer-ui": "^1.0.10",
"markdown-it": "^14.1.0",
"naive-ui": "^2.40.1",
"pdfjs-dist": "^4.8.69",
"pinia": "^2.2.4",
"shiki": "^1.22.2",
"vue": "^3.5.12",
"vue-router": "^4.4.5",
"markdown-it-abbr": "^2.0.0",
"markdown-it-anchor": "^9.2.0",
"markdown-it-container": "^4.0.0",
"markdown-it-deflist": "^3.0.0",
"markdown-it-emoji": "^3.0.0",
"markdown-it-ins": "^4.0.0",
"markdown-it-katex": "^2.0.3",
"markdown-it-table-of-contents": "^0.8.0",
"markdown-it-task-lists": "^2.1.1",
"markdown-it-toc-and-anchor": "^4.2.0",
"naive-ui": "^2.40.3",
"pdfjs-dist": "^4.9.124",
"pinia": "^2.2.8",
"shiki": "^1.24.0",
"vue": "^3.5.13",
"vue-router": "^4.5.0",
"xgplayer": "^3.0.20"
},
"devDependencies": {
"@tauri-apps/cli": "^2.0.3",
"@tauri-apps/cli": "^2.1.0",
"@tsconfig/node20": "^20.1.4",
"@types/jsdom": "^21.1.7",
"@types/markdown-it": "^14.1.2",
"@types/node": "^20.16.11",
"@types/pdfjs-dist": "^2.10.378",
"@vitejs/plugin-vue": "^5.1.4",
"@vitejs/plugin-vue-jsx": "^4.0.1",
"@types/node": "^22.10.1",
"@vitejs/plugin-vue": "^5.2.1",
"@vitejs/plugin-vue-jsx": "^4.1.1",
"@vitest/eslint-plugin": "1.1.7",
"@vue/eslint-config-prettier": "^10.0.0",
"@vue/eslint-config-typescript": "^14.0.1",
"@vue/eslint-config-prettier": "^10.1.0",
"@vue/eslint-config-typescript": "^14.1.4",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.5.1",
"eslint": "^9.12.0",
"eslint-plugin-vue": "^9.29.0",
"@vue/tsconfig": "^0.7.0",
"eslint": "^9.16.0",
"eslint-plugin-vue": "^9.32.0",
"jsdom": "^25.0.1",
"npm-run-all2": "^6.2.3",
"prettier": "^3.3.3",
"sass": "^1.80.3",
"typescript": "~5.5.4",
"vite": "^5.4.8",
"vite-plugin-vue-devtools": "^7.4.6",
"vitest": "^2.1.2",
"vue-tsc": "^2.1.6"
"npm-run-all2": "^7.0.1",
"prettier": "^3.4.2",
"sass": "^1.82.0",
"typescript": "~5.7.2",
"vite": "^6.0.3",
"vitest": "^2.1.8",
"vue-tsc": "^2.1.10"
},
"volta": {
"node": "20.18.0",
"pnpm": "9.12.2"
"node": "22.12.0",
"pnpm": "9.15.0"
}
}
Loading

0 comments on commit c763cc7

Please sign in to comment.