mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-24 18:30:28 +00:00
no message
This commit is contained in:
parent
c115e2f985
commit
7f2fcba542
7
cmd
7
cmd
@ -117,13 +117,6 @@ run_electron() {
|
|||||||
mkdir -p ./electron/public
|
mkdir -p ./electron/public
|
||||||
cp ./electron/index.html ./electron/public/index.html
|
cp ./electron/index.html ./electron/public/index.html
|
||||||
#
|
#
|
||||||
if [ "$argv" == "dev" ]; then
|
|
||||||
run_exec php "php bin/run --mode=dev"
|
|
||||||
else
|
|
||||||
run_exec php "php bin/run --mode=prod"
|
|
||||||
fi
|
|
||||||
supervisorctl_restart php
|
|
||||||
#
|
|
||||||
if [ "$argv" != "dev" ] && [ "$argv" != "--nobuild" ]; then
|
if [ "$argv" != "dev" ] && [ "$argv" != "--nobuild" ]; then
|
||||||
npx mix --production -- --env --electron
|
npx mix --production -- --env --electron
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user