Chmod osx file as executable. (#1539)

This commit is contained in:
Mike 2017-05-17 11:20:32 +02:00 committed by GitHub
parent 8fb257d5b7
commit aace29e1e1
1 changed files with 8 additions and 2 deletions

View File

@ -170,6 +170,12 @@ Task("PackageOsx").Does(() => {
// Adding Startup script // Adding Startup script
CopyFile("./osx/Radarr", outputFolderOsx + "/Radarr"); 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(() => { Task("PackageOsxApp").Does(() => {