feat: add startup.lua to automatically start the mining process

This commit is contained in:
Guillaume ARM 2024-05-11 22:42:57 +02:00
parent 84e497300e
commit 7a7542e851
3 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# Installation # Installation
``` ```
wget run https://git.trapcloud.fr/guillaumearm/minecraft-cc-tools/raw/branch/master/install.lua wget https://git.trapcloud.fr/guillaumearm/minecraft-cc-tools/raw/branch/master/install.lua
install
``` ```

View File

@ -5,6 +5,7 @@ local LIST_FILES = {
}; };
local LIST_CONFIG_FILES = { local LIST_CONFIG_FILES = {
'startup.lua',
'config-miner.lua' 'config-miner.lua'
} }

1
startup.lua Normal file
View File

@ -0,0 +1 @@
shell.execute('/miner.lua')