forked from j62/ctbrec
Merge branch 'master' into dev
This commit is contained in:
commit
0e9ae32161
|
@ -71,9 +71,13 @@ public class LiveJasminTab extends ThumbOverviewTab {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onFail(WorkerStateEvent event) {
|
protected void onFail(WorkerStateEvent event) {
|
||||||
|
if(Config.getInstance().getSettings().livejasminBetaAcknowledged) {
|
||||||
status.setText("Login failed");
|
status.setText("Login failed");
|
||||||
|
grid.getChildren().remove(acknowledge);
|
||||||
|
grid.getChildren().remove(createAccount);
|
||||||
super.onFail(event);
|
super.onFail(event);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void selected() {
|
public void selected() {
|
||||||
|
|
|
@ -42,7 +42,7 @@ public class LiveJasminUpdateService extends PaginatedScheduledService {
|
||||||
@Override
|
@Override
|
||||||
public List<Model> call() throws IOException, NotLoggedInExcetion {
|
public List<Model> call() throws IOException, NotLoggedInExcetion {
|
||||||
//String _url = url + ((page-1) * 36); // TODO find out how to switch pages
|
//String _url = url + ((page-1) * 36); // TODO find out how to switch pages
|
||||||
if(!SiteUiFactory.getUi(liveJasmin).login()) {
|
if(!liveJasmin.credentialsAvailable() || !SiteUiFactory.getUi(liveJasmin).login()) {
|
||||||
throw new NotLoggedInExcetion();
|
throw new NotLoggedInExcetion();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -118,19 +118,19 @@
|
||||||
</script>
|
</script>
|
||||||
<div class="row text-center">
|
<div class="row text-center">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<a class="btn btn-xl btn-outline-dark" href="#donate" onclick="downloadFile('https://github.com/0xboobface/ctbrec/releases/download/1.16.0/ctbrec-1.16.0-win64-jre.zip');">
|
<a class="btn btn-xl btn-outline-dark" href="#donate" onclick="downloadFile('https://github.com/0xboobface/ctbrec/releases/download/1.17.0/ctbrec-1.17.0-win64-jre.zip');">
|
||||||
<i class="fa fa-windows mr-2"></i>
|
<i class="fa fa-windows mr-2"></i>
|
||||||
Download for Windows!
|
Download for Windows!
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<a class="btn btn-xl btn-outline-dark" href="#donate" onclick="downloadFile('https://github.com/0xboobface/ctbrec/releases/download/1.16.0/ctbrec-1.16.0-macos-jre.zip');">
|
<a class="btn btn-xl btn-outline-dark" href="#donate" onclick="downloadFile('https://github.com/0xboobface/ctbrec/releases/download/1.17.0/ctbrec-1.17.0-macos-jre.zip');">
|
||||||
<i class="fa fa-apple mr-2"></i>
|
<i class="fa fa-apple mr-2"></i>
|
||||||
Download for macOS!
|
Download for macOS!
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<a class="btn btn-xl btn-outline-dark" href="#donate" onclick="downloadFile('https://github.com/0xboobface/ctbrec/releases/download/1.16.0/ctbrec-1.16.0-linux-jre.zip');">
|
<a class="btn btn-xl btn-outline-dark" href="#donate" onclick="downloadFile('https://github.com/0xboobface/ctbrec/releases/download/1.17.0/ctbrec-1.17.0-linux-jre.zip');">
|
||||||
<i class="fa fa-linux mr-2"></i>
|
<i class="fa fa-linux mr-2"></i>
|
||||||
Download for Linux!
|
Download for Linux!
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue