| @@ -1,7 +1,8 @@ | |||
| <?php | |||
| $root = preg_replace('/\/[^\/]+$/', '', dirname(__FILE__)); | |||
| $directories = [ | |||
| "./" | |||
| "{$root}/src/" | |||
| ]; | |||
| $files = [ | |||
| "options.js", | |||
| @@ -15,6 +15,7 @@ foreach ($platforms as $platform) { | |||
| $command = "cd {$root}/build/{$platform}; "; | |||
| $command .= "find . -type f -name '.DS_Store' -delete; "; | |||
| $command .= "mkdir -p {$root}/release; "; | |||
| $command .= "tar czf {$root}/release/AlwaysKillSticky-{$platform}-{$version}.tar.gz *; "; | |||
| $command .= "zip -r -FS {$root}/release/AlwaysKillSticky-{$platform}-{$version}.zip *"; | |||
| `{$command}`; | |||