os-specific installer modules
@@ -46,7 +46,7 @@ apt-get install oracle-java8-installer oracle-java8-unlimited-jce-policy fakeroo
|
|||||||
git clone https://github.com/cryptomator/cryptomator.git
|
git clone https://github.com/cryptomator/cryptomator.git
|
||||||
cd cryptomator/main
|
cd cryptomator/main
|
||||||
git checkout v0.6.0
|
git checkout v0.6.0
|
||||||
mvn clean install
|
mvn clean install -Pdebian
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 250 KiB After Width: | Height: | Size: 250 KiB |
@@ -0,0 +1,58 @@
|
|||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<parent>
|
||||||
|
<groupId>org.cryptomator</groupId>
|
||||||
|
<artifactId>main</artifactId>
|
||||||
|
<version>0.7.0-SNAPSHOT</version>
|
||||||
|
</parent>
|
||||||
|
<artifactId>installer-debian</artifactId>
|
||||||
|
<packaging>pom</packaging>
|
||||||
|
<name>Cryptomator Debian installer</name>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<javafx.application.name>Cryptomator</javafx.application.name>
|
||||||
|
<exec.mainClass>org.cryptomator.ui.Cryptomator</exec.mainClass>
|
||||||
|
<javafx.tools.ant.jar>${java.home}/../lib/ant-javafx.jar</javafx.tools.ant.jar>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.cryptomator</groupId>
|
||||||
|
<artifactId>ui</artifactId>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<version>1.7</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>create-deployment-bundle</id>
|
||||||
|
<phase>install</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<target xmlns:fx="javafx:com.sun.javafx.tools.ant">
|
||||||
|
<taskdef uri="javafx:com.sun.javafx.tools.ant" resource="com/sun/javafx/tools/ant/antlib.xml" classpath="${project.basedir}:${javafx.tools.ant.jar}" />
|
||||||
|
|
||||||
|
<fx:deploy nativeBundles="deb" outdir="${project.build.directory}" outfile="Cryptomator-${project.parent.version}" verbose="true">
|
||||||
|
<fx:application name="${javafx.application.name}" version="${project.version}" mainClass="${exec.mainClass}" />
|
||||||
|
<fx:info title="${javafx.application.name}" vendor="cryptomator.org" copyright="cryptomator.org" license="MIT" category="Utility" />
|
||||||
|
<fx:platform javafx="2.2+" j2se="8.0" />
|
||||||
|
<fx:resources>
|
||||||
|
<fx:fileset dir="../target/" includes="Cryptomator-${project.parent.version}.jar" />
|
||||||
|
</fx:resources>
|
||||||
|
<fx:permissions elevated="false" />
|
||||||
|
<fx:preferences install="true" />
|
||||||
|
</fx:deploy>
|
||||||
|
</target>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
||||||
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
@@ -0,0 +1,58 @@
|
|||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<parent>
|
||||||
|
<groupId>org.cryptomator</groupId>
|
||||||
|
<artifactId>main</artifactId>
|
||||||
|
<version>0.7.0-SNAPSHOT</version>
|
||||||
|
</parent>
|
||||||
|
<artifactId>installer-osx</artifactId>
|
||||||
|
<packaging>pom</packaging>
|
||||||
|
<name>Cryptomator Mac OS X installer</name>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<javafx.application.name>Cryptomator</javafx.application.name>
|
||||||
|
<exec.mainClass>org.cryptomator.ui.Cryptomator</exec.mainClass>
|
||||||
|
<javafx.tools.ant.jar>${java.home}/../lib/ant-javafx.jar</javafx.tools.ant.jar>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.cryptomator</groupId>
|
||||||
|
<artifactId>ui</artifactId>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<version>1.7</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>create-deployment-bundle</id>
|
||||||
|
<phase>install</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<target xmlns:fx="javafx:com.sun.javafx.tools.ant">
|
||||||
|
<taskdef uri="javafx:com.sun.javafx.tools.ant" resource="com/sun/javafx/tools/ant/antlib.xml" classpath="${project.basedir}:${javafx.tools.ant.jar}" />
|
||||||
|
|
||||||
|
<fx:deploy nativeBundles="dmg" outdir="${project.build.directory}" outfile="Cryptomator-${project.parent.version}" verbose="true">
|
||||||
|
<fx:application name="${javafx.application.name}" version="${project.version}" mainClass="${exec.mainClass}" />
|
||||||
|
<fx:info title="${javafx.application.name}" vendor="cryptomator.org" copyright="cryptomator.org" license="MIT" category="Utility" />
|
||||||
|
<fx:platform javafx="2.2+" j2se="8.0" />
|
||||||
|
<fx:resources>
|
||||||
|
<fx:fileset dir="../target/" includes="Cryptomator-${project.parent.version}.jar" />
|
||||||
|
</fx:resources>
|
||||||
|
<fx:permissions elevated="false" />
|
||||||
|
<fx:preferences install="true" />
|
||||||
|
</fx:deploy>
|
||||||
|
</target>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
||||||
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 361 KiB After Width: | Height: | Size: 361 KiB |
@@ -1,74 +1,74 @@
|
|||||||
;This file will be executed next to the application bundle image
|
;This file will be executed next to the application bundle image
|
||||||
;I.e. current directory will contain folder APPLICATION_NAME with application files
|
;I.e. current directory will contain folder APPLICATION_NAME with application files
|
||||||
[Setup]
|
[Setup]
|
||||||
AppId={{PRODUCT_APP_IDENTIFIER}}
|
AppId={{PRODUCT_APP_IDENTIFIER}}
|
||||||
AppName=APPLICATION_NAME
|
AppName=APPLICATION_NAME
|
||||||
AppVersion=APPLICATION_VERSION
|
AppVersion=APPLICATION_VERSION
|
||||||
AppVerName=APPLICATION_NAME APPLICATION_VERSION
|
AppVerName=APPLICATION_NAME APPLICATION_VERSION
|
||||||
AppPublisher=APPLICATION_VENDOR
|
AppPublisher=APPLICATION_VENDOR
|
||||||
AppComments=APPLICATION_COMMENTS
|
AppComments=APPLICATION_COMMENTS
|
||||||
AppCopyright=APPLICATION_COPYRIGHT
|
AppCopyright=APPLICATION_COPYRIGHT
|
||||||
AppPublisherURL=https://cryptomator.org/
|
AppPublisherURL=https://cryptomator.org/
|
||||||
;AppSupportURL=http://java.com/
|
;AppSupportURL=http://java.com/
|
||||||
;AppUpdatesURL=http://java.com/
|
;AppUpdatesURL=http://java.com/
|
||||||
DefaultDirName=APPLICATION_INSTALL_ROOT\APPLICATION_NAME
|
DefaultDirName=APPLICATION_INSTALL_ROOT\APPLICATION_NAME
|
||||||
DisableStartupPrompt=Yes
|
DisableStartupPrompt=Yes
|
||||||
DisableDirPage=No
|
DisableDirPage=No
|
||||||
DisableProgramGroupPage=Yes
|
DisableProgramGroupPage=Yes
|
||||||
DisableReadyPage=Yes
|
DisableReadyPage=Yes
|
||||||
DisableFinishedPage=No
|
DisableFinishedPage=No
|
||||||
DisableWelcomePage=Yes
|
DisableWelcomePage=Yes
|
||||||
DefaultGroupName=APPLICATION_GROUP
|
DefaultGroupName=APPLICATION_GROUP
|
||||||
;Optional License
|
;Optional License
|
||||||
LicenseFile=APPLICATION_LICENSE_FILE
|
LicenseFile=APPLICATION_LICENSE_FILE
|
||||||
;WinXP or above
|
;WinXP or above
|
||||||
MinVersion=0,5.1
|
MinVersion=0,5.1
|
||||||
OutputBaseFilename=INSTALLER_FILE_NAME
|
OutputBaseFilename=INSTALLER_FILE_NAME
|
||||||
Compression=lzma
|
Compression=lzma
|
||||||
SolidCompression=yes
|
SolidCompression=yes
|
||||||
PrivilegesRequired=admin
|
PrivilegesRequired=admin
|
||||||
SetupIconFile=APPLICATION_NAME\APPLICATION_NAME.ico
|
SetupIconFile=APPLICATION_NAME\APPLICATION_NAME.ico
|
||||||
UninstallDisplayIcon={app}\APPLICATION_NAME.ico
|
UninstallDisplayIcon={app}\APPLICATION_NAME.ico
|
||||||
UninstallDisplayName=APPLICATION_NAME
|
UninstallDisplayName=APPLICATION_NAME
|
||||||
WizardImageStretch=No
|
WizardImageStretch=No
|
||||||
WizardSmallImageFile=Cryptomator-Portable-setup-icon.bmp
|
WizardSmallImageFile=Cryptomator-setup-icon.bmp
|
||||||
WizardImageBackColor=$ffffff
|
WizardImageBackColor=$ffffff
|
||||||
ArchitecturesInstallIn64BitMode=ARCHITECTURE_BIT_MODE
|
ArchitecturesInstallIn64BitMode=ARCHITECTURE_BIT_MODE
|
||||||
|
|
||||||
[Languages]
|
[Languages]
|
||||||
Name: "english"; MessagesFile: "compiler:Default.isl"
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
Source: "APPLICATION_NAME\APPLICATION_NAME.exe"; DestDir: "{app}"; Flags: ignoreversion
|
Source: "APPLICATION_NAME\APPLICATION_NAME.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
Source: "APPLICATION_NAME\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
Source: "APPLICATION_NAME\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
|
||||||
[Icons]
|
[Icons]
|
||||||
Name: "{group}\APPLICATION_NAME"; Filename: "{app}\APPLICATION_NAME.exe"; IconFilename: "{app}\APPLICATION_NAME.ico"; Check: APPLICATION_MENU_SHORTCUT()
|
Name: "{group}\APPLICATION_NAME"; Filename: "{app}\APPLICATION_NAME.exe"; IconFilename: "{app}\APPLICATION_NAME.ico"; Check: APPLICATION_MENU_SHORTCUT()
|
||||||
Name: "{commondesktop}\APPLICATION_NAME"; Filename: "{app}\APPLICATION_NAME.exe"; IconFilename: "{app}\APPLICATION_NAME.ico"; Check: APPLICATION_DESKTOP_SHORTCUT()
|
Name: "{commondesktop}\APPLICATION_NAME"; Filename: "{app}\APPLICATION_NAME.exe"; IconFilename: "{app}\APPLICATION_NAME.ico"; Check: APPLICATION_DESKTOP_SHORTCUT()
|
||||||
|
|
||||||
[Run]
|
[Run]
|
||||||
Filename: "{app}\RUN_FILENAME.exe"; Description: "{cm:LaunchProgram,APPLICATION_NAME}"; Flags: nowait postinstall skipifsilent; Check: APPLICATION_NOT_SERVICE()
|
Filename: "{app}\RUN_FILENAME.exe"; Description: "{cm:LaunchProgram,APPLICATION_NAME}"; Flags: nowait postinstall skipifsilent; Check: APPLICATION_NOT_SERVICE()
|
||||||
Filename: "{app}\RUN_FILENAME.exe"; Parameters: "-install -svcName ""APPLICATION_NAME"" -svcDesc ""APPLICATION_DESCRIPTION"" -mainExe ""APPLICATION_LAUNCHER_FILENAME"" START_ON_INSTALL RUN_AT_STARTUP"; Check: APPLICATION_SERVICE()
|
Filename: "{app}\RUN_FILENAME.exe"; Parameters: "-install -svcName ""APPLICATION_NAME"" -svcDesc ""APPLICATION_DESCRIPTION"" -mainExe ""APPLICATION_LAUNCHER_FILENAME"" START_ON_INSTALL RUN_AT_STARTUP"; Check: APPLICATION_SERVICE()
|
||||||
|
|
||||||
[UninstallRun]
|
[UninstallRun]
|
||||||
Filename: "{app}\RUN_FILENAME.exe "; Parameters: "-uninstall -svcName APPLICATION_NAME STOP_ON_UNINSTALL"; Check: APPLICATION_SERVICE()
|
Filename: "{app}\RUN_FILENAME.exe "; Parameters: "-uninstall -svcName APPLICATION_NAME STOP_ON_UNINSTALL"; Check: APPLICATION_SERVICE()
|
||||||
|
|
||||||
[Code]
|
[Code]
|
||||||
function returnTrue(): Boolean;
|
function returnTrue(): Boolean;
|
||||||
begin
|
begin
|
||||||
Result := True;
|
Result := True;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function returnFalse(): Boolean;
|
function returnFalse(): Boolean;
|
||||||
begin
|
begin
|
||||||
Result := False;
|
Result := False;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function InitializeSetup(): Boolean;
|
function InitializeSetup(): Boolean;
|
||||||
begin
|
begin
|
||||||
// Possible future improvements:
|
// Possible future improvements:
|
||||||
// if version less or same => just launch app
|
// if version less or same => just launch app
|
||||||
// if upgrade => check if same app is running and wait for it to exit
|
// if upgrade => check if same app is running and wait for it to exit
|
||||||
// Add pack200/unpack200 support?
|
// Add pack200/unpack200 support?
|
||||||
Result := True;
|
Result := True;
|
||||||
end;
|
end;
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<parent>
|
||||||
|
<groupId>org.cryptomator</groupId>
|
||||||
|
<artifactId>main</artifactId>
|
||||||
|
<version>0.7.0-SNAPSHOT</version>
|
||||||
|
</parent>
|
||||||
|
<artifactId>installer-win-portable</artifactId>
|
||||||
|
<packaging>pom</packaging>
|
||||||
|
<name>Cryptomator (Portable) Windows installer</name>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<javafx.application.name>Cryptomator</javafx.application.name>
|
||||||
|
<exec.mainClass>org.cryptomator.ui.Cryptomator</exec.mainClass>
|
||||||
|
<javafx.tools.ant.jar>${java.home}/../lib/ant-javafx.jar</javafx.tools.ant.jar>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.cryptomator</groupId>
|
||||||
|
<artifactId>ui</artifactId>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<version>1.7</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>create-deployment-bundle</id>
|
||||||
|
<phase>install</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<target xmlns:fx="javafx:com.sun.javafx.tools.ant">
|
||||||
|
<taskdef uri="javafx:com.sun.javafx.tools.ant" resource="com/sun/javafx/tools/ant/antlib.xml" classpath="${project.basedir}:${javafx.tools.ant.jar}" />
|
||||||
|
|
||||||
|
<fx:deploy nativeBundles="exe" outdir="${project.build.directory}" outfile="Cryptomator-${project.parent.version}" verbose="true">
|
||||||
|
<fx:application name="${javafx.application.name}" version="${project.version}" mainClass="${exec.mainClass}" />
|
||||||
|
<fx:info title="${javafx.application.name}" vendor="cryptomator.org" copyright="cryptomator.org" license="MIT" category="Utility" />
|
||||||
|
<fx:platform javafx="2.2+" j2se="8.0">
|
||||||
|
<fx:property name="settingsPath" value="./settings.json" />
|
||||||
|
</fx:platform>
|
||||||
|
<fx:resources>
|
||||||
|
<fx:fileset dir="../target/" includes="Cryptomator-${project.parent.version}.jar" />
|
||||||
|
</fx:resources>
|
||||||
|
<fx:permissions elevated="false" />
|
||||||
|
<fx:preferences install="false" menu="false" shortcut="false" />
|
||||||
|
</fx:deploy>
|
||||||
|
</target>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
||||||
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 361 KiB After Width: | Height: | Size: 361 KiB |
@@ -0,0 +1,58 @@
|
|||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<parent>
|
||||||
|
<groupId>org.cryptomator</groupId>
|
||||||
|
<artifactId>main</artifactId>
|
||||||
|
<version>0.7.0-SNAPSHOT</version>
|
||||||
|
</parent>
|
||||||
|
<artifactId>installer-win</artifactId>
|
||||||
|
<packaging>pom</packaging>
|
||||||
|
<name>Cryptomator Windows installer</name>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<javafx.application.name>Cryptomator</javafx.application.name>
|
||||||
|
<exec.mainClass>org.cryptomator.ui.Cryptomator</exec.mainClass>
|
||||||
|
<javafx.tools.ant.jar>${java.home}/../lib/ant-javafx.jar</javafx.tools.ant.jar>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.cryptomator</groupId>
|
||||||
|
<artifactId>ui</artifactId>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<version>1.7</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>create-deployment-bundle</id>
|
||||||
|
<phase>install</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<target xmlns:fx="javafx:com.sun.javafx.tools.ant">
|
||||||
|
<taskdef uri="javafx:com.sun.javafx.tools.ant" resource="com/sun/javafx/tools/ant/antlib.xml" classpath="${project.basedir}:${javafx.tools.ant.jar}" />
|
||||||
|
|
||||||
|
<fx:deploy nativeBundles="exe" outdir="${project.build.directory}" outfile="Cryptomator-${project.parent.version}" verbose="true">
|
||||||
|
<fx:application name="${javafx.application.name}" version="${project.version}" mainClass="${exec.mainClass}" />
|
||||||
|
<fx:info title="${javafx.application.name}" vendor="cryptomator.org" copyright="cryptomator.org" license="MIT" category="Utility" />
|
||||||
|
<fx:platform javafx="2.2+" j2se="8.0" />
|
||||||
|
<fx:resources>
|
||||||
|
<fx:fileset dir="../target/" includes="Cryptomator-${project.parent.version}.jar" />
|
||||||
|
</fx:resources>
|
||||||
|
<fx:permissions elevated="false" />
|
||||||
|
<fx:preferences install="true" />
|
||||||
|
</fx:deploy>
|
||||||
|
</target>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
||||||
@@ -186,6 +186,33 @@
|
|||||||
<module>ui</module>
|
<module>ui</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>debian</id>
|
||||||
|
<modules>
|
||||||
|
<module>installer-debian</module>
|
||||||
|
</modules>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>osx</id>
|
||||||
|
<modules>
|
||||||
|
<module>installer-osx</module>
|
||||||
|
</modules>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>win</id>
|
||||||
|
<modules>
|
||||||
|
<module>installer-win</module>
|
||||||
|
</modules>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>win-portable</id>
|
||||||
|
<modules>
|
||||||
|
<module>installer-win-portable</module>
|
||||||
|
</modules>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|||||||
@@ -17,12 +17,6 @@
|
|||||||
<artifactId>ui</artifactId>
|
<artifactId>ui</artifactId>
|
||||||
<name>Cryptomator GUI</name>
|
<name>Cryptomator GUI</name>
|
||||||
|
|
||||||
<properties>
|
|
||||||
<javafx.application.name>Cryptomator</javafx.application.name>
|
|
||||||
<exec.mainClass>org.cryptomator.ui.Cryptomator</exec.mainClass>
|
|
||||||
<javafx.tools.ant.jar>${java.home}/../lib/ant-javafx.jar</javafx.tools.ant.jar>
|
|
||||||
</properties>
|
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.cryptomator</groupId>
|
<groupId>org.cryptomator</groupId>
|
||||||
@@ -59,7 +53,7 @@
|
|||||||
<artifactId>guice</artifactId>
|
<artifactId>guice</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
@@ -74,96 +68,20 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<outputDirectory>${project.parent.build.directory}</outputDirectory>
|
||||||
|
<finalName>Cryptomator-${project.parent.version}</finalName>
|
||||||
<descriptorRefs>
|
<descriptorRefs>
|
||||||
<descriptorRef>jar-with-dependencies</descriptorRef>
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||||||
</descriptorRefs>
|
</descriptorRefs>
|
||||||
<finalName>${javafx.application.name}</finalName>
|
|
||||||
<appendAssemblyId>false</appendAssemblyId>
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
<archive>
|
<archive>
|
||||||
<manifestEntries>
|
<manifestEntries>
|
||||||
<Main-Class>${exec.mainClass}</Main-Class>
|
<Main-Class>org.cryptomator.ui.Cryptomator</Main-Class>
|
||||||
<Implementation-Version>${project.version}</Implementation-Version>
|
<Implementation-Version>${project.version}</Implementation-Version>
|
||||||
</manifestEntries>
|
</manifestEntries>
|
||||||
</archive>
|
</archive>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
|
||||||
<version>1.7</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>create-deployment-bundle</id>
|
|
||||||
<phase>install</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>run</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<target xmlns:fx="javafx:com.sun.javafx.tools.ant">
|
|
||||||
<taskdef uri="javafx:com.sun.javafx.tools.ant" resource="com/sun/javafx/tools/ant/antlib.xml" classpath="${project.basedir}:${javafx.tools.ant.jar}" />
|
|
||||||
|
|
||||||
<fx:deploy nativeBundles="all" outdir="${project.build.directory}/dist" outfile="${project.build.finalName}" verbose="false">
|
|
||||||
<fx:application name="${javafx.application.name}" version="${project.version}" mainClass="${exec.mainClass}" />
|
|
||||||
<fx:info title="${javafx.application.name}" vendor="cryptomator.org" copyright="cryptomator.org" license="MIT" category="Utility" />
|
|
||||||
<fx:platform javafx="2.2+" j2se="8.0" />
|
|
||||||
<fx:resources>
|
|
||||||
<fx:fileset dir="${project.build.directory}" includes="${javafx.application.name}.jar" />
|
|
||||||
</fx:resources>
|
|
||||||
<fx:permissions elevated="false" />
|
|
||||||
<fx:preferences install="true" />
|
|
||||||
</fx:deploy>
|
|
||||||
</target>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<profiles>
|
|
||||||
<profile>
|
|
||||||
<id>portable-win</id>
|
|
||||||
<activation>
|
|
||||||
<os>
|
|
||||||
<family>Windows</family>
|
|
||||||
</os>
|
|
||||||
</activation>
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
|
||||||
<version>1.7</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>create-portable-deployment-bundle</id>
|
|
||||||
<phase>install</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>run</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<target xmlns:fx="javafx:com.sun.javafx.tools.ant">
|
|
||||||
<taskdef uri="javafx:com.sun.javafx.tools.ant" resource="com/sun/javafx/tools/ant/antlib.xml" classpath="${project.basedir}:${javafx.tools.ant.jar}" />
|
|
||||||
|
|
||||||
<fx:deploy nativeBundles="exe" outdir="${project.build.directory}/dist" outfile="${project.build.finalName}" verbose="true">
|
|
||||||
<fx:application name="${javafx.application.name}-Portable" version="${project.version}" mainClass="${exec.mainClass}" />
|
|
||||||
<fx:info title="${javafx.application.name}" vendor="cryptomator.org" copyright="cryptomator.org" license="MIT" category="Utility" />
|
|
||||||
<fx:platform javafx="2.2+" j2se="8.0">
|
|
||||||
<fx:property name="settingsPath" value="./settings.json" />
|
|
||||||
</fx:platform>
|
|
||||||
<fx:resources>
|
|
||||||
<fx:fileset dir="${project.build.directory}" includes="${javafx.application.name}.jar" />
|
|
||||||
</fx:resources>
|
|
||||||
<fx:permissions elevated="false" />
|
|
||||||
<fx:preferences install="false" menu="false" shortcut="false" />
|
|
||||||
</fx:deploy>
|
|
||||||
</target>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</profile>
|
|
||||||
</profiles>
|
|
||||||
</project>
|
</project>
|
||||||
|
|||||||