Skip to content

Commit e8f5741

Browse files
committed
v0.0.4
1 parent 0d876f8 commit e8f5741

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

build.gradle

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@ plugins {
55
}
66

77
group = 'me.kumo'
8-
version = '0.0.3'
9-
8+
version = '0.0.4'
9+
jar {
10+
manifest {
11+
attributes 'SplashScreen-Image': 'icons/aqua.png',
12+
'Implementation-Title': 'Pixiv Manager',
13+
'Implementation-Version': project.version
14+
}
15+
}
1016
application {
1117
mainClass = 'me.kumo.PixivManager'
1218
}

res/icons/aqua.png

30.7 KB
Loading

src/me/kumo/PixivMenu.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ public PixivMenu(PixivManager manager) {
1515
add(new JMenuItem("Pixiv Token") {{
1616
addActionListener(e -> manager.askForToken(true));
1717
}});
18+
add(new JMenuItem("Gallery Path") {{
19+
addActionListener(e -> {
20+
String path = JOptionPane.showInputDialog(this, "Gallery Path", LocalGallery.PATH);
21+
if (path != null) {
22+
LocalGallery.setPath(path);
23+
PixivManager.preferences.put(PixivManager.GALLERY_PATH, path);
24+
}
25+
});
26+
}});
1827
add(new JCheckBoxMenuItem("Socks Proxy") {{
1928
setSelected(PixivManager.getProxy() != null);
2029
addActionListener(e -> {

src/me/kumo/Version.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ public static Release[] getReleases() throws IOException {
101101

102102
private static void notifyLatest(Release latest) {
103103
Version version = new Version(latest.tag_name);
104+
System.out.printf("\tCurrent version = %s%n", CURRENT);
104105
System.out.printf("\tLatest version = %s%n", version);
105106
int compare = CURRENT.compareTo(version);
106107
if (compare == 0) System.out.printf("\tCurrent version %s is latest!%n", CURRENT);

0 commit comments

Comments
 (0)