From 66972a541c2121026662a9b4d230bd7b1251e679 Mon Sep 17 00:00:00 2001 From: Anatoly Kopyl Date: Thu, 9 Apr 2020 00:17:08 +0300 Subject: [PATCH] Fixed image path issue --- start.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/start.lua b/start.lua index b343621..1511eab 100755 --- a/start.lua +++ b/start.lua @@ -1,6 +1,7 @@ #!/usr/local/bin/lua fl = require('moonfltk') +lfs = require('lfs') function to_pc(button) print(button:label()) @@ -27,7 +28,7 @@ end selected_device = '' selected_path = '' -my_dir = os.getenv('PWD') +my_dir = lfs.currentdir() local_dir = '/home/victoria/.config/StardewValley/Saves' mount_point = '/run/user/1000/gvfs' handle = io.popen('ls '..mount_point)