markpdfdown 0.1.7-beta.7 → 0.1.7-beta.8

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.
@@ -3407,12 +3407,11 @@ if (!app.isPackaged) {
3407
3407
  }
3408
3408
  }
3409
3409
  function getIconPath() {
3410
- const useNativeFormat = app.isPackaged;
3411
3410
  let iconName;
3412
- if (useNativeFormat) {
3411
+ if (app.isPackaged) {
3413
3412
  iconName = process.platform === "darwin" ? "icons/mac/icon.icns" : process.platform === "win32" ? "icons/win/icon.ico" : "icons/png/512x512.png";
3414
3413
  } else {
3415
- iconName = "icons/png/512x512.png";
3414
+ iconName = process.platform === "darwin" ? "icons/mac/png/512x512.png" : "icons/png/512x512.png";
3416
3415
  }
3417
3416
  if (process.env.ELECTRON_RENDERER_URL) {
3418
3417
  return path.join(process.cwd(), "public", iconName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markpdfdown",
3
- "version": "0.1.7-beta.7",
3
+ "version": "0.1.7-beta.8",
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",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file