Skip to content

Build for Mac #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .erb/assets/demo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
675 changes: 675 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,19 @@

> Plain screen printer

![Demo](.erb/assets/demo.png)

## Features

## Demo
- Choose area to screenshot
- Convert screenshots to PDF
- Auto click next button

## Release

For MacOS: https://github.com/plainlab/plainprinter/releases

I don't have a Windows device so you have to build it yourself.

---

Expand Down
2 changes: 2 additions & 0 deletions assets/entitlements.mac.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
</dict>
</plist>
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"build:renderer": "cross-env NODE_ENV=production webpack --config ./.erb/configs/webpack.config.renderer.prod.babel.js",
"rebuild": "electron-rebuild --parallel --types prod,dev,optional --module-dir src",
"lint": "cross-env NODE_ENV=development eslint . --cache --ext .js,.jsx,.ts,.tsx",
"package": "rm -rf src/dist && yarn build && electron-builder build --publish never --win --mac",
"release": "rm -rf src/dist && yarn build && electron-builder build --publish always --win --mac --linux",
"package": "rm -rf src/dist && yarn build && electron-builder build --publish never --mac",
"release": "rm -rf src/dist && yarn build && electron-builder build --publish always --mac",
"postinstall": "node -r @babel/register .erb/scripts/CheckNativeDep.js && electron-builder install-app-deps && yarn cross-env NODE_ENV=development webpack --config ./.erb/configs/webpack.config.renderer.dev.dll.babel.js && opencollective-postinstall && yarn-deduplicate yarn.lock",
"start": "node -r @babel/register ./.erb/scripts/CheckPortInUse.js && yarn start:renderer",
"start:main": "cross-env NODE_ENV=development electron -r ./.erb/scripts/BabelRegister ./src/main.dev.ts",
Expand Down Expand Up @@ -255,7 +255,6 @@
"electron-store": "^8.0.0",
"electron-updater": "^4.3.4",
"history": "^5.0.0",
"pdfkit": "^0.12.3",
"qs": "^6.10.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
Expand Down
1 change: 1 addition & 0 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"license": "GPL-3.0-only",
"dependencies": {
"pdfkit": "^0.12.3",
"robotjs": "^0.6.0"
},
"devDependencies": {}
Expand Down
Loading