Skip to content

Commit

Permalink
clean up: Unix directory structure and change install destination (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
psalic authored Oct 5, 2024
1 parent 1188c3a commit bff9326
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
meson compile -j 1 -C lxi-tools/build
pacman -Rsc --noconfirm mingw-w64-ucrt-x86_64-imagemagick mingw-w64-ucrt-x86_64-jq
bash msys2_scripts/msys2-lxi-tools-redistributable.sh
export APP_DATA=AppData
export APP_DATA=usr
/ucrt64/bin/makensis msys2_scripts/nsis_lxi-toolst.nsi
echo $BUILD_VERSION > release_tag.txt
cat release_tag.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
meson compile -j 1 -C lxi-tools/build
pacman -Rsc --noconfirm mingw-w64-ucrt-x86_64-imagemagick mingw-w64-ucrt-x86_64-jq
bash msys2_scripts/msys2-lxi-tools-redistributable.sh
export APP_DATA=AppData
export APP_DATA=usr
/ucrt64/bin/makensis msys2_scripts/nsis_lxi-toolst.nsi
echo $BUILD_VERSION > release_tag.txt
mv msys2_scripts/lxi-tools-$BUILD_VERSION.exe .
Expand Down
2 changes: 1 addition & 1 deletion msys2_scripts/msys2-lxi-tools-create-exe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

REDISTRIBUTABLE_DIR=lxi-tools-redistributable

export APP_DATA=AppData
export APP_DATA=usr

export BUILD_VERSION=$(shell $SCRIPT_DIR/../$REDISTRIBUTABLE_DIR/AppData/bin/lxi -v | sed 's/[^0-9.]*\([0-9.]*\).*/\1/')
echo VERSION $BUILD_VERSION
Expand Down
2 changes: 1 addition & 1 deletion msys2_scripts/msys2-lxi-tools-redistributable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

REDISTRIBUTABLE_DIR=lxi-tools-redistributable

LXI_TOOLS_APP_DATA=AppData
LXI_TOOLS_APP_DATA=usr

echo "copy required files in folder $SCRIPT_DIR/../$REDISTRIBUTABLE_DIR"

Expand Down
3 changes: 1 addition & 2 deletions msys2_scripts/nsis_lxi-toolst.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ Icon "..\lxi-tools\build\src\lxi-tools.ico"

Outfile "lxi-tools-$%BUILD_VERSION%.exe"

InstallDir "C:\${COMPANYNAME}"
#\${APPNAME}"
InstallDir "C:\Program Files\${COMPANYNAME}"

page directory
Page instfiles
Expand Down

0 comments on commit bff9326

Please sign in to comment.