Skip to content

Commit

Permalink
minor: G.ENABLE_LOG influences the message box text on successful ins…
Browse files Browse the repository at this point in the history
…tallation
  • Loading branch information
michalfapso committed Sep 22, 2016
1 parent ebbf8d1 commit f9b7079
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Example/installer.jsx
Expand Up @@ -547,7 +547,7 @@ PSInstaller = (function() {
};

PSInstaller.prototype.wrapUp = function() {
alert("Complete!\nAn installation LOG file has been created in:\n" + G.LOG_FILE);
alert("Complete!" + (G.ENABLE_LOG ? "\nAn installation LOG file has been created in:\n#{G.LOG_FILE}" : ""));
alert("Restart Photoshop\nYou must restart the application in orded to use " + G.PRODUCT_NAME + ", thank you!");
if (G.README) {
return (File(G.CURRENT_PATH + "/" + G.README)).execute();
Expand Down
2 changes: 1 addition & 1 deletion PS-Installer.coffee
Expand Up @@ -439,7 +439,7 @@ class PSInstaller
PSU.log "\nEnded copying files for #{product}."

wrapUp: () ->
alert "Complete!\nAn installation LOG file has been created in:\n#{G.LOG_FILE}"
alert "Complete!" + (G.ENABLE_LOG ? "\nAn installation LOG file has been created in:\n#{G.LOG_FILE}" : "")
alert "Restart Photoshop\nYou must restart the application in orded to use #{G.PRODUCT_NAME}, thank you!"
if G.README then (File "#{G.CURRENT_PATH}/#{G.README}").execute()

Expand Down
2 changes: 1 addition & 1 deletion PS-Installer.js
Expand Up @@ -422,7 +422,7 @@ PSInstaller = (function() {
};

PSInstaller.prototype.wrapUp = function() {
alert("Complete!\nAn installation LOG file has been created in:\n" + G.LOG_FILE);
alert("Complete!" + (G.ENABLE_LOG ? "\nAn installation LOG file has been created in:\n#{G.LOG_FILE}" : ""));
alert("Restart Photoshop\nYou must restart the application in orded to use " + G.PRODUCT_NAME + ", thank you!");
if (G.README) {
return (File(G.CURRENT_PATH + "/" + G.README)).execute();
Expand Down

0 comments on commit f9b7079

Please sign in to comment.