summarylogtreecommitdiffstats
path: root/comma-ide.install
blob: 4a0d59b7536e11cc6bd0f83043d2f1f1aec165d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
post_install() {
  local comma_ver=${1%%-*}

  cat <<EOF
  *Notes*
  To adjust the value of the JVM heap size, create
  ~/.config/Edument Central Europe/CommaCT$comma_ver/comma.vmoptions
  (or comma64.vmoptions if using a 64-bit JDK) and set the -Xms and -Xmx parameters.
  To see how to do this, you can reference the vmoptions file in the bin folder.

  [OPTIONAL] Changing the location of "config" and "system" directories
  ------------------------------------------------------------------------------
  By default, Comma stores all your settings in the
  ~/.config/Edument Central Europe/CommaCT$comma_ver directory
  and uses ~/.local/share/Edument Central Europe/CommaCT$comma_ver as a data cache.
  To change the location of these directories:

  1. Open a console and cd into ~/.config/Edument Central Europe/CommaCT$comma_ver

  2. Create a file idea.properties and set the idea.system.path and idea.config.path variables, for example:

     idea.system.path=~/custom/system
     idea.config.path=~/custom/config

  NOTE: Store the data cache ("system" directory) on a disk with at least 1 GB of free space.
EOF
}