UpdateFX with maven build (tested only on mac)
|
@ -1,23 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
version=$1
|
||||
jar=$2
|
||||
mainClass=$3
|
||||
|
||||
javapackager -deploy \
|
||||
-BappVersion=$version \
|
||||
-Bcategory=Finance \
|
||||
-BlicenseType=GPLv3 \
|
||||
-Bemail=info@bitsquare.io \
|
||||
-native deb \
|
||||
-name Bitsquare \
|
||||
-title Bitsquare \
|
||||
-vendor Bitsquare \
|
||||
-outdir build \
|
||||
-appclass $mainClass \
|
||||
-srcfiles $jar \
|
||||
-outfile Bitsquare
|
||||
|
||||
# -Bicon=client/icons/icon.png \
|
|
@ -1,24 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
version=$1
|
||||
jar=$2
|
||||
mainClass=$3
|
||||
|
||||
$JAVA_HOME/bin/javapackager \
|
||||
-deploy \
|
||||
-BappVersion=$version \
|
||||
-Bmac.CFBundleIdentifier=bitsquare \
|
||||
-Bmac.CFBundleName=Bitsquare \
|
||||
-Bruntime="$JAVA_HOME/../../" \
|
||||
-native dmg \
|
||||
-name Bitsquare \
|
||||
-title Bitsquare \
|
||||
-vendor Bitsquare \
|
||||
-outdir build \
|
||||
-srcfiles $jar \
|
||||
-appclass $mainClass \
|
||||
-outfile Bitsquare
|
||||
|
||||
#-Bicon=client/icons/mac.icns \
|
BIN
package/macosx/Bitsquare.icns
Normal file
BIN
package/macosx/Bitsquare.iconset/icon_128x128.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
package/macosx/Bitsquare.iconset/icon_128x128@2x.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
package/macosx/Bitsquare.iconset/icon_16x16.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
package/macosx/Bitsquare.iconset/icon_16x16@2x.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
package/macosx/Bitsquare.iconset/icon_256x256.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
package/macosx/Bitsquare.iconset/icon_256x256@2x.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
package/macosx/Bitsquare.iconset/icon_32x32.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
package/macosx/Bitsquare.iconset/icon_32x32@2x.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
package/macosx/Bitsquare.iconset/icon_512x512.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
package/macosx/Bitsquare.iconset/icon_512x512@2x.png
Normal file
After Width: | Height: | Size: 64 KiB |
|
@ -1 +0,0 @@
|
|||
"c:\Program Files\Java\jdk1.8.0_20\bin\javapackager.exe" -deploy -BappVersion=0.1.1-SNAPSHOT -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir build -appclass io.bitsquare.app.gui.BitsquareAppMain -srcfiles "build\libs\bitsquare-0.1.1-SNAPSHOT-app.jar" -outfile Bitsquare -Bruntime="c:\Program Files\Java\jdk1.8.0_20\jre"
|
|
@ -1,75 +0,0 @@
|
|||
;This file will be executed next to the application bundle image
|
||||
;I.e. current directory will contain folder Bitsquare with application files
|
||||
[Setup]
|
||||
AppId={{bitsquare}}
|
||||
AppName=Bitsquare
|
||||
AppVersion=0.1.1
|
||||
AppVerName=Bitsquare 0.1.1
|
||||
AppPublisher=Bitsquare
|
||||
AppComments=Bitsquare
|
||||
AppCopyright=Copyright (C) 2014
|
||||
AppPublisherURL=https://bitsquare.io
|
||||
AppSupportURL=https://bitsquare.io
|
||||
;AppUpdatesURL=http://java.com/
|
||||
DefaultDirName={localappdata}\Bitsquare
|
||||
DisableStartupPrompt=Yes
|
||||
DisableDirPage=Yes
|
||||
DisableProgramGroupPage=Yes
|
||||
DisableReadyPage=Yes
|
||||
DisableFinishedPage=Yes
|
||||
DisableWelcomePage=Yes
|
||||
DefaultGroupName=Bitsquare
|
||||
;Optional License
|
||||
LicenseFile=
|
||||
;WinXP or above
|
||||
MinVersion=0,5.1
|
||||
OutputBaseFilename=Bitsquare-0.1.1
|
||||
Compression=lzma
|
||||
SolidCompression=yes
|
||||
PrivilegesRequired=lowest
|
||||
SetupIconFile=Bitsquare\Bitsquare.ico
|
||||
UninstallDisplayIcon={app}\Bitsquare.ico
|
||||
UninstallDisplayName=Bitsquare
|
||||
WizardImageStretch=No
|
||||
WizardSmallImageFile=Bitsquare-setup-icon.bmp
|
||||
ArchitecturesInstallIn64BitMode=x64
|
||||
|
||||
[Languages]
|
||||
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||
|
||||
[Files]
|
||||
Source: "Bitsquare\Bitsquare.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "Bitsquare\runtime\jre\bin\plugin2\msvcr100.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "Bitsquare\runtime\jre\bin\msvcp100.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "Bitsquare\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
|
||||
[Icons]
|
||||
Name: "{group}\Bitsquare"; Filename: "{app}\Bitsquare.exe"; IconFilename: "{app}\Bitsquare.ico"; Check: returnTrue()
|
||||
Name: "{commondesktop}\Bitsquare"; Filename: "{app}\Bitsquare.exe"; IconFilename: "{app}\Bitsquare.ico"; Check: returnFalse()
|
||||
|
||||
[Run]
|
||||
Filename: "{app}\Bitsquare.exe"; Description: "{cm:LaunchProgram,Bitsquare}"; Flags: nowait postinstall skipifsilent; Check: returnTrue()
|
||||
Filename: "{app}\Bitsquare.exe"; Parameters: "-install -svcName ""Bitsquare"" -svcDesc ""Bitsquare"" -mainExe ""Bitsquare.exe"" "; Check: returnFalse()
|
||||
|
||||
[UninstallRun]
|
||||
Filename: "{app}\Bitsquare.exe "; Parameters: "-uninstall -svcName Bitsquare -stopOnUninstall"; Check: returnFalse()
|
||||
|
||||
[Code]
|
||||
function returnTrue(): Boolean;
|
||||
begin
|
||||
Result := True;
|
||||
end;
|
||||
|
||||
function returnFalse(): Boolean;
|
||||
begin
|
||||
Result := False;
|
||||
end;
|
||||
|
||||
function InitializeSetup(): Boolean;
|
||||
begin
|
||||
// Possible future improvements:
|
||||
// if version less or same => just launch app
|
||||
// if upgrade => check if same app is running and wait for it to exit
|
||||
// Add pack200/unpack200 support?
|
||||
Result := True;
|
||||
end;
|