Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengSun committed Jun 10, 2023
1 parent 57e5d9f commit 2d4e07d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions pygeoweaver/jdk_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ def install_jdk_linux(jdk_version, jdk_arch):
jdk_install_dir = os.path.expanduser('~/jdk')

# Download JDK archive
download_file(jdk_url, 'jdk.tar.gz')
download_file(jdk_url, f'{get_home_dir()}/jdk.tar.gz')

# Extract JDK archive
extract_tar_archive('jdk.tar.gz', jdk_install_dir)
extract_tar_archive(f'{get_home_dir()}/jdk.tar.gz', jdk_install_dir)

# Set JDK environment variables
set_jdk_env_vars(f'{jdk_install_dir}/jdk-{jdk_version.replace("-", "+")}')
Expand All @@ -76,10 +76,10 @@ def install_jdk_windows(jdk_version, jdk_arch):
jdk_install_dir = os.path.expanduser('~/jdk')

# Download JDK archive
download_file(jdk_url, 'jdk.zip')
download_file(jdk_url, f'{get_home_dir()}/jdk.zip')

# Extract JDK archive
extract_zip_archive('jdk.zip', jdk_install_dir)
extract_zip_archive(f'{get_home_dir()}/jdk.zip', jdk_install_dir)

# Set JDK environment variables
set_jdk_env_vars(f'{jdk_install_dir}/jdk-{jdk_version.replace("-", "+")}')
Expand Down
2 changes: 1 addition & 1 deletion pygeoweaver/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ echo "Stop running Geoweaver if any.."
pkill -f geoweaver.jar

echo "Check Java.."
source ~/.bashrc
touch ~/.bashrc && source ~/.bashrc

echo "Start Geoweaver.."
nohup java -jar ~/geoweaver.jar > ~/geoweaver.log &
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pygeoweaver"
version = "0.6.14"
version = "0.6.15"
authors = [
{ name="Geoweaver team", email="[email protected]" },
]
Expand All @@ -22,7 +22,7 @@ classifiers = [

[tool.poetry]
name = "pygeoweaver"
version = "0.6.14"
version = "0.6.15"
description = "This is a wrapper package of the Geoweaver app."
authors = ["Geoweaver team <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 2d4e07d

Please sign in to comment.