/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packaging/windows/WIXInstallers/KeybaseApps/gui.xsl
21 строка
914 B
chrisnojima
fix windows electron 5 (#18289)
11 июл 2019, 14:51
Не верифицирован
11 июл 2019, 14:51
ca5ce6d
Код
Авторство
О чём код?
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"> <xsl:output omit-xml-declaration="yes" indent="yes"/> <xsl:template match="node()|@*"> <xsl:copy> <xsl:apply-templates select="node()|@*"/> </xsl:copy> </xsl:template> <xsl:template match="wix:Directory[@Name='Keybase-win32-x64']/@Id"> <xsl:attribute name="Id">GuiDir</xsl:attribute> </xsl:template> <xsl:template match="wix:Directory[@Name='Keybase-win32-x64']/@Name"> <xsl:attribute name="Name">Gui</xsl:attribute> </xsl:template> <xsl:template match="wix:Component"> <xsl:copy> <xsl:apply-templates select="@*"/> <wix:RemoveFolder Id="{@Id}" On="uninstall" /> <xsl:apply-templates select="node()"/> </xsl:copy> </xsl:template> </xsl:stylesheet>