Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anatawa12/asar4j
A asar implementation in java without runtime depndency
https://github.com/anatawa12/asar4j
asar-archive java java-8
Last synced: 14 days ago
JSON representation
A asar implementation in java without runtime depndency
- Host: GitHub
- URL: https://github.com/anatawa12/asar4j
- Owner: anatawa12
- License: mit
- Created: 2021-04-27T12:12:53.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-26T09:28:39.000Z (over 3 years ago)
- Last Synced: 2024-11-01T06:25:43.721Z (2 months ago)
- Topics: asar-archive, java, java-8
- Language: Java
- Homepage:
- Size: 111 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# ASAR4j
[![a12 maintenance: Inactive](https://api.anatawa12.com/short/a12-inactive-svg)](https://api.anatawa12.com/short/a12-inactive-doc)
[![](https://img.shields.io/maven-central/v/com.anatawa12.asar4j/common)](https://github.com/anatawa12/asar4j/releases/latest)
[![Discord](https://img.shields.io/discord/834256470580396043)](https://discord.gg/yzEdnuJMXv)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:```xml
com.anatawa12.asar4j
[choose from file, writer or url]
[version]```
To add a dependency using Gradle:
```kotlin
dependencies {
implementation("com.anatawa12.asar4j::")
}
```[asar]: https://github.com/electron/asar