Multi-platform (Mac, Windows, Linux) app that minifies SVG files and exports to PNG, JPG, TIFF or WEBP.
Check the video preview 👆
More details on CONTRIBUTING.
Start the app in the dev
environment:
yarn
yarn start
To package apps for the local platform:
yarn package
docker run --rm -ti \
--env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS_TAG|TRAVIS|TRAVIS_REPO_|TRAVIS_BUILD_|TRAVIS_BRANCH|TRAVIS_PULL_REQUEST_|APPVEYOR_|CSC_|GH_|GITHUB_|BT_|AWS_|STRIP|BUILD_') \
--env ELECTRON_CACHE="/root/.cache/electron" \
--env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \
-v ${PWD}:/project \
-v ${PWD##*/}-node-modules:/project/node_modules \
-v ~/.cache/electron:/root/.cache/electron \
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
electronuserland/builder:wine
- Run the command bellow on terminal:
open /Applications/SvgHero.app --args --remote-debugging-port=8315
-
Navigate to
chrome://inspect/#devices
in Chrome 80+. Then clickConfigure...
and addlocalhost:8315
as a discovery server. -
Then, wait for your Electron instance to appear in the devices list and click
inspec
- Change your trust settings of your developer certificate in keychain access to system default
- Delete all certificates in your local keychain
- Quit and relaunch xcode
- Clean
- Run program on device
- When it asks, enter your keychain password and click always trust
codesign --display --verbose=2 SvgHero.app // If the app is signed it will display the details in the Terminal.
pkgutil --check-signature SvgHero-1.0.0.pkg // If it is signed it will display the details in the Terminal.
-
electron-react-boilerplate docs and guides;
-
Installation or compilation issues with this project, check electron-react-boilerplate debugging guide;
GPL-3.0, see LICENSE.