Skip to content
Closed
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions Applications/Graphics/Photoshop/Online/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,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();
});
14 changes: 14 additions & 0 deletions Applications/Graphics/Photoshop/Online/script.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"scriptName" : "Online",
"id" : "applications.graphics.photoshop.online",
"compatibleOperatingSystems" : [
"MACOSX",
"LINUX"
],
"testingOperatingSystems" : [
"MACOSX",
"LINUX"
],
"free" : false,
"requiresPatch" : false
}
5 changes: 5 additions & 0 deletions Applications/Graphics/Photoshop/application.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name" : "Photoshop",
"id" : "applications.graphics.photoshop",
"description" : "Adobe Photoshop is a raster graphics editor developed and published by Adobe Systems for macOS and Windows"
}