diff --git a/com.cisco.PacketTracer.desktop b/com.cisco.PacketTracer.desktop index 24b8e35..fee03db 100644 --- a/com.cisco.PacketTracer.desktop +++ b/com.cisco.PacketTracer.desktop @@ -8,5 +8,5 @@ Icon=com.cisco.PacketTracer Name=Packet Tracer Categories=Application;Network; -MimeType=application/x-pkt;application/x-pka;application/x-pkz; +MimeType=application/x-pkt;application/x-pka;application/x-pkz;application/x-pks;application/x-pksz; StartupWMClass=PacketTracer diff --git a/com.cisco.PacketTracer.url.desktop b/com.cisco.PacketTracer.url.desktop new file mode 100644 index 0000000..7d32499 --- /dev/null +++ b/com.cisco.PacketTracer.url.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application + +Exec=/app/pt/packettracer -uri=%u +Icon=com.cisco.PacketTracer + +Name=Packet Tracer +Categories=Application;Network; +NoDisplay=true + +MimeType=x-scheme-handler/pttp; +StartupWMClass=PacketTracer diff --git a/com.cisco.PacketTracer.yml b/com.cisco.PacketTracer.yml index 0fbe61f..8a98f93 100644 --- a/com.cisco.PacketTracer.yml +++ b/com.cisco.PacketTracer.yml @@ -1,8 +1,15 @@ app-id: com.cisco.PacketTracer -runtime: org.freedesktop.Platform -runtime-version: '21.08' -sdk: org.freedesktop.Sdk +runtime: org.kde.Platform +runtime-version: '5.15-22.08' +sdk: org.kde.Sdk +base: io.qt.qtwebengine.BaseApp +base-version: '5.15-22.08' command: /app/pt/packettracer +separate-locales: false + +tags: + - proprietary + finish-args: - --share=ipc - --share=network @@ -11,6 +18,7 @@ finish-args: - --device=dri - --filesystem=xdg-download - --persist=. + - --env=TZ= modules: - name: packettracer @@ -26,6 +34,7 @@ modules: - install -D /app/pt/art/app.png /app/share/icons/hicolor/48x48/apps/com.cisco.PacketTracer.png - install -D com.cisco.PacketTracer.png /app/share/icons/hicolor/128x128/apps/com.cisco.PacketTracer.png - install -D com.cisco.PacketTracer.desktop /app/share/applications/com.cisco.PacketTracer.desktop + - install -D com.cisco.PacketTracer.url.desktop /app/share/applications/com.cisco.PacketTracer.url.desktop - sed -i -e 's\/opt/\/app/\g' /app/pt/packettracer /app/pt/linguist - sed -i -e 's\"$@"\-style windows "$@"\;' /app/pt/packettracer /app/pt/linguist @@ -37,5 +46,7 @@ modules: path: com.cisco.PacketTracer.appdata.xml - type: file path: com.cisco.PacketTracer.desktop + - type: file + path: com.cisco.PacketTracer.url.desktop - type: file path: com.cisco.PacketTracer.png