95 |
95 |
96 @param dname name of the directory to place the wrapper into |
96 @param dname name of the directory to place the wrapper into |
97 @param wfile basename (without extension) of the wrapper script |
97 @param wfile basename (without extension) of the wrapper script |
98 @return the names of the wrapper scripts |
98 @return the names of the wrapper scripts |
99 """ |
99 """ |
100 if sys.platform.startswith(("win", "cygwin")): |
100 wnames = ( |
101 wnames = (dname + "\\" + wfile + ".cmd", |
101 (dname + "\\" + wfile + ".cmd", dname + "\\" + wfile + ".bat") |
102 dname + "\\" + wfile + ".bat") |
102 if sys.platform.startswith(("win", "cygwin")) else |
103 else: |
103 (dname + "/" + wfile, ) |
104 wnames = (dname + "/" + wfile, ) |
104 ) |
105 |
105 |
106 return wnames |
106 return wnames |
107 |
107 |
108 |
108 |
109 def uninstallEric(): |
109 def uninstallEric(): |