完善docker部署和readme

This commit is contained in:
dushixiang
2020-12-25 19:42:26 +08:00
parent 6c7cb6b0e7
commit bbd7eef0e1
14 changed files with 112 additions and 30 deletions

View File

@ -87,7 +87,7 @@ func InitProperties() error {
Name: guacd.RecordingPath,
Value: path + "/recording/",
}
if !utils.Exists(property.Value) {
if !utils.FileExists(property.Value) {
if err := os.Mkdir(property.Value, os.ModePerm); err != nil {
return err
}
@ -125,7 +125,7 @@ func InitProperties() error {
Name: guacd.DrivePath,
Value: path + "/drive/",
}
if !utils.Exists(property.Value) {
if !utils.FileExists(property.Value) {
if err := os.Mkdir(property.Value, os.ModePerm); err != nil {
return err
}