blob: 23ae0a642bb796b24931224239ba927ee2b9b05f (
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
|
post_install() {
update-desktop-database -q /usr/share/applications
echo "If you need to display CJK symbols or change the Euroscope font,"
echo "please install the corresponding fonts to ~/.local/share/wineprefixes/euroscope (ES_PREFIX hereafter)"
echo "using winetricks or just by copying the font file into \$ES_PREFIX/drive_c/windows/Fonts/"
echo "and then start euroscope-bin with LC_ALL=zh_CN.UTF-8 (or whatever other locale you prefer)"
echo
echo "Details on this can be found in the wine's documentation"
echo
echo "In most cases, dependencies will be automatically installed upon the first launch"
echo "However, automatic installation may fail without any notification in certain cases"
echo "Proper error handling will be added in the future, but for now in such case"
echo "you should run the following command to install the necessary dependencies:"
echo "WINEPREFIX=\$ES_PREFIX WINEARCH=win32 winetricks --unattended iertutil msls31 msxml6 urlmon vcrun2019 wininet"
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}
|