Skip to content

Commit

Permalink
Merge pull request #18 from GuoJikun/fix-wasm-load
Browse files Browse the repository at this point in the history
fix: 修复 shiki 中的 wasm 加载失败问题
  • Loading branch information
GuoJikun authored Feb 12, 2025
2 parents b2c6a75 + 15bac84 commit defac2c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quicklook",
"version": "0.8.4",
"version": "0.8.5",
"description": "Windows 平台的文件预览工具",
"private": true,
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "app"
version = "0.8.4"
version = "0.8.5"
description = "Windows 平台的文件预览工具"
authors = ["GuoJikun <guojikun486546@163.com>"]
license = ""
Expand Down
5 changes: 3 additions & 2 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "quicklook",
"version": "0.8.4",
"version": "0.8.5",
"identifier": "dev.jikun.quicklook",
"build": {
"frontendDist": "../dist",
Expand All @@ -13,7 +13,8 @@
"windows": [],
"security": {
"csp": {
"img-src": "'self' asset: http://asset.localhost blob: data:"
"img-src": "'self' asset: http://asset.localhost blob: data:",
"script-src": "'self' 'unsafe-eval' 'unsafe-inline'"
},
"assetProtocol": {
"enable": true,
Expand Down

0 comments on commit defac2c

Please sign in to comment.