Skip to content

Commit

Permalink
add 7zip support for Apple silicon M1
Browse files Browse the repository at this point in the history
This depends on the library sevenzipjbindings adding Apple silicon
support. MuCommander has already patched the library, so for the time
being we use their artifact.

Fixes #4.
  • Loading branch information
memo33 committed Aug 11, 2024
1 parent b10c43f commit 5fc00bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## [Unreleased]
### Fixed
- support for Apple silicon M1 (#4) (previously, some packages using NSIS exe installers could not be extracted on that platform)


## [0.4.3] - 2024-05-21
Expand Down
8 changes: 7 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,13 @@ libraryDependencies += "me.xdrop" % "fuzzywuzzy" % "1.4.0" // fuzzy search

libraryDependencies += "net.sf.sevenzipjbinding" % "sevenzipjbinding" % "16.02-2.01" // native 7z for NSIS extraction

libraryDependencies += "net.sf.sevenzipjbinding" % "sevenzipjbinding-all-platforms" % "16.02-2.01" // native 7z for NSIS extraction
// libraryDependencies += "net.sf.sevenzipjbinding" % "sevenzipjbinding-all-platforms" % "16.02-2.01" // native 7z for NSIS extraction

// https://www.mucommander.com/maven/com/mucommander/sevenzipjbinding-all-platforms/16.02-2.01/sevenzipjbinding-all-platforms-16.02-2.01.pom
// https://www.mucommander.com/maven/com/mucommander/sevenzipjbinding-all-platforms/16.02-2.01/sevenzipjbinding-all-platforms-16.02-2.01.jar
// resolvers += "mucommander internal Maven repository" at "https://www.mucommander.com/maven/"
libraryDependencies += ("com.mucommander" % "sevenzipjbinding-all-platforms" % "16.02-2.01" // patched by muCommander for Apple M1 support
from "https://www.mucommander.com/maven/com/mucommander/sevenzipjbinding-all-platforms/16.02-2.01/sevenzipjbinding-all-platforms-16.02-2.01.jar")

libraryDependencies += "dev.zio" %% "zio-http" % "3.0.0-RC3" exclude("org.scala-lang.modules", "scala-collection-compat_3") // server

Expand Down

0 comments on commit 5fc00bc

Please sign in to comment.