Skip to content

Commit a684a20

Browse files
committed
chore: update readme commands
1 parent 047db7e commit a684a20

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Simple screen saver application using Python's Tkinter library. This app display
99

1010
## 📥 Installation
1111

12+
follow the instruction to install Screen Saver App on Windows OS:
13+
1214
1. Clone Code
1315

1416
use [Git](https://git-scm.com/) on your system
@@ -28,7 +30,7 @@ Simple screen saver application using Python's Tkinter library. This app display
2830
```bash
2931
cd Py-Screen-Saver
3032
```
31-
33+
3234
3. Install [tkinter](https://docs.python.org/3/library/tkinter.html) and [pyinstaller](https://pypi.org/project/pyinstaller/) ( by using [requirements.txt](https://pip.pypa.io/en/stable/reference/requirements-file-format/) )
3335

3436
```bash
@@ -38,38 +40,36 @@ Simple screen saver application using Python's Tkinter library. This app display
3840
4. Create `exe` File
3941

4042
```bash
41-
cd src
42-
```
43-
44-
```bash
45-
pyinstaller --noconfirm --onefile --windowed .\main.py
43+
pyinstaller --noconfirm --onefile --windowed ./src/main.py
4644
```
4745

48-
6. Change File Format to `scr`
46+
5. Change File Format to `scr`
4947

5048
```bash
5149
cd dist
5250
```
5351

5452
```bash
55-
ren main.exe main.scr
53+
ren main.exe Py-Screen-Saver-win.scr
5654
```
5755

58-
7. Move the file to `C:/windows/system32` **(Administrator access is required)**
56+
6. Move the file to `C:/windows/system32` **(Administrator access is required)**
5957

6058
```bash
61-
mv main.scr C:/windows/system32
59+
mv Py-Screen-Saver-win.scr C:/windows/system32
6260
```
6361

64-
8. Install the new screen saver (with registry):
62+
7. Install the new screen saver (with registry):
6563

6664
```bash
67-
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\system32\main.scr /f
65+
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\system32\Py-Screen-Saver-win.scr /f
6866
```
6967

7068
> reg add flags: `/v` \<Valuename\>, `/t` \<Type\>, `/d` \<Data\>, `/f` Adds the registry entry without prompting for confirmation.
7169
> [More about reg command](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/reg)
7270

71+
You can also right-click on the `.scr` file and select the "Install" option.
72+
7373
Done :)
7474

7575
## 💡 Tips

0 commit comments

Comments
 (0)