-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Update wireshark.ini for upstream new format #13
Conversation
[
{
"distro": "Wireshark",
"category": "app",
"urls": [
{
"name": "latest (x64, msi)",
"url": "/wireshark/win64/Wireshark-latest-x64.msi"
},
{
"name": "latest (arm64, exe)",
"url": "/wireshark/win64/Wireshark-latest-arm64.exe"
},
{
"name": "latest (x64, exe)",
"url": "/wireshark/win64/Wireshark-latest-x64.exe"
},
{
"name": "Portable latest (win, portable)",
"url": "/wireshark/win64/WiresharkPortable64_latest.paf.exe"
},
{
"name": "Portable 4.4.2 (win, portable)",
"url": "/wireshark/win64/WiresharkPortable64_4.4.2.paf.exe"
},
{
"name": "Portable 4.4.1 (win, portable)",
"url": "/wireshark/win64/WiresharkPortable64_4.4.1.paf.exe"
},
{
"name": "Portable 4.4.0 (win, portable)",
"url": "/wireshark/win64/WiresharkPortable64_4.4.0.paf.exe"
},
{
"name": "Portable 4.2.9 (win, portable)",
"url": "/wireshark/win64/WiresharkPortable64_4.2.9.paf.exe"
},
{
"name": "Portable 4.2.8 (win, portable)",
"url": "/wireshark/win64/WiresharkPortable64_4.2.8.paf.exe"
},
{
"name": "Portable 4.2.7 (win, portable)",
"url": "/wireshark/win64/WiresharkPortable64_4.2.7.paf.exe"
},
{
"name": "Portable 4.2.6 (win, portable)",
"url": "/wireshark/win64/WiresharkPortable64_4.2.6.paf.exe"
},
{
"name": "Portable 4.0.17 (win, portable)",
"url": "/wireshark/win64/WiresharkPortable64_4.0.17.paf.exe"
},
{
"name": "Portable 4.0.16 (win, portable)",
"url": "/wireshark/win64/WiresharkPortable64_4.0.16.paf.exe"
},
{
"name": "4.4.2 (x64, msi)",
"url": "/wireshark/win64/Wireshark-4.4.2-x64.msi"
},
{
"name": "4.4.2 (arm64, exe)",
"url": "/wireshark/win64/Wireshark-4.4.2-arm64.exe"
},
{
"name": "4.4.2 (x64, exe)",
"url": "/wireshark/win64/Wireshark-4.4.2-x64.exe"
},
{
"name": "4.4.2 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.4.2 Arm 64.dmg"
},
{
"name": "4.4.2 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.4.2 Intel 64.dmg"
},
{
"name": "4.4.1 (x64, msi)",
"url": "/wireshark/win64/Wireshark-4.4.1-x64.msi"
},
{
"name": "4.4.1 (arm64, exe)",
"url": "/wireshark/win64/Wireshark-4.4.1-arm64.exe"
},
{
"name": "4.4.1 (x64, exe)",
"url": "/wireshark/win64/Wireshark-4.4.1-x64.exe"
},
{
"name": "4.4.1 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.4.1 Arm 64.dmg"
},
{
"name": "4.4.1 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.4.1 Intel 64.dmg"
},
{
"name": "4.4.0 (x64, msi)",
"url": "/wireshark/win64/Wireshark-4.4.0-x64.msi"
},
{
"name": "4.4.0 (arm64, exe)",
"url": "/wireshark/win64/Wireshark-4.4.0-arm64.exe"
},
{
"name": "4.4.0 (x64, exe)",
"url": "/wireshark/win64/Wireshark-4.4.0-x64.exe"
},
{
"name": "4.4.0 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.4.0 Arm 64.dmg"
},
{
"name": "4.4.0 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.4.0 Intel 64.dmg"
},
{
"name": "4.2.9 (x64, msi)",
"url": "/wireshark/win64/Wireshark-4.2.9-x64.msi"
},
{
"name": "4.2.9 (arm64, exe)",
"url": "/wireshark/win64/Wireshark-4.2.9-arm64.exe"
},
{
"name": "4.2.9 (x64, exe)",
"url": "/wireshark/win64/Wireshark-4.2.9-x64.exe"
},
{
"name": "4.2.9 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.2.9 Arm 64.dmg"
},
{
"name": "4.2.9 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.2.9 Intel 64.dmg"
},
{
"name": "4.2.8 (x64, msi)",
"url": "/wireshark/win64/Wireshark-4.2.8-x64.msi"
},
{
"name": "4.2.8 (arm64, exe)",
"url": "/wireshark/win64/Wireshark-4.2.8-arm64.exe"
},
{
"name": "4.2.8 (x64, exe)",
"url": "/wireshark/win64/Wireshark-4.2.8-x64.exe"
},
{
"name": "4.2.8 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.2.8 Arm 64.dmg"
},
{
"name": "4.2.8 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.2.8 Intel 64.dmg"
},
{
"name": "4.2.7 (x64, msi)",
"url": "/wireshark/win64/Wireshark-4.2.7-x64.msi"
},
{
"name": "4.2.7 (arm64, exe)",
"url": "/wireshark/win64/Wireshark-4.2.7-arm64.exe"
},
{
"name": "4.2.7 (x64, exe)",
"url": "/wireshark/win64/Wireshark-4.2.7-x64.exe"
},
{
"name": "4.2.7 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.2.7 Arm 64.dmg"
},
{
"name": "4.2.7 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.2.7 Intel 64.dmg"
},
{
"name": "4.2.6 (x64, msi)",
"url": "/wireshark/win64/Wireshark-4.2.6-x64.msi"
},
{
"name": "4.2.6 (arm64, exe)",
"url": "/wireshark/win64/Wireshark-4.2.6-arm64.exe"
},
{
"name": "4.2.6 (x64, exe)",
"url": "/wireshark/win64/Wireshark-4.2.6-x64.exe"
},
{
"name": "4.2.6 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.2.6 Arm 64.dmg"
},
{
"name": "4.2.6 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.2.6 Intel 64.dmg"
},
{
"name": "4.0.17 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.0.17 Arm 64.dmg"
},
{
"name": "4.0.17 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.0.17 Intel 64.dmg"
},
{
"name": "4.0.16 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.0.16 Arm 64.dmg"
},
{
"name": "4.0.16 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.0.16 Intel 64.dmg"
}
]
}
] |
将解析结果与 https://www.wireshark.org/download.html 进行了比对,在新的提交中将 PortableApps 版本的命名规则与官网进行了统一。 |
[
{
"distro": "Wireshark",
"category": "app",
"urls": [
{
"name": "latest (x64, msi)",
"url": "/wireshark/win64/Wireshark-latest-x64.msi"
},
{
"name": "latest (x64, exe, PortableApps)",
"url": "/wireshark/win64/WiresharkPortable64_latest.paf.exe"
},
{
"name": "latest (arm64, exe)",
"url": "/wireshark/win64/Wireshark-latest-arm64.exe"
},
{
"name": "latest (x64, exe)",
"url": "/wireshark/win64/Wireshark-latest-x64.exe"
},
{
"name": "4.4.2 (x64, msi)",
"url": "/wireshark/win64/Wireshark-4.4.2-x64.msi"
},
{
"name": "4.4.2 (x64, exe, PortableApps)",
"url": "/wireshark/win64/WiresharkPortable64_4.4.2.paf.exe"
},
{
"name": "4.4.2 (arm64, exe)",
"url": "/wireshark/win64/Wireshark-4.4.2-arm64.exe"
},
{
"name": "4.4.2 (x64, exe)",
"url": "/wireshark/win64/Wireshark-4.4.2-x64.exe"
},
{
"name": "4.4.2 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.4.2 Arm 64.dmg"
},
{
"name": "4.4.2 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.4.2 Intel 64.dmg"
},
{
"name": "4.4.1 (x64, msi)",
"url": "/wireshark/win64/Wireshark-4.4.1-x64.msi"
},
{
"name": "4.4.1 (x64, exe, PortableApps)",
"url": "/wireshark/win64/WiresharkPortable64_4.4.1.paf.exe"
},
{
"name": "4.4.1 (arm64, exe)",
"url": "/wireshark/win64/Wireshark-4.4.1-arm64.exe"
},
{
"name": "4.4.1 (x64, exe)",
"url": "/wireshark/win64/Wireshark-4.4.1-x64.exe"
},
{
"name": "4.4.1 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.4.1 Arm 64.dmg"
},
{
"name": "4.4.1 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.4.1 Intel 64.dmg"
},
{
"name": "4.4.0 (x64, msi)",
"url": "/wireshark/win64/Wireshark-4.4.0-x64.msi"
},
{
"name": "4.4.0 (x64, exe, PortableApps)",
"url": "/wireshark/win64/WiresharkPortable64_4.4.0.paf.exe"
},
{
"name": "4.4.0 (arm64, exe)",
"url": "/wireshark/win64/Wireshark-4.4.0-arm64.exe"
},
{
"name": "4.4.0 (x64, exe)",
"url": "/wireshark/win64/Wireshark-4.4.0-x64.exe"
},
{
"name": "4.4.0 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.4.0 Arm 64.dmg"
},
{
"name": "4.4.0 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.4.0 Intel 64.dmg"
},
{
"name": "4.2.9 (x64, msi)",
"url": "/wireshark/win64/Wireshark-4.2.9-x64.msi"
},
{
"name": "4.2.9 (x64, exe, PortableApps)",
"url": "/wireshark/win64/WiresharkPortable64_4.2.9.paf.exe"
},
{
"name": "4.2.9 (arm64, exe)",
"url": "/wireshark/win64/Wireshark-4.2.9-arm64.exe"
},
{
"name": "4.2.9 (x64, exe)",
"url": "/wireshark/win64/Wireshark-4.2.9-x64.exe"
},
{
"name": "4.2.9 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.2.9 Arm 64.dmg"
},
{
"name": "4.2.9 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.2.9 Intel 64.dmg"
},
{
"name": "4.2.8 (x64, msi)",
"url": "/wireshark/win64/Wireshark-4.2.8-x64.msi"
},
{
"name": "4.2.8 (x64, exe, PortableApps)",
"url": "/wireshark/win64/WiresharkPortable64_4.2.8.paf.exe"
},
{
"name": "4.2.8 (arm64, exe)",
"url": "/wireshark/win64/Wireshark-4.2.8-arm64.exe"
},
{
"name": "4.2.8 (x64, exe)",
"url": "/wireshark/win64/Wireshark-4.2.8-x64.exe"
},
{
"name": "4.2.8 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.2.8 Arm 64.dmg"
},
{
"name": "4.2.8 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.2.8 Intel 64.dmg"
},
{
"name": "4.2.7 (x64, msi)",
"url": "/wireshark/win64/Wireshark-4.2.7-x64.msi"
},
{
"name": "4.2.7 (x64, exe, PortableApps)",
"url": "/wireshark/win64/WiresharkPortable64_4.2.7.paf.exe"
},
{
"name": "4.2.7 (arm64, exe)",
"url": "/wireshark/win64/Wireshark-4.2.7-arm64.exe"
},
{
"name": "4.2.7 (x64, exe)",
"url": "/wireshark/win64/Wireshark-4.2.7-x64.exe"
},
{
"name": "4.2.7 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.2.7 Arm 64.dmg"
},
{
"name": "4.2.7 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.2.7 Intel 64.dmg"
},
{
"name": "4.2.6 (x64, msi)",
"url": "/wireshark/win64/Wireshark-4.2.6-x64.msi"
},
{
"name": "4.2.6 (x64, exe, PortableApps)",
"url": "/wireshark/win64/WiresharkPortable64_4.2.6.paf.exe"
},
{
"name": "4.2.6 (arm64, exe)",
"url": "/wireshark/win64/Wireshark-4.2.6-arm64.exe"
},
{
"name": "4.2.6 (x64, exe)",
"url": "/wireshark/win64/Wireshark-4.2.6-x64.exe"
},
{
"name": "4.2.6 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.2.6 Arm 64.dmg"
},
{
"name": "4.2.6 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.2.6 Intel 64.dmg"
},
{
"name": "4.0.17 (x64, exe, PortableApps)",
"url": "/wireshark/win64/WiresharkPortable64_4.0.17.paf.exe"
},
{
"name": "4.0.17 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.0.17 Arm 64.dmg"
},
{
"name": "4.0.17 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.0.17 Intel 64.dmg"
},
{
"name": "4.0.16 (x64, exe, PortableApps)",
"url": "/wireshark/win64/WiresharkPortable64_4.0.16.paf.exe"
},
{
"name": "4.0.16 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.0.16 Arm 64.dmg"
},
{
"name": "4.0.16 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.0.16 Intel 64.dmg"
}
]
}
] |
建议保留更少的版本,现在的列表有一些长 |
已增加 |
macOS 版本的还是怪怪的。我觉得可以都限制只显示 latest。 [
{
"distro": "Wireshark",
"category": "app",
"urls": [
{
"name": "latest (x64, msi)",
"url": "/wireshark/win64/Wireshark-latest-x64.msi"
},
{
"name": "latest (x64, exe, PortableApps)",
"url": "/wireshark/win64/WiresharkPortable64_latest.paf.exe"
},
{
"name": "latest (arm64, exe)",
"url": "/wireshark/win64/Wireshark-latest-arm64.exe"
},
{
"name": "latest (x64, exe)",
"url": "/wireshark/win64/Wireshark-latest-x64.exe"
},
{
"name": "4.4.2 (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.4.2 Arm 64.dmg"
},
{
"name": "4.4.2 (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark 4.4.2 Intel 64.dmg"
}
]
}
] |
Wireshark macOS 版本打包的名字类似 |
名字仍然是不一致的 :( 我的建议是:筛选文件的时候就只选择 latest,然后 version 里面就对应写死 "Latest" 或者 "latest" [
{
"distro": "Wireshark",
"category": "app",
"urls": [
{
"name": "latest (x64, msi)",
"url": "/wireshark/win64/Wireshark-latest-x64.msi"
},
{
"name": "latest (x64, exe, PortableApps)",
"url": "/wireshark/win64/WiresharkPortable64_latest.paf.exe"
},
{
"name": "latest (arm64, exe)",
"url": "/wireshark/win64/Wireshark-latest-arm64.exe"
},
{
"name": "latest (x64, exe)",
"url": "/wireshark/win64/Wireshark-latest-x64.exe"
},
{
"name": "Latest (Arm 64, dmg)",
"url": "/wireshark/osx/Wireshark Latest Arm 64.dmg"
},
{
"name": "Latest (Intel 64, dmg)",
"url": "/wireshark/osx/Wireshark Latest Intel 64.dmg"
}
]
}
] |
写死了,应该这次都是 latest 了。 |
修复 tuna/issues#2097 提到的问题