forked from PhoenicisOrg/scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.js
More file actions
49 lines (46 loc) · 1.75 KB
/
Copy pathscript.js
File metadata and controls
49 lines (46 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
include("engines.wine.quick_script.online_installer_script");
include("engines.wine.plugins.font_smoothing");
include("engines.wine.verbs.corefonts");
include("engines.wine.verbs.gdiplus");
include("engines.wine.verbs.vcrun2015");
include("engines.wine.verbs.msxml3");
include("engines.wine.verbs.msxml6");
include("engines.wine.verbs.atmlib");
include("engines.wine.verbs.adobeair");
include("utils.functions.net.download");
include("utils.functions.filesystem.extract");
include("utils.functions.filesystem.files");
new OnlineInstallerScript()
.name("Photoshop")
.editor("Adobe Inc.")
.applicationHomepage("https://www.adobe.com/")
.author("Jacob Hrbek")
.category("Graphics")
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
.preInstall(function (wine, wizard){
wine.corefonts();
wine.gdiplus();
wine.vcrun2015();
wine.atmlib();
wine.msxml3();
wine.msxml6();
wine.amtlib();
wine.adobeair();
wine.font_smoothing("RGB");
var zipLocation = wine.prefixDirectory() + "/drive_c/AdobePhotoshop20-mul_x64.zip";
new Downloader()
.wizard(wizard)
.url("http://prdl-download.adobe.com/Photoshop/55E8FC8663C847F08BFBCD8DFE336AE8/1546595903133/AdobePhotoshop20-mul_x64.zip")
.to(zipLocation)
.get();
})
.postInstall(function (wine, wizard){
new Extractor()
.wizard(wizard)
.archive(wine.prefixDirectory() + "/drive_c/AdobePhotoshop20-mul_x64.zip")
.to(wine.prefixDirectory() + "/drive_c/photoshopcc2019/")
.extract(["-F", "Set-up.exe"]);
wine.run(wine.prefixDirectory() + "/drive_c/photoshopcc2019/Set-up.exe");
wine.wait();
});