Install vcrun2019

This commit is contained in:
Philipp 2021-07-26 21:45:11 +02:00
parent 873155b644
commit 7f5223acb6
No known key found for this signature in database
GPG key ID: 2258EE3B85DE1748

View file

@ -41,6 +41,10 @@ let
url = "https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.4.11.exe"; url = "https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.4.11.exe";
sha256 = "1afc4b36dd1e22d75df8da2ecb925833f9b10327c991be20e138503cde627022"; sha256 = "1afc4b36dd1e22d75df8da2ecb925833f9b10327c991be20e138503cde627022";
}; };
vcrun2019 = fetchurl {
url = "https://aka.ms/vs/16/release/vc_redist.x86.exe";
sha256 = "1p22ibzx80zn2gxavmcsz7adkr5672smmlwgapfvx6a04f9n7a7k";
};
win10Reg = pkgs.writeTextFile { win10Reg = pkgs.writeTextFile {
name = "win10.reg"; name = "win10.reg";
text = ./win10.reg; text = ./win10.reg;
@ -75,6 +79,8 @@ let
cp ${fonts}/share/fonts/*.TTF "$WINEPREFIX/drive_c/windows/Fonts" cp ${fonts}/share/fonts/*.TTF "$WINEPREFIX/drive_c/windows/Fonts"
${regEdit} ${fonts}/share/regs/fonts.reg ${regEdit} ${fonts}/share/regs/fonts.reg
#install vcrun2019
${wineMulti} ${vcrun2019} /q
#symlink persistent game and launcher binaries into prefix. #symlink persistent game and launcher binaries into prefix.
gameBinariesPers="${installDir}/Roberts Space Industries" gameBinariesPers="${installDir}/Roberts Space Industries"