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.
- package/dist/main/index.js +2 -3
- package/package.json +1 -1
- package/public/icons/mac/png/1024x1024.png +0 -0
- package/public/icons/mac/png/128x128.png +0 -0
- package/public/icons/mac/png/16x16.png +0 -0
- package/public/icons/mac/png/24x24.png +0 -0
- package/public/icons/mac/png/256x256.png +0 -0
- package/public/icons/mac/png/32x32.png +0 -0
- package/public/icons/mac/png/48x48.png +0 -0
- package/public/icons/mac/png/512x512.png +0 -0
- package/public/icons/mac/png/64x64.png +0 -0
package/dist/main/index.js
CHANGED
|
@@ -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 (
|
|
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
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|