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
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(() => {