Skip to content

Commit

Permalink
I deleted that testing part thing which made the installer stop worki…
Browse files Browse the repository at this point in the history
…ng after 2023... Yeah I know that was not supposed to be here 😓
  • Loading branch information
nullTheCoder committed Sep 4, 2022
1 parent f8357dd commit 0cd56c5
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/main/java/com/voicesofwynn/installer/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ public static void main(String[] args) {

JFrame jFrame = new JFrame("Voices Of Wynn Installer");

// killswitch of the Alpha version
int year = Calendar.getInstance().get(Calendar.YEAR);
if (year > 2022) {
System.out.println("2022 has passed and this installer jar is now dead.");
JFrame f = new JFrame();
JOptionPane.showMessageDialog(f, "This installer jar does not work anymore. Please update.");
return;
}

try {
Image img = ImageIO.read(Main.class.getResource("/wynnvplogo.png"));
Expand Down Expand Up @@ -89,7 +81,7 @@ public static void main(String[] args) {

// note label
JLabel downloadToRecommendationLabel = new JLabel("<html>If you already have a Voices of Wynn jar downloaded, please choose it, because it will profusely speed up your download!</html>");
downloadToRecommendationLabel.setHorizontalAlignment(SwingConstants.HORIZONTAL);
downloadToRecommendationLabel.setHorizontalAlignment(SwingConstants.CENTER);
downloadToRecommendationLabel.setMaximumSize(new Dimension(430, 50));

path.addActionListener(e -> {
Expand Down

0 comments on commit 0cd56c5

Please sign in to comment.