diff --git a/consts/consts.go b/consts/consts.go index a10f449..2a85f5a 100644 --- a/consts/consts.go +++ b/consts/consts.go @@ -3,4 +3,3 @@ package consts const ProjectPath = "C:/Users/iraci/StudioProjects/OwlGram" const BuildOutputsPath = ProjectPath + "/TMessagesProj_App/build/outputs" const ApiNotifyUrl = "https://app.owlgram.org/notify_upload" -const JavaPath = "C:/Program Files/Android/Android Studio/jbr" diff --git a/consts/load_env.go b/consts/load_env.go index 4df58f5..e24e9ad 100644 --- a/consts/load_env.go +++ b/consts/load_env.go @@ -16,6 +16,7 @@ var ( SshPassword string SshFolderOutput string PublisherToken string + JavaPath string ) func LoadEnv() { @@ -31,4 +32,5 @@ func LoadEnv() { SshUser = os.Getenv("SSH_USER") SshPassword = os.Getenv("SSH_PASSWORD") SshFolderOutput = os.Getenv("SSH_FOLDER_OUTPUT") + JavaPath = os.Getenv("JAVA_PATH") }