Simplify the launcher
This commit is contained in:
parent
b1b4cb1976
commit
01d95c61ea
2 changed files with 1 additions and 10 deletions
10
cura
10
cura
|
|
@ -1,15 +1,5 @@
|
|||
#!/usr/bin/python
|
||||
import os
|
||||
import sys
|
||||
import Cura.cura as cura
|
||||
|
||||
# Make all paths absolute, we are gonna change the pwd
|
||||
for i in range(len(sys.argv)):
|
||||
if os.path.exists(sys.argv[i]):
|
||||
sys.argv[i] = os.path.abspath(sys.argv[i])
|
||||
|
||||
# change the pwd
|
||||
os.chdir("/usr/lib/python2.7/site-packages/")
|
||||
|
||||
# start cura
|
||||
cura.main()
|
||||
|
|
|
|||
|
|
@ -121,6 +121,7 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
|
|||
%changelog
|
||||
* Wed Jul 08 2015 Miro Hrončok <mhroncok@redhat.com> - 15.02.1-4
|
||||
- No longer depend on pypy
|
||||
- Simplify the launcher
|
||||
|
||||
* Mon Jul 06 2015 Miro Hrončok <mhroncok@redhat.com> - 15.02.1-3
|
||||
- Patch for #1230281
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue