File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 11{
2- version = "1.2025.014 " ;
2+ version = "1.2025.057 " ;
33 src = {
4- url = "https://persistent.oaistatic.com/sidekick/public/ChatGPT_Desktop_public_1.2025.014_1737150122 .dmg" ;
5- hash = "sha256-NxCkrsPaptYNTZ+urkJqYeC4a0nGaEOFO/7SQL1Jmpc =" ;
4+ url = "https://persistent.oaistatic.com/sidekick/public/ChatGPT_Desktop_public_1.2025.057_1741115522 .dmg" ;
5+ hash = "sha256-aVPBYPr1tMRBEvKgooVIzgiqClCIN8tWERjIcgP0UUk =" ;
66 } ;
77}
Original file line number Diff line number Diff line change @@ -10,12 +10,14 @@ DOWNLOAD_URL=$(echo "$XML_DATA" | xmllint --xpath 'string(//item[1]/enclosure/@u
1010
1111HASH=$( nix-prefetch-url $DOWNLOAD_URL | xargs nix hash convert --hash-algo sha256)
1212
13- cat > source.nix << _EOF_
13+ SOURCE_NIX=" $( dirname ${BASH_SOURCE[0]} ) /source.nix"
14+
15+ cat > " ${SOURCE_NIX} " << _EOF_
1416{
1517 version = "$LATEST_VERSION ";
16- src = fetchurl {
18+ src = {
1719 url = "$DOWNLOAD_URL ";
18- sha256 = "$HASH ";
20+ hash = "$HASH ";
1921 };
2022}
2123_EOF_
You can’t perform that action at this time.
0 commit comments