Skip to content
This repository was archived by the owner on May 5, 2024. It is now read-only.

Commit be09aed

Browse files
authored
Merge pull request #41 from h4rldev/h4rl-patch-1
Clean up repo kind of?
2 parents 7d253da + 724b2de commit be09aed

29 files changed

+32
-347
lines changed

addons/Notepad.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
#-----------------------------------------#
77
#this notepad applacation was made by six519
88
# https://github.com/six519/Python-Notepad
9-
# this program plugin change applys the origonal creators repos licence.md file
10-
# any addons added to PythonicOS shall make PythonicOS free and open source
11-
#
9+
# This program plugin change applies the original creators repos license.md file
10+
# Any addons added to PythonicOS shall make PythonicOS free and open source
11+
# Great that you actually credited the original creator on this one :) -h4rl
1212
#
1313
#-----------------------------------------#
1414

-3.57 KB
Binary file not shown.
-8.17 KB
Binary file not shown.
-5.49 KB
Binary file not shown.

addons/procsss.py

Whitespace-only changes.

addons/tkinter-calc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import tkinter as tk
22
#-----------------------------------------#
3-
#this notepad applacation was made by six519
4-
# https://github.com/six519/Python-Notepad
5-
# this program plugin change applys the origonal creators repos licence.md file
6-
# any addons added to desktopy shall make desktopy free and open source
73
#
4+
#
5+
# Who made this? - H4rl
6+
#
7+
#
88
#
99
#-----------------------------------------#
1010

config.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ option2 = Value2
66
option3 = Value3
77
option4 = Value4
88

9+
# If you want a good way to configure, use .conf, yaml, json or toml. Thx -h4rl

home/midiplayer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import pygame
2-
2+
# Won't this show the annoying pygame prompt though?
33
def play_music(music_file):
44
"""
55
stream music with mixer.music module in blocking manner

homme/main.py

Lines changed: 0 additions & 69 deletions
This file was deleted.

main.spec

Lines changed: 0 additions & 50 deletions
This file was deleted.

python.spec

Lines changed: 0 additions & 50 deletions
This file was deleted.

python/PythonicOS.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,7 @@ def load_files(home_dir):
149149
grid_column = 0
150150
grid_row += 1
151151

152-
def open_file_with_path(path):
153-
open_file(path)
154-
155-
label.bind("<Button-1>", lambda event, path=file_path: open_file_with_path(path))
152+
label.bind("<Button-1>", lambda event, path=file_path: open_file(path))
156153
label.bind("<Button-3>", lambda event, path=file_path: show_files_context_menu(event))
157154
label.grid(row=grid_row, column=grid_column, padx=10, pady=10, sticky='w')
158155

-4.36 KB
Binary file not shown.

python/bluescreen.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import tkinter as tk
22
import tkinter.font as tkFont
3-
error =
3+
error = ""
4+
5+
# How is this supposed to work?
46
class App:
57
def __init__(self, root):
68
#setting title

python/file.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
home_dir = os.path.join(os.path.dirname(__file__), 'home')
66
pythonOS = os.path.join(os.path.dirname(__file__), 'home')
77

8+
# You should really structure this better and using python for this type of project isn't wise
9+
810
panno = 'addons/panno.py'
911
pyle = 'addons/pyle.py'
1012
addons = 'addons'

python/fileloop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import curses
2-
2+
# ??
33
def draw_desktop(stdscr):
44
stdscr.clear()
55
stdscr.addstr(0, 0, "Desktop")

python/loginscreen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# loginscreen.py
2+
# seems unsafe - h4rl
23
import subprocess
34
import tkinter as tk
45
import configparser
56
import os
67
import argparse
78
import configparser
8-
import file
99
from file import usrpass,config_login,shell
1010
root = tk.Tk()
1111

python/main.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ def startSH():
3232
print_slow('## ## ## ## ## ####### ## ## #### ###### ####### ###### ')
3333
print_slow('*******************************************************************************************************')
3434
print_slow('-------------------------------------------PythonicOS--------------------------------------------------')
35-
print_slow('-------------------------------------------version 1.0-------------------------------------------------')
36-
print_slow('-----------------------copywrite 2023 OpenStudio and the amazing github suporters----------------------')
37-
print_slow('------------------welcome to the interactive start wizard for Windows, MacOS and Linux.----------------')
35+
print_slow('---------------------------------------------v 0.1-----------------------------------------------------')
36+
print_slow('------------------Copyright 2023 OpenStudio and our github supporters and collaborators----------------')
37+
print_slow('------------------Welcome to the interactive start wizard for Windows, MacOS and Linux.----------------')
3838
print_slow('-------------------------------------------------------------------------------------------------------')
39-
print_slow('-------------------this wizard will allow you to navagate PythonicOS and its features!-----------------')
40-
print_slow('---------------using the helpfull commands listed below you can nvagate around the shell!--------------')
39+
print_slow('-------------------This wizard will allow you to navagate PythonicOS and its features!-----------------')
40+
print_slow('----------------using the helpful commands listed below you can navigate around the shell!-------------')
4141
print_slow('-------------------------------------------------------------------------------------------------------')
4242
print_slow('-------------------------------------------------------------------------------------------------------')
4343
print_slow('-------------------------------------------------------------------------------------------------------')

python/main.spec

Lines changed: 0 additions & 50 deletions
This file was deleted.

python/mp3/fearofdark1.mp3

-3.9 MB
Binary file not shown.

python/mp3/start1.mp3

-93.9 KB
Binary file not shown.

python/mp3/what.mp3

-93.9 KB
Binary file not shown.

python/registry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
config.set('Section2', 'Option3', 'Value3')
1111
config.set('Section2', 'Option4', 'Value4')
1212

13+
# INI is not really recommended for configuration
1314
with open('config.ini', 'w') as configfile:
1415
config.write(configfile)
1516
print('File created')

python/setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import os
2-
import sys
3-
import datetime
42

53
DIRS = [
64
'home',
@@ -16,7 +14,7 @@
1614
'system/logs'
1715
'mount'
1816
]
19-
17+
# Why are there different files that create directories?
2018
def main():
2119
for i in DIRS:
2220
if not os.path.exists(i):

0 commit comments

Comments
 (0)