-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTutorial [Photopea-Offline]
31 lines (28 loc) · 1.12 KB
/
Tutorial [Photopea-Offline]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Install:
https://github.com/linuxmint/webapp-manager
Open->+Add
Name: Photopea
Address: http://localhost:8887
Icon:
https://raw.githubusercontent.com/photopea/photopea/master/logo.svg
Icon:->Browse->logo.svg
Navigation bar: on
Private/Incognito Window: default (off)
OK
Download:
https://github.com/DUOLabs333/Photopea-Offline/releases
In terminal:
cd x_directory/Photopea-Offline-main && python -m http.server --directory www.photopea.com 8887
Or just from .desktop shortcut (without terminal):
Go to: ~/.local/share/applications/
Photopea->Properties->Command: x_directory/photopea.sh or Photopea->Open With->text editor->Exec=x_directory/photopea.sh
Copy Command/Exec.
Create script:
photopea.sh in x_directory, paste inside including Command/Exec (after 8887):
#!/bin/bash
cd x_directory/Photopea-Offline-main && python -m http.server --directory www.photopea.com 8887
Change Command/Exec of an shortcut:
1) Command: x_directory/photopea.sh
2or) Exec=x_directory/photopea.sh
(x_directory where x file is, for example ~/Downloads/Photopea-Offline-main or ~/.local/share/applications/photopea.sh)
Now you can open Photopea-Offline!