Skip to content

Commit

Permalink
bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
wishrohitv committed May 3, 2024
1 parent bd72820 commit 6aa848b
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 7 deletions.
1 change: 0 additions & 1 deletion actions/explorer_managment.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def create_file_tree(folder_path):
return file_tree


# folder_path = "./dummy_files"
if platform == "win":
# folder_path = "C:\\Users\\user\\CatxCode-ide"
folder_path = storage_path
Expand Down
2 changes: 1 addition & 1 deletion app_storage_implement/app_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
__all__ = ("storage_path",)

if platform == "win":
storage_path = "./dummy_files"
storage_path = "ide-workspace"
else:
from android.storage import app_storage_path
from android import mActivity
Expand Down
2 changes: 1 addition & 1 deletion components/sidemenu/side_menu.kv
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

Widget:
size_hint_y: None
height: f"{Window.height-260}dp" if Window.height - 260 >= 8 else 0
height: f"{Window.height-260}dp" if Window.height - 260 > 8 else 0
LeftTabs:
state: "down"
source: "./assets/navigations/terminal-white.jpg" if self.state == "normal" else "assets/navigations/terminal-pink.jpg"
Expand Down
2 changes: 1 addition & 1 deletion components/sidemenu/side_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def __init__(self, **kwargs):
# self.root_options=dict(text='Tree One')
self.is_loaded = True
self.indent_level = 18
folder_path = "./dummy_files"
folder_path = "./ide-workspace"
self.hide_root = True

threading.Thread(target=self.file_to_json, args=[]).start()
Expand Down
2 changes: 0 additions & 2 deletions dummy_files/app.py

This file was deleted.

9 changes: 9 additions & 0 deletions ide-workspace/app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#global m
m = 10

def h():
s = 8
print(s)
print(m)

h()
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added ide-workspace/leika/main.c
Empty file.
Empty file added ide-workspace/main.java
Empty file.
File renamed without changes.
2 changes: 1 addition & 1 deletion tree.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name": "dummy_files", "type": "folder", "source_path": "./dummy_files", "children": [{"name": "app.py", "type": "file", "children": [], "source_path": "./dummy_files\\app.py"}, {"name": "code.js", "type": "file", "children": [], "source_path": "./dummy_files\\code.js"}, {"name": "hii", "type": "file", "children": [], "source_path": "./dummy_files\\hii"}, {"name": "joker", "type": "folder", "source_path": "./dummy_files\\joker", "children": [{"name": "joker.asm", "type": "file", "children": [], "source_path": "./dummy_files\\joker\\joker.asm"}]}, {"name": "leika", "type": "folder", "source_path": "./dummy_files\\leika", "children": [{"name": "main.c", "type": "file", "children": [], "source_path": "./dummy_files\\leika\\main.c"}]}, {"name": "main.java", "type": "file", "children": [], "source_path": "./dummy_files\\main.java"}, {"name": "node.js", "type": "file", "children": [], "source_path": "./dummy_files\\node.js"}]}
{"name": "ide-workspace", "type": "folder", "source_path": "ide-workspace", "children": [{"name": "app.py", "type": "file", "children": [], "source_path": "ide-workspace\\app.py"}, {"name": "code.js", "type": "file", "children": [], "source_path": "ide-workspace\\code.js"}, {"name": "hii", "type": "file", "children": [], "source_path": "ide-workspace\\hii"}, {"name": "joker", "type": "folder", "source_path": "ide-workspace\\joker", "children": [{"name": "joker.asm", "type": "file", "children": [], "source_path": "ide-workspace\\joker\\joker.asm"}]}, {"name": "leika", "type": "folder", "source_path": "ide-workspace\\leika", "children": [{"name": "main.c", "type": "file", "children": [], "source_path": "ide-workspace\\leika\\main.c"}]}, {"name": "main.java", "type": "file", "children": [], "source_path": "ide-workspace\\main.java"}, {"name": "node.js", "type": "file", "children": [], "source_path": "ide-workspace\\node.js"}]}

0 comments on commit 6aa848b

Please sign in to comment.