refactoring...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-06-30 15:00:35 +03:00
parent 8229616ad7
commit bd21d14226
3 changed files with 10 additions and 17 deletions

View File

@ -1,8 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=$APP_PATH
Name=$APP_NAME
Icon=$ICON_PATH
Comment=Image sorting and editing
Categories=Photography;Graphics;Database;Viewer;
Exec=$LAUNCHER
Icon=$ICON
Terminal=false
Type=Application
StartupNotify=true

View File

@ -731,9 +731,10 @@ $(BUILD_INFO): $(CSS_FILES) $(NODE_DIR) $(PROJECT_FILES) \
%.css: %.less
$(LESSC) $< > $@
# XXX get this from the install path...
$(APP_NAME).desktop: templates/App.desktop
$(APP_NAME).desktop: App.desktop.tpl
cat $< \
| sed 's#\$$APP_NAME#$(APP_NAME)#' \
| sed 's#\$$LAUNCHER#$(INSTALL_PATH)/$(APP_LAUNCHER)#' \
| sed 's#\$$ICON#$(ICON_PATH)#' \
> $@

View File

@ -1,9 +0,0 @@
[Desktop Entry]
Name=ImageGrid.Viewer
Comment=Image sorting and editing
Categories=Photography;Graphics;Database;Viewer;
Exec=$LAUNCHER
Icon=$ICON
Terminal=false
Type=Application
StartupNotify=true