File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,11 @@ $(TARGET): fmt toml $(OBJ)
7878 cd $(BUILDDIR ) / && ln -sf $(TARGET ) cufetch
7979
8080dist :
81+ ifeq ($(GUI_MODE ) , 1)
82+ bsdtar -zcf $(NAME)-v$(VERSION).tar.gz LICENSE $(TARGET).desktop $(TARGET).1 assets/ascii/ -C $(BUILDDIR) $(TARGET)
83+ else
8184 bsdtar -zcf $(NAME)-v$(VERSION).tar.gz LICENSE $(TARGET).1 assets/ascii/ -C $(BUILDDIR) $(TARGET)
85+ endif
8286
8387clean :
8488 rm -rf $(BUILDDIR ) /$(TARGET ) $(OBJ )
@@ -98,7 +102,7 @@ install: $(TARGET)
98102 cd assets/ && find ascii/ -type f -exec install -Dm 644 " {}" " $( DESTDIR) $( PREFIX) /share/customfetch/{}" \;
99103ifeq ($(GUI_MODE ) , 1)
100104 mkdir -p $(DESTDIR)$(APPPREFIX)
101- cp -f $(TARGET).desktop $(DESTDIR)$(APPPREFIX)
105+ cp -f $(TARGET).desktop $(DESTDIR)$(APPPREFIX)/$(TARGET).desktop
102106endif
103107
104108uninstall :
You can’t perform that action at this time.
0 commit comments