mirror of
https://github.com/damp11113-software/ccIDE.git
synced 2025-04-27 22:48:13 +00:00
update something in 1.1.1
This commit is contained in:
parent
62d6a70841
commit
962ada36f0
@ -17,7 +17,9 @@ while true do
|
|||||||
file:write(filedata)
|
file:write(filedata)
|
||||||
file:close()
|
file:close()
|
||||||
elseif message == "runcode" then
|
elseif message == "runcode" then
|
||||||
shell.run("main")
|
id = multishell.launch({}, "main.lua")
|
||||||
|
multishell.setTitle(id, "Code")
|
||||||
|
multishell.setFocus(id)
|
||||||
elseif message == "exit" then
|
elseif message == "exit" then
|
||||||
print("Exiting...")
|
print("Exiting...")
|
||||||
break
|
break
|
20
readme.md
20
readme.md
@ -15,23 +15,25 @@ special thank for [this repo](https://github.com/Mirka1405/ccblockly)
|
|||||||
## Install Remote code into computercraft
|
## Install Remote code into computercraft
|
||||||
it very simple! to install Remote code.
|
it very simple! to install Remote code.
|
||||||
### Run from URL
|
### Run from URL
|
||||||
|
for advanced computer/pocket/turtle
|
||||||
|
```
|
||||||
|
wget run https://raw.githubusercontent.com/DPSoftware-Foundation/ccIDE/main/advremote.lua
|
||||||
|
```
|
||||||
|
for non advance computer/pocket/turtle
|
||||||
```
|
```
|
||||||
wget run https://raw.githubusercontent.com/DPSoftware-Foundation/ccIDE/main/remote.lua
|
wget run https://raw.githubusercontent.com/DPSoftware-Foundation/ccIDE/main/remote.lua
|
||||||
```
|
```
|
||||||
for turtle
|
|
||||||
```
|
|
||||||
wget run https://raw.githubusercontent.com/DPSoftware-Foundation/ccIDE/main/turtleremote.lua
|
|
||||||
```
|
|
||||||
### Download and Run
|
### Download and Run
|
||||||
|
for advanced computer/pocket/turtle
|
||||||
|
```
|
||||||
|
wget https://raw.githubusercontent.com/DPSoftware-Foundation/ccIDE/main/advremote.lua advremote.lua
|
||||||
|
advremote
|
||||||
|
```
|
||||||
|
for non advanced computer/pocket/turtle
|
||||||
```
|
```
|
||||||
wget https://raw.githubusercontent.com/DPSoftware-Foundation/ccIDE/main/remote.lua remote.lua
|
wget https://raw.githubusercontent.com/DPSoftware-Foundation/ccIDE/main/remote.lua remote.lua
|
||||||
remote
|
remote
|
||||||
```
|
```
|
||||||
for turtle
|
|
||||||
```
|
|
||||||
wget https://raw.githubusercontent.com/DPSoftware-Foundation/ccIDE/main/remote.lua turtleremote.lua
|
|
||||||
turtleremote
|
|
||||||
```
|
|
||||||
If error "Domain not permitted" try [this solution](https://github.com/cc-tweaked/CC-Tweaked/discussions/626#discussioncomment-241924).
|
If error "Domain not permitted" try [this solution](https://github.com/cc-tweaked/CC-Tweaked/discussions/626#discussioncomment-241924).
|
||||||
|
|
||||||
## official support peripherals
|
## official support peripherals
|
||||||
|
@ -17,9 +17,7 @@ while true do
|
|||||||
file:write(filedata)
|
file:write(filedata)
|
||||||
file:close()
|
file:close()
|
||||||
elseif message == "runcode" then
|
elseif message == "runcode" then
|
||||||
id = multishell.launch({}, "main.lua")
|
shell.run("main")
|
||||||
multishell.setTitle(id, "Code")
|
|
||||||
multishell.setFocus(id)
|
|
||||||
elseif message == "exit" then
|
elseif message == "exit" then
|
||||||
print("Exiting...")
|
print("Exiting...")
|
||||||
break
|
break
|
||||||
|
@ -12,7 +12,7 @@ const defineicon = {
|
|||||||
computer: {
|
computer: {
|
||||||
basic: path.join(__dirname, '..', 'assets', 'basic_computer.png'),
|
basic: path.join(__dirname, '..', 'assets', 'basic_computer.png'),
|
||||||
adv: path.join(__dirname, '..', 'assets', 'adv_computer.png'),
|
adv: path.join(__dirname, '..', 'assets', 'adv_computer.png'),
|
||||||
command: path.join(__dirname, '..', 'assets', 'command_computer.png'),
|
//command: path.join(__dirname, '..', 'assets', 'command_computer.png'), // new version not use it
|
||||||
pocket: path.join(__dirname, '..', 'assets', 'pocket_computer.png'),
|
pocket: path.join(__dirname, '..', 'assets', 'pocket_computer.png'),
|
||||||
advpocket: path.join(__dirname, '..', 'assets', 'adv_pocket_computer.png'),
|
advpocket: path.join(__dirname, '..', 'assets', 'adv_pocket_computer.png'),
|
||||||
turtle: path.join(__dirname, '..', 'assets', 'turtle.png'),
|
turtle: path.join(__dirname, '..', 'assets', 'turtle.png'),
|
||||||
@ -183,9 +183,9 @@ function scanindex() {
|
|||||||
if (jsonData.design_for_computer.adv) {
|
if (jsonData.design_for_computer.adv) {
|
||||||
addimageiconinfo(libraryDetails, defineicon.computer.adv, "Advanced Computer Supported");
|
addimageiconinfo(libraryDetails, defineicon.computer.adv, "Advanced Computer Supported");
|
||||||
}
|
}
|
||||||
if (jsonData.design_for_computer.command) {
|
//if (jsonData.design_for_computer.command) {
|
||||||
addimageiconinfo(libraryDetails, defineicon.computer.command, "Command Computer Supported");
|
// addimageiconinfo(libraryDetails, defineicon.computer.command, "Command Computer Supported");
|
||||||
}
|
//}
|
||||||
if (jsonData.design_for_computer.pocket) {
|
if (jsonData.design_for_computer.pocket) {
|
||||||
addimageiconinfo(libraryDetails, defineicon.computer.pocket, "Pocket Computer Supported");
|
addimageiconinfo(libraryDetails, defineicon.computer.pocket, "Pocket Computer Supported");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user