Skip to content

Commit

Permalink
Moved Java Path to env file
Browse files Browse the repository at this point in the history
  • Loading branch information
Laky-64 committed Mar 14, 2023
1 parent cd5b48c commit 60cf04d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion consts/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 2 additions & 0 deletions consts/load_env.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ var (
SshPassword string
SshFolderOutput string
PublisherToken string
JavaPath string
)

func LoadEnv() {
Expand All @@ -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")
}

0 comments on commit 60cf04d

Please sign in to comment.