mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 17:58:22 +01:00
disable cache when downloading packagds
This commit is contained in:
parent
f1c4201270
commit
b9ad064928
@ -122,7 +122,7 @@ class MarketPlace extends this.OS.GUI.BaseApplication
|
|||||||
@applist.set "data", list
|
@applist.set "data", list
|
||||||
return
|
return
|
||||||
|
|
||||||
@_api.get data.url, "json"
|
@_api.get (data.url + "?_=" + (new Date().getTime())) , "json"
|
||||||
.then ( d ) =>
|
.then ( d ) =>
|
||||||
for v in d
|
for v in d
|
||||||
v.text = v.name
|
v.text = v.name
|
||||||
@ -207,7 +207,7 @@ class MarketPlace extends this.OS.GUI.BaseApplication
|
|||||||
return unless app
|
return unless app
|
||||||
# get blob file
|
# get blob file
|
||||||
new Promise (resolve, reject) =>
|
new Promise (resolve, reject) =>
|
||||||
@_api.blob app.download
|
@_api.blob app.download + "?_=" + (new Date().getTime())
|
||||||
.then (data) =>
|
.then (data) =>
|
||||||
@install data, app
|
@install data, app
|
||||||
.then (n) -> resolve(n)
|
.then (n) -> resolve(n)
|
||||||
|
Loading…
Reference in New Issue
Block a user