Git Product home page Git Product logo

badpeggy's Introduction

Bad Peggy

Bad Peggy scans JPEG and other image formats for damage and other blemishes and shows the results and images instantly. It allows you to find such broken files quickly, inspect and then either delete or move them to a different location.

Implemented in Java 17 and SWT. Runs on Windows, MacOS and Linux.

Development

Everything is managed by Maven, to build things in one step simply type

./build.sh

Under Windows you may need to install MSYS to run such shell commands.

The preferred development environment is Visual Studio Code - it automatically does the Maven build in the background on every code change. There also are launchers to either just run/debug the code or the fully packaged JAR files, as well as tasks to do the building processes.

To run the tests (this can take a while):

mvn test

Since SWT drives the UI you need to adjust the .mvn/local-settings.xml file to declare the platform you're working on.

Sometimes thing might get stuck. In such a case try to

  • remove the ./target and ./ship folders
  • delete the ~/.swt folder in your home directory
  • under Java Projects (same place than the folder view, on the bottom) click [...] and then Clean Workspace

Shipping

Set the latest version in a variety of places and rebuild:

./version.sh 1.2.3
./build.sh

Acquire and prepare the JRE binaries:

./prepare_jre.sh

This downloads all JREs for all the supported platforms and also optimizes them for shipping.

Then run the shell scripts with that version number of the release:

./ship.sh 1.2.3
./ship_macos.sh 1.2.3

The final packaged material can then be found in the ./ship folder.

badpeggy's People

Contributors

mchahn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.