Fixed some bugs in utility scripts
This commit is contained in:
parent
f3eda034f2
commit
09720e8b14
@ -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}`;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user