Skip to content
Snippets Groups Projects

Look for runtimes in PRESSURE_VESSEL_VARIABLE_DIR

Merged Simon McVittie requested to merge wip/var into master
1 file
+ 5
2
Compare changes
  • Side-by-side
  • Inline
@@ -172,13 +172,16 @@ class Gui:
if var_path is None:
value = False
var_path = os.getenv('PRESSURE_VESSEL_VARIABLE_DIR', None)
else:
value = True
if var_path is None:
var_path = os.getenv(
'PRESSURE_VESSEL_RUNTIME_BASE',
os.path.dirname(__file__) + '/../..',
) + '/var'
assert var_path is not None
else:
value = True
self.var_path = os.path.realpath(var_path)
self.copy_runtime_into_check = Gtk.CheckButton.new_with_label(
Loading