mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-03 08:35:28 +08:00
update
This commit is contained in:
@ -309,7 +309,6 @@ CustomWindow {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
HttpCallable{
|
||||
id:callable
|
||||
onStart: {
|
||||
@ -335,8 +334,21 @@ CustomWindow {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// HttpRequest{
|
||||
// id:reuqest
|
||||
// url: "https://api.github.com/repos/zhuzichu520/FluentUI/releases/latest"
|
||||
// }
|
||||
|
||||
|
||||
function checkUpdate(){
|
||||
http.get("https://api.github.com/repos/zhuzichu520/FluentUI/releases/latest",callable)
|
||||
var request = http.newRequest()
|
||||
console.debug("-------------------->"+request)
|
||||
request.url = "https://api.github.com/repos/zhuzichu520/FluentUI/releases/latest"
|
||||
|
||||
console.debug("-------------------->"+request.url)
|
||||
http.get2(request,callable);
|
||||
// http.get("https://api.github.com/repos/zhuzichu520/FluentUI/releases/latest",callable)
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user