diff --git a/states/androidstudio/defaults.yaml b/states/androidstudio/defaults.yaml index e10663c..70e8801 100644 --- a/states/androidstudio/defaults.yaml +++ b/states/androidstudio/defaults.yaml @@ -4,4 +4,5 @@ androidstudio: enabled: true install_dir: /usr/local/apps release_dir: /usr/local/apps/releases + version: 4.2.1.0 config: {} diff --git a/states/androidstudio/install.sls b/states/androidstudio/install.sls index 61a6b52..588b00e 100644 --- a/states/androidstudio/install.sls +++ b/states/androidstudio/install.sls @@ -2,7 +2,7 @@ {%- from "androidstudio/map.jinja" import androidstudio with context %} androidstudio-archive-extract: archive.extracted: - - name: {{ androidstudio.install_dir }} + - name: {{ androidstudio.release_dir }} - source: {{ androidstudio.mirror }}/{{ androidstudio.version }}/android-studio-ide-{{ androidstudio.tag }}-linux.tar.gz - skip_verify: true - archive_format: tar