Merge branch 'main' of https://git.lurenaud.com/lurenaud/SldwrksExporter
This commit is contained in:
commit
d4e8c53035
6
gui.py
6
gui.py
@ -5,7 +5,7 @@ import sys, os
|
||||
if len(sys.argv) > 1:
|
||||
cmd = "python scripts/run.py " + str(sys.argv[1] )
|
||||
print(cmd)
|
||||
p = subprocess.Popen(cmd, shell=True)
|
||||
p = subprocess.run(cmd, shell=True)
|
||||
else:
|
||||
fname = sg.Window('Files exporter',
|
||||
[[sg.Text('Folder to export')],
|
||||
@ -20,4 +20,6 @@ else:
|
||||
print(fname)
|
||||
cmd = "python scripts/run.py " + str(fname)
|
||||
print(cmd)
|
||||
p = subprocess.Popen(cmd, shell=True)
|
||||
p = subprocess.run(cmd, shell=True)
|
||||
|
||||
print("Done")
|
@ -1,4 +1,3 @@
|
||||
python -m venv .venv
|
||||
.\.venv\Scripts\activate
|
||||
pip install -r .\requirements.txt
|
||||
python .\gui.py
|
||||
pip install -r .\requirements.txt
|
Loading…
Reference in New Issue
Block a user