tweaking Makefile...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-06-30 14:09:52 +03:00
parent 678aef7809
commit 53fe308fe8
3 changed files with 497 additions and 343 deletions

View File

@ -179,6 +179,9 @@ INSTALL_PATH ?=
APP_PATH ?= ig APP_PATH ?= ig
ICON_PATH ?= ICON_PATH ?=
# XXX not sure about these yet...
INSTALL_PATH ?= $(shell pwd)
APP_LAUNCHER ?= $(INSTALL_PATH)/ig.js gui
VERSION_FALLBACK ?= 4.0.0a VERSION_FALLBACK ?= 4.0.0a
# NOTE: we are not using './ig --version 2> /dev/null' because it will # NOTE: we are not using './ig --version 2> /dev/null' because it will
@ -713,9 +716,7 @@ $(BUILD_INFO): $(CSS_FILES) $(NODE_DIR) $(PROJECT_FILES) \
%.css: %.less %.css: %.less
$(LESSC) $< > $@ $(LESSC) $< > $@
# XXX get this from the install path... # XXX get this from the install path...
$(APP_NAME).desktop: APP_LAUNCHER := $(shell pwd)/ig.js gui
$(APP_NAME).desktop: templates/App.desktop $(APP_NAME).desktop: templates/App.desktop
cat $< \ cat $< \
| sed 's#\$$LAUNCHER#$(APP_LAUNCHER)#' \ | sed 's#\$$LAUNCHER#$(APP_LAUNCHER)#' \

831
Viewer/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

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