markpdfdown 0.2.2 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,8 +5,8 @@
5
5
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>MarkPDFdown</title>
8
- <script type="module" crossorigin src="./assets/index-Xbcf0bJ0.js"></script>
9
- <link rel="stylesheet" crossorigin href="./assets/index-B_JfRqwM.css">
8
+ <script type="module" crossorigin src="./assets/index-DoIlrfzr.js"></script>
9
+ <link rel="stylesheet" crossorigin href="./assets/index-ChH6F00X.css">
10
10
  </head>
11
11
  <body>
12
12
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markpdfdown",
3
- "version": "0.2.2",
3
+ "version": "0.3.1",
4
4
  "description": "A high-quality PDF to Markdown tool based on large language model visual recognition.",
5
5
  "author": "MarkPDFdown",
6
6
  "main": "dist/main/index.js",
@@ -85,6 +85,16 @@
85
85
  ],
86
86
  "artifactName": "${productName}-${version}-${arch}.${ext}",
87
87
  "icon": "public/icons/mac/icon.icns",
88
+ "extendInfo": {
89
+ "CFBundleURLTypes": [
90
+ {
91
+ "CFBundleURLSchemes": [
92
+ "markpdfdown"
93
+ ],
94
+ "CFBundleURLName": "com.markpdfdown.desktop"
95
+ }
96
+ ]
97
+ },
88
98
  "hardenedRuntime": true,
89
99
  "gatekeeperAssess": false,
90
100
  "entitlements": "build/entitlements.mac.plist",
@@ -96,6 +106,12 @@
96
106
  "target": "nsis",
97
107
  "artifactName": "${productName}-${version}-${arch}.${ext}",
98
108
  "icon": "public/icons/win/icon.ico",
109
+ "protocols": {
110
+ "name": "MarkPDFdown URL",
111
+ "schemes": [
112
+ "markpdfdown"
113
+ ]
114
+ },
99
115
  "verifyUpdateCodeSignature": false
100
116
  },
101
117
  "nsis": {
@@ -109,7 +125,10 @@
109
125
  "linux": {
110
126
  "target": "AppImage",
111
127
  "artifactName": "${productName}-${version}-${arch}.${ext}",
112
- "icon": "public/icons/png"
128
+ "icon": "public/icons/png",
129
+ "mimeTypes": [
130
+ "x-scheme-handler/markpdfdown"
131
+ ]
113
132
  },
114
133
  "electronDownload": {
115
134
  "mirror": "https://github.com/electron/electron/releases/download/"