Skip to content

Commit

Permalink
fix(appimage): Ensure that AppImages contain valid .DirIcon file
Browse files Browse the repository at this point in the history
  • Loading branch information
develar committed Jun 21, 2019
1 parent b5d2b6e commit ef3b5f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/package-format/appimage/appLauncher.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ func copyIcons(options *AppImageOptions) ([]IconTemplateInfo, error) {
if err != nil {
return errors.WithStack(err)
}

err = os.Symlink(iconRelativeToStageFile, filepath.Join(stageDir, ".DirIcon"))
if err != nil {
return errors.WithStack(err)
}
}

return nil
Expand Down

0 comments on commit ef3b5f9

Please sign in to comment.