This repository was archived by the owner on Jan 3, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Windows packaging matching inkscape 0.92.3
- Loading branch information
Jürgen Weigert
committed
Sep 2, 2018
1 parent
d430651
commit 0aff3e8
Showing
15 changed files
with
74 additions
and
21,076 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#! /bin/bash | ||
# Make a windows binary | ||
|
||
disttop=$(readlink -e $(dirname $0)) # abspath(dir) | ||
|
||
APP_NAME=$1 | ||
APP_VERSION=$2 | ||
|
||
if [ -z "$APP_VERSION" ]; then | ||
echo "Usage: $0 APP_NAME APP_VERSION" | ||
exit 1 | ||
fi | ||
|
||
cd $disttop | ||
makensis -DVERSION=$APP_VERSION-$(date +%Y%m%d) $APP_NAME.nsi | ||
mkdir -p ../out | ||
zip=../out/$APP_NAME-$APP_VERSION-$(date +%Y%m%d)-win64-setup.zip | ||
rm -f $zip | ||
zip -r $zip $APP_NAME-*-setup.exe | ||
cp $APP_NAME-*-setup.exe ../out | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
; centerline-trace.nsi | ||
|
||
!ifndef VERSION | ||
!define VERSION 'anonymous-build' | ||
!endif | ||
|
||
Name "inkscape-centerline-trace" | ||
AllowRootDirInstall true | ||
ShowInstDetails show | ||
|
||
Caption "inkscape-centerline-trace ${VERSION} extension" | ||
OutFile "inkscape-centerline-trace-${VERSION}-setup.exe" | ||
InstallDir "C:\Program Files\Inkscape\share\extensions" | ||
|
||
RequestExecutionLevel admin | ||
|
||
;-------------------------------- | ||
|
||
; Pages | ||
|
||
Page directory | ||
Page instfiles | ||
|
||
;-------------------------------- | ||
|
||
Section "" | ||
|
||
; Set output path to the installation directory. | ||
SetOutPath $INSTDIR | ||
|
||
; Put file there | ||
File /oname=centerline-trace.py "../../centerline-trace.py" | ||
File /oname=centerline-trace.inx "../../centerline-trace.inx" | ||
|
||
SectionEnd |
Oops, something went wrong.