Skip to content

A asar implementation in java without runtime depndency

License

Notifications You must be signed in to change notification settings

anatawa12/asar4j

Repository files navigation

ASAR4j

a12 maintenance: Inactive Discord

A asar implementation in java without runtime dependency.

IMPORTANT: THIS LIBRARY IS EXPERIMENTAL. I MAY BREAK APIS IN THE FEATURE.

How to use

This library was separated to four jars to keep small library.

  • common The library contains Entry class. All those libraries depending on this library.
  • file The library contains java.util.zip.ZipFile-like file reader.
  • writer The library contains java.util.zip.ZipOutputStream-like file writer.
  • url The library contains implementation of asar: url protocol like jar: but allows asar-in-asar or asar-in-jar.

This library has been published on maven central repository. To add a dependency on asar4j using Maven, use the following:

<dependency>
  <groupId>com.anatawa12.asar4j</groupId>
  <artifactId>[choose from file, writer or url]</artifactId>
  <version>[version]</version>
</dependency>

To add a dependency using Gradle:

dependencies {
  implementation("com.anatawa12.asar4j:<library-name>:<version>")
}

About

A asar implementation in java without runtime depndency

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published