|
@@ -9,6 +9,7 @@
|
|
|
|
|
|
import os,sys,re
|
|
|
import argparse
|
|
|
+from fgh.utils.frozen_dir import get_app_path
|
|
|
|
|
|
class Client:
|
|
|
help_str ="""
|
|
@@ -32,7 +33,7 @@ fgh curl -O https://ghproxy.org/https://raw.githubusercontent.com/microsoft/vsco
|
|
|
|
|
|
def read_config(self):
|
|
|
import dotenv
|
|
|
- current_dir = os.getcwd()
|
|
|
+ current_dir = get_app_path()
|
|
|
dotenv.load_dotenv(os.path.join(current_dir, '.env'))
|
|
|
fgit_host = os.getenv('FGH_HOST')
|
|
|
try:
|