summaryrefslogtreecommitdiffstats
path: root/pkg/app
diff options
context:
space:
mode:
authorRyooooooga <eial5q265e5@gmail.com>2022-04-01 23:38:41 +0900
committerJesse Duffield <jessedduffield@gmail.com>2022-04-02 08:48:38 +1100
commit86c259623c0f54b5eac6022cbdf232521de19ab8 (patch)
treee88a06d4f261da5f9ba8d5594e25b639a06af095 /pkg/app
parent2fbb52fa2cc1eaed9952206b0091b9ac2ee63d8b (diff)
feat: fix permission problem of temp dirs
Diffstat (limited to 'pkg/app')
-rw-r--r--pkg/app/app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/app/app.go b/pkg/app/app.go
index c81332df0..592505d60 100644
--- a/pkg/app/app.go
+++ b/pkg/app/app.go
@@ -122,7 +122,7 @@ func NewApp(config config.AppConfigurer) (*App, error) {
return app, nil
}
- app.OSCommand = oscommands.NewOSCommand(app.Common, oscommands.GetPlatform(), oscommands.NewNullGuiIO(log))
+ app.OSCommand = oscommands.NewOSCommand(app.Common, config, oscommands.GetPlatform(), oscommands.NewNullGuiIO(log))
app.Updater, err = updates.NewUpdater(app.Common, config, app.OSCommand)
if err != nil {