Skip to content

Commit 74172e0

Browse files
committed
use downloads stdlib
1 parent e1c6111 commit 74172e0

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

NetworkDynamicsInspector/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ version = "0.1.2"
77
Bonito = "824d6782-a2ef-11e9-3a09-e5662e0c26f8"
88
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
99
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
10+
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
1011
GraphMakie = "1ecd5474-83a3-4783-bb4f-06765db800d2"
1112
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
1213
NetworkDynamics = "22e9dc34-2a0d-11e9-0de0-8588d035468b"
@@ -28,6 +29,7 @@ ElectronExt = ["Electron"]
2829
Bonito = "4.0.0"
2930
ColorSchemes = "3.29.0"
3031
Colors = "0.13.0"
32+
Downloads = "1.6.0"
3133
Electron = "6"
3234
GraphMakie = "0.5.14"
3335
Graphs = "1.12.0"

NetworkDynamicsInspector/src/NetworkDynamicsInspector.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ using Observables: Observables, Observable, on, onany
2323
using Colors: Colors, @colorant_str, RGB, color
2424
using ColorSchemes: ColorSchemes, ColorScheme
2525
using SciMLBase: SciMLBase
26+
using Downloads: Downloads
2627

2728
# defined based on the julia version
2829
using NetworkDynamics: AnnotatedIOBuffer, AnnotatedString, @styled_str

NetworkDynamicsInspector/src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function download_assets()
138138

139139
for (name, url) in to_download
140140
# @info "Downloading Assets: $name.."
141-
download(url, joinpath(ASSETS, name))
141+
Downloads.download(url, joinpath(ASSETS, name))
142142
end
143143
end
144144

0 commit comments

Comments
 (0)