Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
4d82e31d40 | |||
c913e19ccf |
@@ -91,6 +91,7 @@ def file_write_data(path, data, only_if_new=False):
|
|||||||
if old_data == data:
|
if old_data == data:
|
||||||
return
|
return
|
||||||
#real write of data:
|
#real write of data:
|
||||||
|
create_directory_of_file(path)
|
||||||
file = open(path, "w")
|
file = open(path, "w")
|
||||||
file.write(data)
|
file.write(data)
|
||||||
file.close()
|
file.close()
|
||||||
|
@@ -110,7 +110,6 @@ class Target(target.Target):
|
|||||||
data_file = "#!/bin/bash\n"
|
data_file = "#!/bin/bash\n"
|
||||||
data_file += "# Simply open the real application in the correct way (a link does not work ...)\n"
|
data_file += "# Simply open the real application in the correct way (a link does not work ...)\n"
|
||||||
data_file += "/Applications/" + pkg_name + ".app/Contents/MacOS/" + pkg_name + " $*\n"
|
data_file += "/Applications/" + pkg_name + ".app/Contents/MacOS/" + pkg_name + " $*\n"
|
||||||
#tmpFile.write("open -n /Applications/edn.app --args -AppCommandLineArg $*\n")
|
|
||||||
tools.file_write_data(os.path.join(target_outpath, "shell", pkg_name),
|
tools.file_write_data(os.path.join(target_outpath, "shell", pkg_name),
|
||||||
data_file,
|
data_file,
|
||||||
only_if_new=True)
|
only_if_new=True)
|
||||||
|
2
setup.py
2
setup.py
@@ -7,7 +7,7 @@ def readme():
|
|||||||
|
|
||||||
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
||||||
setup(name='lutin',
|
setup(name='lutin',
|
||||||
version='0.7.4',
|
version='0.7.5',
|
||||||
description='Lutin generic builder',
|
description='Lutin generic builder',
|
||||||
long_description=readme(),
|
long_description=readme(),
|
||||||
url='http://github.com/HeeroYui/lutin',
|
url='http://github.com/HeeroYui/lutin',
|
||||||
|
Reference in New Issue
Block a user