Skip to content

Commit

Permalink
Updates from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Håkansson committed Sep 14, 2017
2 parents 92bd268 + 859a0f0 commit 8207022
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
29 changes: 17 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,22 @@ setupBuilder {
failOnEmptyFrom=true
}

configure( [msi] ) {
task msi32( type: com.inet.gradle.setup.msi.Msi ) {
//32 bit specifics
arch = "x86"
classifier = "x86"
}

configure( [msi, msi32] ) {
// included to reduce the build time
languages = ['en-US']
wxsTemplate = './ant-build/resources/template.wxs'
launch4j {
mainJar = "lib/${artifactName}-${version}.jar"
mainClass = 'application.MainFx'
executable = 'dotify-studio.exe'
}

doFirst {
setupBuilder {
desktopStarter {
Expand All @@ -107,21 +122,11 @@ configure( [deb, rpm] ) {
}

msi.dependsOn('unzip', 'deleteBin', 'copyIcon', 'copyPlugins')
msi32.dependsOn('unzip', 'deleteBin', 'copyIcon', 'copyPlugins')
dmg.dependsOn('unzip', 'copyPlugins')
deb.dependsOn('unzip', 'copyPlugins')
rpm.dependsOn('unzip', 'copyPlugins')

msi {
// included to reduce the build time
languages = ['en-US']
wxsTemplate = './ant-build/resources/template.wxs'
launch4j {
mainJar = "lib/${artifactName}-${version}.jar"
mainClass = 'application.MainFx'
executable = 'dotify-studio.exe'
}
}

deb {
maintainerEmail = '[email protected]'
postinst = 'chmod +x /usr/share/dotify-studio/bin/dotify-studio'
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
releaseName=Dotify Studio
version=0.3.0
version=0.4.0

0 comments on commit 8207022

Please sign in to comment.