Update desktop file.

This commit is contained in:
Bartosz Taudul
2026-07-24 22:51:25 +02:00
parent ac159d6127
commit ff3e31f564
3 changed files with 58 additions and 6 deletions

View File

@@ -2,7 +2,20 @@
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/tracy">
<comment>Tracy Profiler trace file</comment>
<comment xml:lang="ar">ملف تتبع لمحلل الأداء Tracy</comment>
<comment xml:lang="de">Trace-Datei des Tracy-Profilers</comment>
<comment xml:lang="es">Archivo de traza del perfilador Tracy</comment>
<comment xml:lang="fr">Fichier de trace du profileur Tracy</comment>
<comment xml:lang="hi">Tracy प्रोफ़ाइलर ट्रेस फ़ाइल</comment>
<comment xml:lang="it">File di traccia del profiler Tracy</comment>
<comment xml:lang="ja">Tracy プロファイラーのトレースファイル</comment>
<comment xml:lang="pl">Zrzut sesji profilera Tracy</comment>
<comment xml:lang="pt">Ficheiro de rastreio do perfilador Tracy</comment>
<comment xml:lang="pt_BR">Arquivo de rastreamento do perfilador Tracy</comment>
<comment xml:lang="ru">Файл трассировки профилировщика Tracy</comment>
<comment xml:lang="uk">Файл трасування профілювальника Tracy</comment>
<comment xml:lang="zh_CN">Tracy 性能分析器跟踪文件</comment>
<comment xml:lang="zh_TW">Tracy 效能分析器追蹤檔案</comment>
<icon name="application-tracy"/>
<magic>
<match type="string" value="tlZ\x04" offset="0"/>

View File

@@ -1,12 +1,53 @@
[Desktop Entry]
Version=1.0
Version=1.5
Type=Application
Name=Tracy Profiler
GenericName=Code profiler
GenericName[ar]=محلل أداء الشيفرة البرمجية
GenericName[de]=Code-Profiler
GenericName[es]=Perfilador de código
GenericName[fr]=Profileur de code
GenericName[hi]=कोड प्रोफ़ाइलर
GenericName[it]=Profiler del codice
GenericName[ja]=コードプロファイラー
GenericName[pl]=Profiler kodu
GenericName[pt]=Analisador de desempenho de código
GenericName[pt_BR]=Analisador de desempenho de código
GenericName[ru]=Профилировщик кода
GenericName[uk]=Профілювальник коду
GenericName[zh_CN]=代码性能分析器
GenericName[zh_TW]=程式碼效能分析器
Comment=Examine code to see where it is slow
Comment[pl]=Znajdowanie wolno wykonującego się kodu
Exec=/usr/bin/tracy-profiler %f
Comment[ar]=افحص الشيفرة البرمجية لمعرفة مواضع البطء
Comment[de]=Code untersuchen, um langsame Stellen zu finden
Comment[es]=Examine el código para ver dónde es lento
Comment[fr]=Examiner le code pour voir où il est lent
Comment[hi]=कोड की जाँच करें कि वह कहाँ धीमा है
Comment[it]=Esamina il codice per vedere dove è lento
Comment[ja]=コードを調べて遅い箇所を見つける
Comment[pl]=Przeanalizuj kod, aby znaleźć wolne miejsca
Comment[pt]=Examine o código para ver onde é lento
Comment[pt_BR]=Examine o código para ver onde ele é lento
Comment[ru]=Изучите код, чтобы найти медленные места
Comment[uk]=Досліджуйте код, щоб знайти повільні місця
Comment[zh_CN]=检查代码,找出运行缓慢的部分
Comment[zh_TW]=檢查程式碼,找出執行緩慢的部分
Keywords=profiler;performance;tracing;frame;instrumentation;
Keywords[ar]=محلل;أداء;تتبع;إطار;قياس;
Keywords[de]=Profiler;Leistung;Tracing;Frame;Instrumentierung;
Keywords[es]=perfilador;rendimiento;trazado;fotograma;instrumentación;
Keywords[fr]=profileur;performance;traçage;trame;instrumentation;
Keywords[hi]=प्रोफ़ाइलर;प्रदर्शन;ट्रेसिंग;फ़्रेम;इंस्ट्रुमेंटेशन;
Keywords[it]=profiler;prestazioni;tracciamento;frame;strumentazione;
Keywords[ja]=プロファイラー;パフォーマンス;トレース;フレーム;計測;
Keywords[pl]=profiler;wydajność;śledzenie;klatka;instrumentacja;
Keywords[pt]=perfilador;desempenho;rastreio;fotograma;instrumentação;
Keywords[pt_BR]=perfilador;desempenho;rastreamento;quadro;instrumentação;
Keywords[ru]=профилировщик;производительность;трассировка;кадр;инструментирование;
Keywords[uk]=профілювальник;продуктивність;трасування;кадр;інструментування;
Keywords[zh_CN]=分析器;性能;跟踪;帧;插桩;
Keywords[zh_TW]=分析器;效能;追蹤;影格;插樁;
Exec=tracy-profiler %f
Icon=tracy
Terminal=false
Categories=Development;Profiling;

View File

@@ -53,9 +53,7 @@ cp "$PREFIX/lib/libwayland-client.so.0" \
"$PREFIX/lib/libwayland-cursor.so.0" \
"$PREFIX/lib/libwayland-egl.so.1" \
"$APPDIR/usr/lib/"
# The Exec path must not be absolute, the profiler is not in /usr/bin here
sed 's|^Exec=.*|Exec=tracy-profiler %f|' "$ROOT/extra/desktop/tracy.desktop" \
> "$APPDIR/usr/share/applications/tracy.desktop"
cp "$ROOT/extra/desktop/tracy.desktop" "$APPDIR/usr/share/applications/"
cp "$ROOT/extra/desktop/application-tracy.xml" "$APPDIR/usr/share/mime/packages/"
cp "$ROOT/icon/icon.svg" "$APPDIR/usr/share/icons/hicolor/scalable/apps/tracy.svg"
cp "$ROOT/icon/application-tracy.svg" "$APPDIR/usr/share/icons/hicolor/scalable/mimetypes/"