Add ktx
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 5.4 KiB |
Executable
+23
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Copyright 2019-2020 Andreas Atteneder
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>KTX-Software</title>
|
||||
<style>
|
||||
body > * { text-align:center; font-family:sans-serif;}
|
||||
.success{font-size: 6em;}
|
||||
.terminal{font-family:monospace;margin:0 0.5em 0 .5em;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="success">✅</div>
|
||||
<h2>The installation was successful.</h2>
|
||||
<p>The software was installed.</p>
|
||||
<p>To uninstall, run <span class="terminal">sudo ktx-uninstall</span> in a terminal</p>
|
||||
</body>
|
||||
</html>
|
||||
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#! /bin/zsh
|
||||
# Copyright 2019-2020 The Khronos Group, Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then echo "Please run as root to uninstall KTX-Software" >&2
|
||||
exit -1
|
||||
fi
|
||||
|
||||
cd /
|
||||
for pkg in $(pkgutil --pkgs='com.khronos.ktx.*')
|
||||
do
|
||||
# pkgutil's --only-files shows only regular files. There are symbolic
|
||||
# links we need to deal with.
|
||||
pkgutil --files $pkg | xargs -n 1 sh -c 'if [ -f $0 -o -L $0 ]; then rm $0; fi'
|
||||
# Deal with doc/KTX-Software
|
||||
pkgutil --only-dirs --files $pkg | xargs -n 1 sh -c 'if [ -d $0 -a $(basename $0) = "KTX-Software" ]; then rm -rf $0; fi'
|
||||
|
||||
pkgutil --forget $pkg
|
||||
done
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
@@ -0,0 +1,32 @@
|
||||
{\rtf1\ansi\ansicpg1252\cocoartf1671\cocoasubrtf500
|
||||
{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fswiss\fcharset0 Helvetica-Bold;\f2\fmodern\fcharset0 CourierNewPSMT;
|
||||
}
|
||||
{\colortbl;\red255\green255\blue255;}
|
||||
{\*\expandedcolortbl;;}
|
||||
\paperw11900\paperh16840\margl1440\margr1440\vieww9500\viewh7900\viewkind0
|
||||
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
|
||||
|
||||
\f0\fs24 \cf0 \
|
||||
\
|
||||
\pard\pardeftab720\sl280\qc\partightenfactor0
|
||||
\cf0 {{\NeXTGraphic Conclusion_Success_32@2x.png \width1280 \height1280 \appleattachmentpadding0 \appleembedtype0 \appleaqc
|
||||
}¬}\
|
||||
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc\partightenfactor0
|
||||
\cf0 \
|
||||
|
||||
\f1\b\fs40 The installation was successful.\
|
||||
\
|
||||
|
||||
\f0\b0\fs24 The software was installed.\
|
||||
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
|
||||
\cf0 \
|
||||
\
|
||||
\
|
||||
\
|
||||
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\qc\partightenfactor0
|
||||
\cf0 You can uninstall this software by running the command\
|
||||
|
||||
\f2 sudo ktx-uninstall
|
||||
\f0 \
|
||||
in a terminal.\
|
||||
}
|
||||
Reference in New Issue
Block a user