Full page content, fixes, cleaner settings

This commit is contained in:
Christoph Hagen
2024-12-13 11:26:34 +01:00
parent efc9234917
commit b3b8c9a610
50 changed files with 1351 additions and 607 deletions

View File

@ -0,0 +1,31 @@
import Foundation
final class PathSettings: ObservableObject {
@Published
var outputDirectoryPath: String
@Published
var pagesOutputFolderPath: String
@Published
var imagesOutputFolderPath: String
@Published
var filesOutputFolderPath: String
@Published
var videosOutputFolderPath: String
@Published
var tagsOutputFolderPath: String
init(file: PathSettingsFile) {
self.outputDirectoryPath = file.outputDirectoryPath
self.pagesOutputFolderPath = file.pagesOutputFolderPath
self.imagesOutputFolderPath = file.imagesOutputFolderPath
self.filesOutputFolderPath = file.filesOutputFolderPath
self.videosOutputFolderPath = file.videosOutputFolderPath
self.tagsOutputFolderPath = file.tagsOutputFolderPath
}
}