From aace29e1e14dd142a4a6806682c55f4bcdba81ba Mon Sep 17 00:00:00 2001 From: Mike Date: Wed, 17 May 2017 11:20:32 +0200 Subject: [PATCH] Chmod osx file as executable. (#1539) --- build-appveyor.cake | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/build-appveyor.cake b/build-appveyor.cake index b1dece053..935d157bc 100644 --- a/build-appveyor.cake +++ b/build-appveyor.cake @@ -170,6 +170,12 @@ Task("PackageOsx").Does(() => { // Adding Startup script CopyFile("./osx/Radarr", outputFolderOsx + "/Radarr"); + + // Chmod as executable + StartProcess(@"C:\cygwin64\bin\chmod.exe", new ProcessSettings() + .WithArguments(args => args + .Append("+x") + .Append(outputFolderOsx + "/Radarr"))); }); Task("PackageOsxApp").Does(() => { @@ -268,9 +274,9 @@ Task("ArtifactsWindows").Does(() => { Task("ArtifactsWindowsInstaller").Does(() => { InnoSetup("./setup/nzbdrone.iss", new InnoSetupSettings { - OutputDirectory = artifactsFolder, + OutputDirectory = artifactsFolder, ToolPath = "./setup/inno/ISCC.exe" - }); + }); }); Task("ArtifactsLinux").Does(() => {