Move to woodpecker ci, minor corrections
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
This commit is contained in:
parent
71b5829e52
commit
cfdc087aac
4 changed files with 9 additions and 21 deletions
|
@ -1,30 +1,20 @@
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
|
when:
|
||||||
|
event: [tag, push]
|
||||||
image: maven:3-jdk-11
|
image: maven:3-jdk-11
|
||||||
commands:
|
commands:
|
||||||
- mvn -B -DskipTests clean package
|
- mvn -B -DskipTests clean package
|
||||||
- mvn test -B
|
- mvn test -B
|
||||||
volumes:
|
volumes:
|
||||||
- name: m2
|
- /home/docker/woodpecker/files/m2:/root/.m2
|
||||||
path: /root/.m2
|
|
||||||
|
|
||||||
- name: archive-artifact
|
- name: archive-artifact
|
||||||
|
when:
|
||||||
|
event: [tag, push]
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p /builds/mplayer4anime
|
- mkdir -p /builds/mplayer4anime
|
||||||
- cp target/mplayer4anime-*jar /builds/mplayer4anime/
|
- cp target/mplayer4anime-*jar /builds/mplayer4anime/
|
||||||
volumes:
|
volumes:
|
||||||
- name: builds
|
- /home/www/builds:/builds
|
||||||
path: /builds
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: m2
|
|
||||||
host:
|
|
||||||
path: /home/docker/drone/files/m2
|
|
||||||
- name: builds
|
|
||||||
host:
|
|
||||||
path: /home/www/builds
|
|
|
@ -1,6 +1,6 @@
|
||||||
# mplayer4anime
|
# mplayer4anime
|
||||||
|
|
||||||
![License](https://img.shields.io/badge/License-GPLv3-blue.svg) ![Releases](https://img.shields.io/github/downloads/developersu/mplayer4anime/total.svg) [![Build Status](https://ci.redrise.ru/api/badges/desu/mplayer4anime/status.svg)](https://ci.redrise.ru/desu/mplayer4anime)
|
![License](https://img.shields.io/badge/License-GPLv3-blue.svg) ![Releases](https://img.shields.io/github/downloads/developersu/mplayer4anime/total.svg) [![status-badge](https://ci.redrise.ru/api/badges/2/status.svg)](https://ci.redrise.ru/repos/2)
|
||||||
|
|
||||||
mplayer4anime is mplayer launcher to play video file with audio layer and/or subtitles (.ass, .srt, etc.) at once.
|
mplayer4anime is mplayer launcher to play video file with audio layer and/or subtitles (.ass, .srt, etc.) at once.
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ public class MpvProcess implements Runnable{
|
||||||
private boolean nonSupportedOs(){
|
private boolean nonSupportedOs(){
|
||||||
if (! System.getProperty("os.name").toLowerCase().contains("linux")) {
|
if (! System.getProperty("os.name").toLowerCase().contains("linux")) {
|
||||||
ServiceWindow.getErrorNotification("Error",
|
ServiceWindow.getErrorNotification("Error",
|
||||||
"Non-Linux OS are not supported. Yet. Please yse mplayer backend for now.");
|
"Non-Linux OS are not supported. Yet. Please use mplayer backend for now.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -37,13 +37,11 @@ public class SettingsWindow {
|
||||||
stageAbout.setMinHeight(500);
|
stageAbout.setMinHeight(500);
|
||||||
|
|
||||||
FXMLLoader loaderSettings = new FXMLLoader(getClass().getResource("/Settings/SettingsLayout.fxml"));
|
FXMLLoader loaderSettings = new FXMLLoader(getClass().getResource("/Settings/SettingsLayout.fxml"));
|
||||||
ResourceBundle resourceBundle;
|
|
||||||
|
|
||||||
Locale userLocale = new Locale(Locale.getDefault().getISO3Language()); // NOTE: user locale based on ISO3 Language codes
|
Locale userLocale = new Locale(Locale.getDefault().getISO3Language()); // NOTE: user locale based on ISO3 Language codes
|
||||||
resourceBundle = ResourceBundle.getBundle("locale", userLocale);
|
ResourceBundle resourceBundle = ResourceBundle.getBundle("locale", userLocale);
|
||||||
loaderSettings.setResources(resourceBundle);
|
loaderSettings.setResources(resourceBundle);
|
||||||
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Parent parentAbout = loaderSettings.load();
|
Parent parentAbout = loaderSettings.load();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue