#1227: appWizard in windows should create also a .BAT extension, not only .sh
---------------------+------------------------------------------------------
Reporter: shula | Owner: somebody
Type: defect | Status: new
Priority: minor | Milestone: 0.9.2
Component: ui | Version: 0.9.1
Resolution: | Keywords: appwizard, windows
---------------------+------------------------------------------------------
Comment (by shula):
(sorry for the formatting; next time i'll preview)
{{{
current code:
f = open("./go.sh", "w")
f.write("# go.sh\n")
f.write("# launches the %s app.\n" % appName)
f.write("cd %s\n" % self.outputDirectory )
f.write("python %s.py %s\n" % (appName, tableName))
f.write("# python %s.py --OpenAll\n" % (appName) )
f.close()
suggested code:
filecont = "# go.sh\n"
filecont += "# launches the %s app.\n" % appName
filecont += "cd %s\n" % self.outputDirectory
filecont += "python %s.py %s\n" % (appName, tableName)
filecont += "# python %s.py --OpenAll\n" % (appName)
f = open("./go.sh", "w").write(filecont)
f = open("./go.bat", "w").write(filecont)
}}}
--
Ticket URL: <http://trac.dabodev.com/ticket/1227#comment:1>
Dabo Trac <http://trac.dabodev.com>
Trac Page for Dabo
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]