summarylogtreecommitdiffstats
path: root/superhexagon.install
diff options
context:
space:
mode:
Diffstat (limited to 'superhexagon.install')
-rw-r--r--superhexagon.install10
1 files changed, 7 insertions, 3 deletions
diff --git a/superhexagon.install b/superhexagon.install
index efceb150f604..d03ed1f1f8fc 100644
--- a/superhexagon.install
+++ b/superhexagon.install
@@ -1,10 +1,14 @@
post_install()
{
- echo 'You can configure the fullscreen resolution of the game in the startup script "/usr/bin/superhexagon"'
- echo 'This will fix fullscreen with multihead setups! yay!'
+ echo 'See /opt/superhexagon/superhexagonrc.example for how to configure'
+ echo 'fullscreen resolution. This fixes fullscreen with multihead setups!'
}
post_upgrade()
{
- post_install
+ if [ "${2%-*}" -le 16 ]; then
+ echo 'Fullscreen resolution configuration has been moved to '
+ echo '$HOME/.config/superhexagonrc to prevent overwriting during upgrade.'
+ post_install
+ fi
}