A shepherd for your Appimages.
0

Configure Feed

Select the types of activity you want to include in your feed.

dwarfs: make executable for upgrade (ugh)

Aly Raffauf (Jun 18, 2026, 12:55 PM EDT) cfffc90b 4f0c2cd2

+3 -1
+3 -1
internal/appherder/dwarfs.go
··· 40 40 func extractCommand(ctx context.Context, appimagePath, destDir string) *exec.Cmd { 41 41 extract, err := exec.LookPath("dwarfsextract") 42 42 if err == nil { 43 - // Extract only the desktop entry and icon files. 44 43 return exec.CommandContext(ctx, extract, 45 44 "--input="+appimagePath, 46 45 "--output="+destDir, ··· 50 49 "--pattern=.DirIcon", 51 50 ) 52 51 } 52 + // Fall back to the AppImage's own --appimage-extract. The file must be 53 + // executable for this to work. 54 + os.Chmod(appimagePath, 0o755) 53 55 cmd := exec.CommandContext(ctx, appimagePath, "--appimage-extract") 54 56 cmd.Dir = destDir 55 57 return cmd