diff --git a/package.json b/package.json index c1e7e1c..0fc3692 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "build:test": "electron-vite build --mode test && electron-builder --win --config ./electron-builder.yml", "build:prod": "electron-vite build --mode production && electron-builder --win --config ./electron-builder-prod.yml", "build:lt": "electron-vite build --mode lt && electron-builder --win --config ./electron-builder-lt.yml", - "build:mac": "npm run build && electron-builder --mac", + "build:mac": "electron-vite build --mode production && electron-builder --mac --config ./electron-builder-prod.yml", "build:linux": "npm run build && electron-builder --linux" }, "dependencies": { diff --git a/src/renderer/src/components/PdfJs/index.vue b/src/renderer/src/components/PdfJs/index.vue index 58dc927..50e7e8e 100644 --- a/src/renderer/src/components/PdfJs/index.vue +++ b/src/renderer/src/components/PdfJs/index.vue @@ -6,6 +6,7 @@