Jesteś tutaj

Microsoft Fonts

Informations

Creator Wiadmości
cendre

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 254665
Wine: System

Feedbacks

Source code

#!/bin/bash
#made by cendre , 25/10/08
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
cfg_check

if [ "$POL_LANG" == "fr" ];then 
LNG_NO_FONT="Merci d'installer les polices Microsoft avant d'utiliser ce script."
LNG_FONT="Cette installateur vous aidera à installer les polices Microsoft dans un préfixe."
LNG_CHOOSE="Choisissez le préfixe dans lequel copier les polices Microsoft."
LNG_NAME="Polices Microsoft"
LNG_DONE="Copie des polices terminée."
else
LNG_NO_FONT="Please install Microsoft fonts before using this script."
LNG_FONT="This wizard will help you to install Microsoft fonts in a prefix"
LNG_CHOOSE="Choose a prefix to copy Microsoft fonts."
LNG_NAME="Microsoft fonts"
LNG_DONE="Copy of fonts done."
fi


POL_SetupWindow_Init
POL_SetupWindow_free_presentation "$LNG_NAME" "$LNG_FONT"
POL_SetupWindow_games "$LNG_CHOOSE" "$LNG_NAME"
prefixe=$(detect_wineprefix "$APP_ANSWER")
if [ -d "$prefixe" ]
then
select_prefixe "$prefixe"
fonts_to_prefix
POL_SetupWindow_reboot
POL_SetupWindow_message "$LNG_DONE" "Microsoft Fonts"
fi
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Wiadmości
derpenerX Wednesday 14 February 2018 at 16:09
derpenerX Anonymous

Wiadmości

This fixed my Battle.net app on the Diablo 3 install

Odpowiedzi

bobombolo Wednesday 24 January 2018 at 14:28
bobombolo Anonymous

Wiadmości

is it not possible to cache the fonts installer so that each POL instance that requires it does not have to re-download it? Also there are many times when the download seems to happen twice in a row.

Odpowiedzi

Friday 2 February 2018 at 18:36
That script is the old one. You use POL_Install_corefonts instead. We keep it only for some old script outdated.
Anonymous
Saturday 3 February 2018 at 11:24
POL_Instal_corefonts also have the same problems (not storing the .exe files in som sort of a cache and downloading twice in a row).
Saturday 3 February 2018 at 18:59
It's not that. The script store downloaded file, install as generic (for all wineprefix) and mark them as installed. But the current version of the script crash and nerver install font. I already submited a patch but I need to know if the URL is good for Tinou. Because it's a non know source (at least for me) but it come from winetrick source code.
Sunday 4 February 2018 at 17:40
Btw I patch the POL/POM corefonts function so now it should work fine