Fixed some bugs in utility scripts

This commit is contained in:
Said Achmiz 2019-02-05 16:45:22 -05:00
parent f3eda034f2
commit 09720e8b14
2 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,8 @@
<?php
$root = preg_replace('/\/[^\/]+$/', '', dirname(__FILE__));
$directories = [
"./"
"{$root}/src/"
];
$files = [
"options.js",

View File

@ -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}`;