Add downloading of main components, fix dir permissions

Fixes #2, #3
This commit is contained in:
Daniel
2019-07-04 13:54:51 +02:00
parent 9636777b30
commit 5b80a0b95e
7 changed files with 67 additions and 56 deletions

View File

@@ -7,6 +7,7 @@ type File struct {
stable bool
}
// NewFile combines update file attributes into an easy to use object.
func NewFile(filepath string, version string, stable bool) *File {
return &File{
filepath: filepath,