# HG changeset patch # User sugi # Date 1417944644 -32400 # Node ID e6e5b45c921d0de166505c970774add7aaf5eb26 # Parent aace9df1462e420708d707c25076c8a194af3d33 set manifest diff -r aace9df1462e -r e6e5b45c921d build.gradle --- a/build.gradle Thu Nov 13 16:09:09 2014 +0900 +++ b/build.gradle Sun Dec 07 18:30:44 2014 +0900 @@ -19,7 +19,10 @@ jar { manifest { - attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version + attributes 'Main-Class': 'jp.ac.u_ryukyu.alicevnc.StartAliceVNC', + 'Implementation-Version': "2.7.2", + 'Implementation-Title': 'TightVNC', + 'Implementation-Vendor': 'GlavSoft LLC.' } from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } archiveName = 'AliceVNC.jar' diff -r aace9df1462e -r e6e5b45c921d src/main/java/jp/ac/u_ryukyu/alicevnc/AliceVNCConfig.java --- a/src/main/java/jp/ac/u_ryukyu/alicevnc/AliceVNCConfig.java Thu Nov 13 16:09:09 2014 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/alicevnc/AliceVNCConfig.java Sun Dec 07 18:30:44 2014 +0900 @@ -4,36 +4,16 @@ public class AliceVNCConfig extends TopologyNodeConfig { - private boolean proxy; - private boolean viewer; private boolean change = true; - + public AliceVNCConfig(String[] args) { super(args); for (int i = 0; i< args.length; i++) { - if ("-proxy".equals(args[i])){ - // no display. behave as root - proxy = true; - viewer = false; - } else if ("-d".equals(args[i])) { - // behave as root with display. - proxy = true; - viewer = true; - } else if ("-c".equals(args[i])) { + if ("-c".equals(args[i])) { change = false; - } else { - viewer = true; } } } - - public boolean getViewerFlag(){ - return viewer; - } - - public boolean getProxyFlag(){ - return proxy; - } public boolean getAllowChange(){ return change; diff -r aace9df1462e -r e6e5b45c921d src/main/java/jp/ac/u_ryukyu/alicevnc/StartAliceVNC.java --- a/src/main/java/jp/ac/u_ryukyu/alicevnc/StartAliceVNC.java Thu Nov 13 16:09:09 2014 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/alicevnc/StartAliceVNC.java Sun Dec 07 18:30:44 2014 +0900 @@ -8,7 +8,7 @@ public static void main(String args[]){ AliceVNCConfig conf = new AliceVNCConfig(args); AliceVNC cs = new AliceVNC(conf); - if (conf.getManagerHostName() !=null){ + if (conf.getManagerHostName() !=null){ new TopologyNode(conf, cs); } else { cs.ods.put("_CLIST", new ArrayList());