Skip to content

Commit

Permalink
merged origin/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
awidesky committed Jul 23, 2021
2 parents 0c4aa4d + 43f8e26 commit 7c0ad4f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/com/awidesky/YoutubeClipboardAutoDownloader/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,13 @@ public static void kill(int exitcode) {

if (executorService != null && !executorService.isShutdown()) executorService.shutdownNow();

Main.writeProperties();
try {
Main.writeProperties();
} catch (Exception e) {
log(e);
}



LoggerThread.isStop = true;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,15 @@ public static boolean checkYoutubedl() {

if (!checkYoutubedlPath(youtubedlpath + "youtube-dl")) {

<<<<<<< HEAD
GUI.error("Error!", "youtube-dl does not exist in\n\t" + youtubedlpath + "\nor system %path%!", null);
if (GUI.confirm("Open link in browser?", "Move to download page of youtube-dl?")) Main.webBrowse("http://ytdl-org.github.io/youtube-dl/download.html");
return false;
=======
GUI.error("Error!", "youtube-dl does not exist in\n\t" + youtubedlpath + "\tor system %path%!", null);
if (GUI.confirm("youtube-dl does not exist!", "Move to download page of youtube-dl?")) Main.webBrowse("http://ytdl-org.github.io/youtube-dl/download.html");
Main.kill(1);
>>>>>>> 43f8e26edf60e24d08e06e9286e62e195063b3eb

}

Expand Down Expand Up @@ -127,9 +133,15 @@ public static boolean checkFfmpeg() {

} catch (Exception e) {

<<<<<<< HEAD
GUI.error("Error!", "ffmpeg does not exist in\n\t" + youtubedlpath + "\nor system %path%!", null);
if (GUI.confirm("Open link in browser?", "Move to download page of ffmpeg?")) Main.webBrowse("https://ffmpeg.org/download.html");
return false;
=======
GUI.error("Error!", "ffmpeg does not exist in\n\t" + youtubedlpath + "\tor system %path%!", null);
if (GUI.confirm("ffmpeg does not exist!", "Move to download page of ffmpeg?")) Main.webBrowse("https://ffmpeg.org/download.html");
Main.kill(1);
>>>>>>> 43f8e26edf60e24d08e06e9286e62e195063b3eb

}

Expand Down

0 comments on commit 7c0ad4f

Please sign in to comment.