Improve path settings, add icons
This commit is contained in:
@@ -188,8 +188,7 @@ final class ImageGenerator {
|
||||
|
||||
// TODO: Run in security scope
|
||||
let process = Process()
|
||||
#warning("TODO: Move avifenc path to settings")
|
||||
process.launchPath = "/opt/homebrew/bin/avifenc" // Adjust based on installation
|
||||
process.launchPath = settings.tools.avifencPath
|
||||
process.arguments = ["-q", "\(quality)", imagePath, generatedImagePath]
|
||||
|
||||
let pipe = Pipe()
|
||||
|
||||
Reference in New Issue
Block a user