Remove auto-restart from upgrade command, bump to 1.1.1
ExecuteCommand('restart ...') was restarting the whole FXServer
process in this environment instead of just the resource, so
/oixbupgrade now only downloads files and tells the admin to
restart manually.
This commit is contained in:
parent
e50eb7e74c
commit
9cb715fc34
@ -3,7 +3,7 @@ game 'gta5'
|
|||||||
|
|
||||||
author 'SeuNome'
|
author 'SeuNome'
|
||||||
description 'Sistema de safes com ox_inventory e ox_target'
|
description 'Sistema de safes com ox_inventory e ox_target'
|
||||||
version '1.1.0'
|
version '1.1.1'
|
||||||
|
|
||||||
-- Dependências
|
-- Dependências
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@ -341,10 +341,9 @@ if Config.Debug and Config.Update then
|
|||||||
pending = pending - 1
|
pending = pending - 1
|
||||||
if pending == 0 then
|
if pending == 0 then
|
||||||
if failed then
|
if failed then
|
||||||
dbg('Upgrade incompleto — algum arquivo falhou. Resource NÃO foi reiniciado.')
|
dbg('Upgrade incompleto — algum arquivo falhou.')
|
||||||
else
|
else
|
||||||
dbg('Upgrade concluído. Reiniciando resource...')
|
dbg('Upgrade concluído. Reinicie manualmente quando quiser: restart '..resourceName)
|
||||||
ExecuteCommand('restart '..resourceName)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end, 'GET')
|
end, 'GET')
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"version": "1.1.0"
|
"version": "1.1.1"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user