Fixed some bugs in utility scripts
This commit is contained in:
parent
f3eda034f2
commit
09720e8b14
@ -1,7 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
$root = preg_replace('/\/[^\/]+$/', '', dirname(__FILE__));
|
||||||
$directories = [
|
$directories = [
|
||||||
"./"
|
"{$root}/src/"
|
||||||
];
|
];
|
||||||
$files = [
|
$files = [
|
||||||
"options.js",
|
"options.js",
|
||||||
|
|||||||
@ -15,6 +15,7 @@ foreach ($platforms as $platform) {
|
|||||||
|
|
||||||
$command = "cd {$root}/build/{$platform}; ";
|
$command = "cd {$root}/build/{$platform}; ";
|
||||||
$command .= "find . -type f -name '.DS_Store' -delete; ";
|
$command .= "find . -type f -name '.DS_Store' -delete; ";
|
||||||
|
$command .= "mkdir -p {$root}/release; ";
|
||||||
$command .= "tar czf {$root}/release/AlwaysKillSticky-{$platform}-{$version}.tar.gz *; ";
|
$command .= "tar czf {$root}/release/AlwaysKillSticky-{$platform}-{$version}.tar.gz *; ";
|
||||||
$command .= "zip -r -FS {$root}/release/AlwaysKillSticky-{$platform}-{$version}.zip *";
|
$command .= "zip -r -FS {$root}/release/AlwaysKillSticky-{$platform}-{$version}.zip *";
|
||||||
`{$command}`;
|
`{$command}`;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user