Skip to content

Commit

Permalink
fix mac URL (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithHafner committed Jan 3, 2024
1 parent 638d5c5 commit 9b12847
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/UpdateJulia.jl
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,14 @@ Destination
$(Sys.iswindows() ? "" : "- `bin = systemwide ? \"/usr/local/bin\" : \"$(joinpath(homedir(), ".local/bin"))\"` directory to store links to the binaries")
Source
- `os_str = "$(@os "winnt" "mac" "freebsd" "linux")"` string representation of the operating system: "linux", "mac", "winnt", or "freebsd".
- `os_str = "$(@os "winnt" "macos" "freebsd" "linux")"` string representation of the operating system: "linux", "mac", "winnt", or "freebsd".
- `arch = "$(string(Base.Sys.ARCH))"` string representation of the CPU architecture: "x86_64", "i686", "aarch64", "armv7l", or "powerpc64le".
- `v = ...` the `VersionNumber` to install
- `url = ...` URL to download that version from, if you explicitly set `url`, also explicitly set `v` lest they differ
"""
function update_julia(version::AbstractString="";
os_str = (@os "winnt" "mac" "freebsd" "linux"),
os_str = (@os "winnt" "macos" "freebsd" "linux"),
arch = string(Base.Sys.ARCH),
prefer_gui = false,
fetch = time() > last_fetched[] + 60 * 15, # 15 minutes
Expand Down

0 comments on commit 9b12847

Please sign in to comment.