Skip to content

Commit

Permalink
code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Seil0 committed Apr 15, 2017
1 parent cccbca0 commit d8383b9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 33 deletions.
Binary file modified bin/application/DBController.class
Binary file not shown.
Binary file modified bin/application/Main.class
Binary file not shown.
34 changes: 1 addition & 33 deletions src/application/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* MA 02110-1301, USA.
*
*/

package application;

import java.io.File;
Expand Down Expand Up @@ -112,39 +113,6 @@ private void mainWindow(){
if(!posterCache.exists()) {
posterCache.mkdir();
}
//TODO remove when tested under Linux
// if(System.getProperty("os.name").equals("Linux")){
// if(dirLinux.exists() != true){
// dirLinux.mkdir();
// }else if(fileLinux.exists() != true) {
// mainWindowController.setPath(firstStart());
// mainWindowController.setStreamingPath(streamingPathLinux);
// mainWindowController.setColor(COLOR);
// mainWindowController.setSize(FONT_SIZE);
// mainWindowController.setAutoUpdate(AUTO_UPDATE);
// mainWindowController.setLocal(local);
// mainWindowController.setMode(mode);
// mainWindowController.saveSettings();
// Runtime.getRuntime().exec("java -jar ProjectHomeFlix.jar"); //start again (preventing Bugs)
// System.exit(0); //finishes itself
// }
// //windows
// }else{
// if(dirWin.exists() != true){
// dirWin.mkdir();
// }else if(fileWin.exists() != true){
// mainWindowController.setPath(firstStart());
// mainWindowController.setStreamingPath(streamingPathWin);
// mainWindowController.setColor(COLOR);
// mainWindowController.setSize(FONT_SIZE);
// mainWindowController.setAutoUpdate(AUTO_UPDATE);
// mainWindowController.setLocal(local);
// mainWindowController.setMode(mode);
// mainWindowController.saveSettings();
// Runtime.getRuntime().exec("java -jar ProjectHomeFlix.jar"); //start again (preventing Bugs)
// System.exit(0); //finishes itself
// }
// }

mainWindowController.loadSettings();
mainWindowController.loadStreamingSettings();
Expand Down

0 comments on commit d8383b9

Please sign in to comment.