Browse Source

new osx dragndrop installer

cl-refactor
Marek Kotewicz 9 years ago
parent
commit
9570c72e37
  1. 2
      CMakeLists.txt
  2. 8
      appdmg.json.in
  3. BIN
      bg.png
  4. BIN
      install-folder-bg.png
  5. BIN
      install-folder-bg@2x.png

2
CMakeLists.txt

@ -458,7 +458,7 @@ if (APPLE AND GUI)
-DAPP_DMG_EXE=${ETH_APP_DMG} -DAPP_DMG_EXE=${ETH_APP_DMG}
-DAPP_DMG_FILE=appdmg.json.in -DAPP_DMG_FILE=appdmg.json.in
-DAPP_DMG_ICON="alethzero/alethzero.icns" -DAPP_DMG_ICON="alethzero/alethzero.icns"
-DAPP_DMG_BACKGROUND="bg.png" -DAPP_DMG_BACKGROUND="install-folder-bg.png"
-DETH_BUILD_DIR="${CMAKE_BINARY_DIR}" -DETH_BUILD_DIR="${CMAKE_BINARY_DIR}"
-DETH_MIX_APP="$<TARGET_FILE_DIR:mix>" -DETH_MIX_APP="$<TARGET_FILE_DIR:mix>"
-DETH_ALETHZERO_APP="$<TARGET_FILE_DIR:AlethZero>" -DETH_ALETHZERO_APP="$<TARGET_FILE_DIR:AlethZero>"

8
appdmg.json.in

@ -2,11 +2,11 @@
"title": "Ethereum", "title": "Ethereum",
"icon": "appdmg_icon.icns", "icon": "appdmg_icon.icns",
"background": "appdmg_background.png", "background": "appdmg_background.png",
"icon-size": 80, "icon-size": 55,
"contents": [ "contents": [
{ "x": 600, "y": 170, "type": "link", "path": "/Applications" }, { "x": 242, "y": 240, "type": "link", "path": "/Applications" },
{ "x": 150, "y": 90, "type": "file", "path": "${ETH_ALETHZERO_APP}" }, { "x": 145, "y": 125, "type": "file", "path": "${ETH_ALETHZERO_APP}" },
{ "x": 150, "y": 260, "type": "file", "path": "${ETH_MIX_APP}" } { "x": 339, "y": 125, "type": "file", "path": "${ETH_MIX_APP}" }
] ]
} }

BIN
bg.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 KiB

BIN
install-folder-bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
install-folder-bg@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Loading…
Cancel
Save