diff --git a/.idea/artifacts/Symantec.xml b/.idea/artifacts/Symantec.xml index 83236ae..72724ce 100644 --- a/.idea/artifacts/Symantec.xml +++ b/.idea/artifacts/Symantec.xml @@ -6,7 +6,9 @@ - + + + \ No newline at end of file diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..3512581 --- /dev/null +++ b/build.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +mkdir -p out/production/Symantec out/artifacts/Symantec +javac -d out/production/Symantec src/Symantec.java +jar cvfm out/artifacts/Symantec/Symantec.jar META-INF/MANIFEST.MF -C out/production/Symantec Symantec.class res/* diff --git a/src/Symantec.java b/src/Symantec.java index 794b2e0..41be3e5 100644 --- a/src/Symantec.java +++ b/src/Symantec.java @@ -10,7 +10,7 @@ public class Symantec { private void load() { try { - BufferedImage img = ImageIO.read(getClass().getResourceAsStream("Capture.PNG")); + BufferedImage img = ImageIO.read(getClass().getResourceAsStream("res/Capture.PNG")); TrayIcon trayIcon = new TrayIcon(img, "Symantec"); SystemTray tray = SystemTray.getSystemTray(); tray.add(trayIcon);