From f5f9d7712323756e6f94b8ee1d1c9f0c8f0be57b Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Tue, 1 Aug 2023 22:37:03 -0700 Subject: full vsce publish workflow --- continuedev/src/continuedev/libs/util/paths.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'continuedev') diff --git a/continuedev/src/continuedev/libs/util/paths.py b/continuedev/src/continuedev/libs/util/paths.py index a033d6dd..6385dc6f 100644 --- a/continuedev/src/continuedev/libs/util/paths.py +++ b/continuedev/src/continuedev/libs/util/paths.py @@ -4,15 +4,8 @@ from ..constants.main import CONTINUE_SESSIONS_FOLDER, CONTINUE_GLOBAL_FOLDER, C def find_data_file(filename): - if getattr(sys, 'frozen', False): - # The application is frozen - datadir = os.path.dirname(sys.executable) - else: - # The application is not frozen - # Change this bit to match where you store your data files: - datadir = os.path.dirname(__file__) - - return os.path.join(datadir, filename) + datadir = os.path.dirname(__file__) + return os.path.abspath(os.path.join(datadir, filename)) def getGlobalFolderPath(): -- cgit v1.2.3-70-g09d2