From 8dff887a4b6679e0b197dad7d443402074d8f698 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 18 Jul 2023 11:37:40 +0200 Subject: [PATCH] Update hackingtool.py --- hackingtool.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hackingtool.py b/hackingtool.py index 1e6da0b..4bd8729 100755 --- a/hackingtool.py +++ b/hackingtool.py @@ -74,7 +74,8 @@ class AllTools(HackingToolsCollection): if __name__ == "__main__": try: if system() == 'Linux': - fpath = "~/hackingtoolpath.txt" + # Testing platforms like GitHub Actions define a $CI environment variable + fpath = "/tmp/hackingtoolpath.txt" if os.getenv("CI") else "/home/hackingtoolpath.txt" if not os.path.exists(fpath): os.system('clear') # run.menu()