forked from rc/classroom
Bump versions, fix installers
This commit is contained in:
parent
fc56d17bb6
commit
e845b92ce0
24 changed files with 267 additions and 116 deletions
|
@ -1,7 +1,7 @@
|
|||
- name: Set Processing version
|
||||
set_fact:
|
||||
target_version: 4.4.4
|
||||
target_build: 1304
|
||||
target_version: 4.4.6
|
||||
target_build: 1306
|
||||
|
||||
- name: Check Processing install status
|
||||
win_stat:
|
||||
|
@ -22,20 +22,21 @@
|
|||
state: directory
|
||||
- name: Download Processing
|
||||
win_get_url:
|
||||
dest: 'C:\Program Files\Processing\processing.zip'
|
||||
url: https://github.com/processing/processing4/releases/download/processing-{{ target_build }}-{{ target_version }}/processing-{{ target_version }}-windows-x64.zip
|
||||
dest: 'C:\Program Files\processing.zip'
|
||||
url: https://github.com/processing/processing4/releases/download/processing-{{ target_build }}-{{ target_version }}/processing-{{ target_version }}-windows-x64-portable.zip
|
||||
- name: Unzip Processing
|
||||
win_unzip:
|
||||
dest: 'C:\Program Files\Processing'
|
||||
src: 'C:\Program Files\Processing\processing.zip'
|
||||
- name: Install Processing
|
||||
win_copy:
|
||||
dest: C:\Program Files\Processing\
|
||||
src: 'C:\Program Files\Processing\processing-{{ target_version }}\'
|
||||
remote_src: yes
|
||||
src: 'C:\Program Files\processing.zip'
|
||||
dest: 'C:\Program Files\'
|
||||
creates: 'C:\Program Files\Processing\Processing.exe'
|
||||
#- name: Install Processing
|
||||
# win_copy:
|
||||
# dest: C:\Program Files\Processing\
|
||||
# src: 'C:\Program Files\Processing\processing-{{ target_version }}\'
|
||||
# remote_src: yes
|
||||
- name: Disable telemetry
|
||||
win_lineinfile:
|
||||
path: C:\Program Files\Processing\lib\defaults.txt
|
||||
path: C:\Program Files\Processing\app\resources\lib\defaults.txt
|
||||
regexp: 'update.check'
|
||||
line: 'update.check = false'
|
||||
- name: Create Processing shortcut
|
||||
|
@ -44,8 +45,8 @@
|
|||
dest: "C:\\Users\\Public\\Desktop\\Processing.lnk"
|
||||
- name: Remove temporary files
|
||||
win_file:
|
||||
path: C:\Program Files\Processing\{{ item }}
|
||||
# path: C:\Program Files\Processing\{{ item }}
|
||||
path: C:\Program Files\processing.zip
|
||||
state: absent
|
||||
loop:
|
||||
- processing.zip
|
||||
- processing-{{ target_version }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue