pull/216/head
BingoKingo 2021-02-07 18:08:12 +08:00
parent 212d6b98f1
commit 3ffedf7ea5
1 changed files with 4 additions and 6 deletions

View File

@ -1369,8 +1369,8 @@ function size_format(num) {
function themeinf() {
swal({
title: "Tfo' Theme Information",
text: "Current Version:20210205"+"/n"+"Can not support automatic update, please update manually or upgrade with the program."+"/n"+"Tfos HomePage on GitHub:"+"/n"+"https://github.com/BingoKingo/Tfo"+"/n"+"Tfos Example Website:"+"/n"+"https://tfo.herokuapp.com/",
icon: "Info",
text: "Current Version: 20210205 \ Can not support automatic update, please update manually or upgrade with the program. \ Tfos HomePage on GitHub: \ https://github.com/BingoKingo/Tfo \ Tfos Example Website: \ https://tfo.herokuapp.com/",
icon: "info",
buttons: {
cancel: "Close",
address: "Get Update Address",
@ -1380,11 +1380,9 @@ function size_format(num) {
.then((value) => {
switch (value) {
case "address":
windows.location.href="https://github.com/qkqpttgf/OneManager-php/blob/master/theme/tfo.html";
swal.close();
window.open("https://github.com/qkqpttgf/OneManager-php/blob/master/theme/tfo.html");
case "update":
windows.location.href="/?setup";
swal.close();
window.open("/?setup");
default:
swal.close();
}