Skip to content

Commit befc074

Browse files
authored
1.0
First official release.
1 parent 4a7cd81 commit befc074

File tree

5 files changed

+39
-5
lines changed

5 files changed

+39
-5
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,25 @@
11
# ACOS
22
Yet another iteration of the ACOS Operating System, this time software-based with Python !
3+
4+
## Install
5+
Simply download the latest release from the releases tab [\(at this link\)](https://github.com/megat69/ACOS/releases/latest).
6+
7+
You will need Python installed in order for it to work.
8+
9+
The supported Python versions are 3.7+, but 3.6 should work as well.<br/>
10+
*Notice that some apps in the ACOS might require higher versions of Python, so you should have the latest version installed.*
11+
12+
Before launching the program for the first time, you should launch the `setup.py` script, which will install all the dependencies.
13+
14+
After the setup is complete, and like every time you'll want to launch the ACOS, you can run the `boot.py` script.
15+
16+
## Create, publish, and download apps
17+
Everything is explained in [this repository.](https://github.com/megat69/ACOS_Apps)
18+
19+
## Advanced functions
20+
The ACOS works in combination with a few files, that can enhance your experience, despite making the ACOS not officially supported.
21+
22+
Such file is the `registry.json` file, that works as a registry for the ACOS.<br/>
23+
You will find inside a lot of variables that handle all the work for the ACOS.
24+
25+
If you modify something and you are stuck with a BSOD, try running the diagnostic/fix script `registry_cleanup_utility.py`.

app_adder.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def uninstall_app():
7676
text=f"The app {app_name_entry.get()} is not installed.",
7777
fg="red"
7878
)
79-
return
79+
return False
8080

8181
# ------- CONFIRM -------
8282
confirm_box = messagebox.askquestion(
@@ -90,7 +90,7 @@ def uninstall_app():
9090
text="Uninstall cancelled.",
9191
fg="red"
9292
)
93-
return
93+
return False
9494

9595
# ------- App uninstall --------
9696
shutil.rmtree(f"ROOT/{REGISTRY['SOFTWARES_FOLDER']}/{app_name_entry.get()}")
@@ -138,7 +138,12 @@ def install_local_app():
138138

139139
def update_app():
140140
app_name = app_name_entry.get()
141-
uninstall_app()
141+
if uninstall_app() is False:
142+
message.config(
143+
text=f"Update cancelled.",
144+
fg="green"
145+
)
146+
return
142147
app_name_entry.insert(0, app_name)
143148
install_app()
144149

assets/ACOS_Expand.png

2.81 KB
Loading

general_data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"last_connected_user": "user",
3-
"version": "Pre1.0_4"
3+
"version": "1.0"
44
}

main.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import importlib
22
import json
33
import os
4+
import platform
45
import shutil
56
import sys
67
import tkinter as tk
@@ -1536,7 +1537,12 @@ def delete_title():
15361537
"#000000"
15371538
)
15381539

1539-
window.after(8000, finish_boot, window, REGISTRY)
1540+
window.after(8000, reboot, window, REGISTRY)
1541+
1542+
def reboot(window, REGISTRY):
1543+
suffix = '' if platform.platform() == "Windows" else '3'
1544+
os.system(f"python{suffix} boot.py")
1545+
window.destroy()
15401546

15411547
def display_password():
15421548
password_entry.pack()

0 commit comments

Comments
 (0)