summarylogtreecommitdiffstats
path: root/lens.install
blob: 589f1aff884def45998dd344dc38b283693d12e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
post_install() {
  cat << EOF
If you want to remove proprietary stuff to avoid asking for a Lens ID, you
can empty (or delete) the following file:

- /usr/share/lens/resources/app.asar.unpacked/node_modules/@lensapp/lenscloud-lens-extension/dist/main.js

To do this you can run the following command:

$ sudo truncate -s 0 \
  /usr/share/lens/resources/app.asar.unpacked/node_modules/@lensapp/lenscloud-lens-extension/dist/main.js

Note that if you do this when Lens starts up you will get an error on the
welcome page stating that it cannot load, the rest of the application will
work without problems.
EOF
}

post_upgrade() {
  post_install
}