adding path checks to manager
This commit is contained in:
		@@ -19,6 +19,7 @@ type Manager struct {
 | 
			
		||||
	patcher  engine.Patcher
 | 
			
		||||
	dB       *database.DB
 | 
			
		||||
	Informer chan OperatingMessage
 | 
			
		||||
	*FilePaths
 | 
			
		||||
	//ProgressCommunicator io.WriteCloser
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -28,6 +29,17 @@ type CustomPlugin interface {
 | 
			
		||||
	Description() string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
//FilePaths holds the full paths to all the relevant folders
 | 
			
		||||
type FilePaths struct {
 | 
			
		||||
	KeyFolder      string
 | 
			
		||||
	DownloadFolder string
 | 
			
		||||
	SyncFolder     string
 | 
			
		||||
	ThumbFolder    string
 | 
			
		||||
	DiffFolder     string
 | 
			
		||||
	LogFolder      string
 | 
			
		||||
	PluginFolder   string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// type PluginManager struct {
 | 
			
		||||
// 	engine   *qml.QQmlApplicationEngine
 | 
			
		||||
// 	informer chan OperatingMessage
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user