Merge pull request #12 from losuler/add-new-release

Update Packet Tracer to 8.2
This commit is contained in:
Bryce Torcello
2022-11-30 14:35:59 +00:00
committed by GitHub
3 changed files with 8 additions and 8 deletions

View File

@ -33,8 +33,8 @@ This is currently based on Packet Tracer 8.1.1 and is intended to track the late
```bash ```bash
flatpak install \ flatpak install \
org.freedesktop.Platform/x86_64/20.08 \ org.freedesktop.Platform/x86_64/21.08 \
org.freedesktop.Sdk/x86_64/20.08 org.freedesktop.Sdk/x86_64/21.08
``` ```
4. Download the official Deb package to the cloned repository (don't rename it). 4. Download the official Deb package to the cloned repository (don't rename it).
@ -45,7 +45,7 @@ This is currently based on Packet Tracer 8.1.1 and is intended to track the late
```bash ```bash
cd com.cisco.PacketTracer cd com.cisco.PacketTracer
flatpak-builder --install build com.cisco.PacketTracer.yml flatpak-builder --install --user build com.cisco.PacketTracer.yml
``` ```
## Notes ## Notes

View File

@ -7,7 +7,7 @@ set -o pipefail
set -o nounset set -o nounset
# The FAQ page says 8.1 but it's actually 8.1.1 # The FAQ page says 8.1 but it's actually 8.1.1
PREV_RELEASE="8.1" PREV_RELEASE="8.2"
LATEST_RELEASE=$(curl --silent https://www.netacad.com/courses/packet-tracer/faq | \ LATEST_RELEASE=$(curl --silent https://www.netacad.com/courses/packet-tracer/faq | \
grep --only-matching --perl-regexp "Whats new in Cisco Packet Tracer (\d\.\d|\.\d)" | \ grep --only-matching --perl-regexp "Whats new in Cisco Packet Tracer (\d\.\d|\.\d)" | \

View File

@ -1,6 +1,6 @@
app-id: com.cisco.PacketTracer app-id: com.cisco.PacketTracer
runtime: org.freedesktop.Platform runtime: org.freedesktop.Platform
runtime-version: '20.08' runtime-version: '21.08'
sdk: org.freedesktop.Sdk sdk: org.freedesktop.Sdk
command: /app/pt/packettracer command: /app/pt/packettracer
finish-args: finish-args:
@ -17,7 +17,7 @@ modules:
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- install -D com.cisco.PacketTracer.appdata.xml /app/share/metainfo/com.cisco.PacketTracer.appdata.xml - install -D com.cisco.PacketTracer.appdata.xml /app/share/metainfo/com.cisco.PacketTracer.appdata.xml
- ar x CiscoPacketTracer_811_Ubuntu_64bit.deb - ar x CiscoPacketTracer_820_Ubuntu_64bit.deb
- xz -d data.tar.xz - xz -d data.tar.xz
- tar -xf data.tar - tar -xf data.tar
- find opt/pt/saves opt/pt/templates opt/pt/templates/environments -type d -exec chmod 755 {} + - find opt/pt/saves opt/pt/templates opt/pt/templates/environments -type d -exec chmod 755 {} +
@ -30,8 +30,8 @@ modules:
sources: sources:
- type: file - type: file
path: CiscoPacketTracer_811_Ubuntu_64bit.deb path: CiscoPacketTracer_820_Ubuntu_64bit.deb
sha256: 08c53171aa0257a64ae7de1540f242214033cfa4f879fbc9fed5cc0d32232abf sha256: 1b19885d59f6130ee55414fb02e211a1773460689db38bfd1ac7f0d45117ed16
- type: file - type: file
path: com.cisco.PacketTracer.appdata.xml path: com.cisco.PacketTracer.appdata.xml
- type: file - type: file