Compare commits

...
Sign in to create a new pull request.

12 commits
main ... dev

Author SHA1 Message Date
manijamali2003
51c3d3cda6 remove jumper 2023-08-15 20:09:50 +03:30
manijamali2003
d87636ab85 Add movement Qml window 2023-08-15 20:07:47 +03:30
manijamali2003
6c999c7d86 add requirements 2023-08-15 19:58:53 +03:30
manijamali2003
d04f83b601 Replace to Popen 2023-08-15 19:57:49 +03:30
manijamali2003
491fb4d746 Rename QrcGenerator in readme 2023-08-15 19:48:09 +03:30
manijamali2003
0bef47c12c Qrc file 2023-08-15 19:47:41 +03:30
manijamali2003
455c2d10f2 Generated Resource 2023-08-15 19:47:34 +03:30
manijamali2003
80f59e27e1 Qt Resource Generator 2023-08-15 19:47:22 +03:30
manijamali2003
fca7ccef71 Remove Import Res 2023-08-15 19:46:44 +03:30
manijamali2003
5d49e1df1a update readme 2023-08-15 19:46:20 +03:30
manijamali2003
d2ea58829d Remove debug script 2023-08-15 19:45:51 +03:30
manijamali2003
2a6457a448 Remove build script 2023-08-15 19:45:41 +03:30
9 changed files with 267 additions and 235 deletions

View file

@ -1,18 +0,0 @@
#!/usr/bin/python
import os,subprocess
# Jump to Src
os.chdir("src/")
# Create Qrc file
listrc = os.listdir('UI')
listrc.remove('res.qrc')
f = open('UI/res.qrc', 'w')
f.write("""<RCC><qresource prefix="/">""")
for i in listrc:
f.write(f"<file>{i}</file>")
f.write("""</qresource></RCC>""")
f.close()
# Compile Qrc & Create onefile script & Build Parch Package
subprocess.run("""rcc -g python UI/res.qrc -o Res.py && sed -i 's/PySide2/PyQt6/g' Res.py && echo "#!/usr/bin/python" > Welcome && cat Res.py >> Welcome && cat Welcome.py >> Welcome && chmod +x Welcome && cp Welcome ../build/parch-welcome/usr/bin/ && cd ../build && chmod +x parch-welcome/usr/bin/* && tar -czvf parch-welcome.tar.gz parch-welcome/ && makepkg -f && cd .. && rm -rf build/pkg build/src build/*.tar.gz && rm -rf src/Welcome""",shell=True)

View file

@ -6,14 +6,30 @@ Parch dorood (/do-rood/, درود, pronunciation) which is Persian word for "Gre
- Updating Parch repositories - Updating Parch repositories
This program is still on alpha stages and it is not completely ready to use. This program is still on alpha stages and it is not completely ready to use.
## Build Parch Package ## Build the package
for building **Parch Package** from **Welcome** project you should run: - Jump to `build` directory:
```shell ```shell
python Build.py cd build
```
- Compress `parch-welcome` directory for creating package:
```shell
tar -czvf parch-welcome.tar.gz parch-welcome/
```
- Make package after compressing:
```shell
makepkg -f
``` ```
## Debug & Run from Source ## Install the package
if you want to run project without installing, you should run: - For installing this pacakge run:
```shell ```shell
python Debug.py cd build
sudo pacman -U ./parch-welcome*
```
## Generate Qt Resources (if edited)
if you made a changes in src you can update the `qrc` by running this command:
```shell
cd src
python QrcGenerate.py
``` ```

View file

@ -154,6 +154,28 @@ q6\x92\x1c~\x87W\x1d\xb8\xdcr\x9d\xe6\xbf\x0d\xdf\
\x19\x91sh\xfahDz4by\xdd\x88\xe5#\x1a\ \x19\x91sh\xfahDz4by\xdd\x88\xe5#\x1a\
\xb1\xbc\xc5\x88\xe5\xfd\x8c\x88\xae:\xf1\xe5\x1f\xf1\xa9\xfe\ \xb1\xbc\xc5\x88\xe5\xfd\x8c\x88\xae:\xf1\xe5\x1f\xf1\xa9\xfe\
m\x9a\xff\x025\x8d\xde4\ m\x9a\xff\x025\x8d\xde4\
\x00\x00\x017\
<\
svg xmlns=\x22http:\
//www.w3.org/200\
0/svg\x22 class=\x22h-\
5 w-5 ml-2\x22 fill\
=\x22none\x22 viewBox=\
\x220 0 24 24\x22 stro\
ke=\x22currentColor\
\x22 stroke-width=\x22\
2\x22>\x0a \
<pat\
h stroke-linecap\
=\x22round\x22 stroke-\
linejoin=\x22round\x22\
d=\x22M4 16v1a3 3 \
0 003 3h10a3 3 0\
003-3v-1m-4-4l-\
4 4m0 0l-4-4m4 4\
V4\x22></path>\x0a \
\
</svg>\
\x00\x00\x02\xd4\ \x00\x00\x02\xd4\
<\ <\
svg xmlns=\x22http:\ svg xmlns=\x22http:\
@ -202,28 +224,6 @@ ZM2.04 4.326c.32\
.88A7 7 0 1 1 2.\ .88A7 7 0 1 1 2.\
04 4.327Z\x22/>\x0a</s\ 04 4.327Z\x22/>\x0a</s\
vg>\ vg>\
\x00\x00\x017\
<\
svg xmlns=\x22http:\
//www.w3.org/200\
0/svg\x22 class=\x22h-\
5 w-5 ml-2\x22 fill\
=\x22none\x22 viewBox=\
\x220 0 24 24\x22 stro\
ke=\x22currentColor\
\x22 stroke-width=\x22\
2\x22>\x0a \
<pat\
h stroke-linecap\
=\x22round\x22 stroke-\
linejoin=\x22round\x22\
d=\x22M4 16v1a3 3 \
0 003 3h10a3 3 0\
003-3v-1m-4-4l-\
4 4m0 0l-4-4m4 4\
V4\x22></path>\x0a \
\
</svg>\
\x00\x00\x03\x0f\ \x00\x00\x03\x0f\
<\ <\
svg xmlns=\x22http:\ svg xmlns=\x22http:\
@ -896,63 +896,70 @@ c-.778.324-2.334\
.09z\x22></path>\x0a \ .09z\x22></path>\x0a \
\ \
</svg>\ </svg>\
\x00\x00\x03n\ \x00\x00\x03\xdd\
\x00\ \x00\
\x00\x13\xe9x\x9c\xddX\xdfo\xda0\x10~\xcf_a\ \x00\x15~x\x9c\xddX[o\xdb:\x0c~\xf7\xaf\x10\
\xd1\x87n\x12\xcd\x02\xa5\xacE]\xa5\x8eiZ\xa5n\ \xb2\x87\xb5@\xea%i\xdauY\xcf\x80,\xc5p\x0a\
Z\xb7N{v\x12\x93x56\xb2\x9dB;\xf1\xbf\ l\xc3\xae\xd8\xf6(\xdb\x8a\xadSE\x0a$\xb9I7\
\xef\xf2\xc3)\x10'\xa4S\x11\xd3\xee\x01\xe1\xf3q\xfe\ \xf4\xbf\x1f\xca\xb6\x9c\x8be\xc7\x1d\x1ad\x18\x1f\x8a\x8a\
\xee\xbe\xb3\xcf\x86NgBjt\xa3o\x12\x1a\xdc9\ d\xc8O$%R\xa6\xb3\xb9\x90\x1a}\xd4\x1fS\x1a\
tm\xe8\x8e\x05\xd7R0U\xa7w?cM$\xc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Y/\x17A\ \x0e{\xe7\xa7$\xa8\x7fs\x9cWaX\x84\xc3\xaa\xc8\
*mO\xcd\xd2\xb6<9\x8b\xcdR\x7fx\xda\xfeP\ \xbeQ\xfbg\x8f\xd0\xaa\x1e^\x0c\x8d_0\xd6i#\
\xb1\x8f\xf2oKg\xe9\xfc\x01H\x01\xca\xfb\ \xc3\x94\xc34\xc3\x98+\xcd\x15\x96\xbb\x0d\xaf\xfbn~\
\x0a\x96v\x1arc\xc9\xa6\xa0:;XZ\xab\x95Z\
\x9d\x9dEc\xc9\xb1[C5\xc3\xe5\xb6\xf9\x86\xa3g\
\xa8\xddS\xcaR1\x9a^\xe7\x89A\xd9ca\x87\xed\
\xe6\x91\xd0\x92M\x92\x9dR\xb7Jp\x93\xdd\xf2{\x81\
\xa1\x9d\x95i\xa8\xc8\xa7\xe3\xd8Xj8Y\x8f\xb7\x03\
Cmo\xcdR\xb7\xbc9\x8b\xc3R\x7fy\xba>\xa8\
\xb8W\xf6\xcb\xd9\xbd\xf7?M\xbf3h\
\x00\x00\x03\xe8\ \x00\x00\x03\xe8\
<\ <\
svg class=\x22w-6 h\ svg class=\x22w-6 h\
@ -1126,13 +1133,13 @@ qt_resource_name = b"\
\x00c\ \x00c\
\x00a\x00f\x00e\x00.\x00s\x00v\x00g\ \x00a\x00f\x00e\x00.\x00s\x00v\x00g\
\x00\x0b\ \x00\x0b\
\x00_)\x87\
\x00w\
\x00e\x00b\x00s\x00i\x00t\x00e\x00.\x00s\x00v\x00g\
\x00\x0b\
\x08\xcf\xef\x87\ \x08\xcf\xef\x87\
\x00i\ \x00i\
\x00n\x00s\x00t\x00a\x00l\x00l\x00.\x00s\x00v\x00g\ \x00n\x00s\x00t\x00a\x00l\x00l\x00.\x00s\x00v\x00g\
\x00\x0b\
\x00_)\x87\
\x00w\
\x00e\x00b\x00s\x00i\x00t\x00e\x00.\x00s\x00v\x00g\
\x00\x08\ \x00\x08\
\x06^W\xe7\ \x06^W\xe7\
\x00b\ \x00b\
@ -1166,30 +1173,30 @@ qt_resource_name = b"\
qt_resource_struct = b"\ qt_resource_struct = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x0c\x00\x00\x00\x01\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x0c\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00H\x00\x00\x00\x00\x00\x01\x00\x00\x08\xd3\ \x00\x00\x00d\x00\x00\x00\x00\x00\x01\x00\x00\x0a\x0e\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x01\x00\x00\x05\x12\ \x00\x00\x00\x1c\x00\x00\x00\x00\x00\x01\x00\x00\x05\x12\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x00\xcc\x00\x01\x00\x00\x00\x01\x00\x006\x80\ \x00\x00\x00\xcc\x00\x01\x00\x00\x00\x01\x00\x006\x80\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xfa\x0e\xe5\xf4\
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x00\x80\x00\x00\x00\x00\x00\x01\x00\x00\x0c\xe6\ \x00\x00\x00\x80\x00\x00\x00\x00\x00\x01\x00\x00\x0c\xe6\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x01 \x00\x00\x00\x00\x00\x01\x00\x00@\xc2\ \x00\x00\x01 \x00\x00\x00\x00\x00\x01\x00\x00A1\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x002\x00\x01\x00\x00\x00\x01\x00\x00\x06V\ \x00\x00\x002\x00\x01\x00\x00\x00\x01\x00\x00\x06V\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x00d\x00\x00\x00\x00\x00\x01\x00\x00\x0b\xab\ \x00\x00\x00H\x00\x00\x00\x00\x00\x01\x00\x00\x08\xd3\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x00\x96\x00\x00\x00\x00\x00\x01\x00\x00\x0f\xf9\ \x00\x00\x00\x96\x00\x00\x00\x00\x00\x01\x00\x00\x0f\xf9\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x00\xee\x00\x00\x00\x00\x00\x01\x00\x009\xf2\ \x00\x00\x00\xee\x00\x00\x00\x00\x00\x01\x00\x00:a\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x00\xb6\x00\x00\x00\x00\x00\x01\x00\x003c\ \x00\x00\x00\xb6\x00\x00\x00\x00\x00\x01\x00\x003c\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x01\x06\x00\x00\x00\x00\x00\x01\x00\x00=\xde\ \x00\x00\x01\x06\x00\x00\x00\x00\x00\x01\x00\x00>M\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
" "
def qInitResources(): def qInitResources():
@ -1209,7 +1216,7 @@ from PyQt6.QtGui import *
from PyQt6.QtQml import * from PyQt6.QtQml import *
# Import Resources of Qt # Import Resources of Qt
import Res
# Simple Qt Quick class for loading QML files # Simple Qt Quick class for loading QML files
@ -1273,12 +1280,12 @@ class Main(Quick):
# DO: Run Calamares Installer # DO: Run Calamares Installer
def install_(self): def install_(self):
self.close() self.close()
subprocess.run('sudo sh /etc/calamares/launch.sh',shell=True) subprocess.Popen('sudo sh /etc/calamares/launch.sh',shell=True)
# DO: Loading link in `xdg-open` function # DO: Loading link in `xdg-open` function
def link(self,url): def link(self,url):
self.close() self.close()
subprocess.run(f'xdg-open {url}',shell=True) subprocess.Popen(f'xdg-open {url}',shell=True)
# DO: Init Function # DO: Init Function
def __init__(self): def __init__(self):

1
requirements.txt Normal file
View file

@ -0,0 +1 @@
PyQt6

View file

@ -1,8 +1,7 @@
#!/usr/bin/python #!/usr/bin/python
import os,subprocess #!/usr/bin/python
# Jump to Src import os,subprocess
os.chdir("src")
# Create Qrc file # Create Qrc file
listrc = os.listdir('UI') listrc = os.listdir('UI')
@ -15,4 +14,4 @@ f.write("""</qresource></RCC>""")
f.close() f.close()
# Compile Qrc & Create onefile script & run it # Compile Qrc & Create onefile script & run it
subprocess.run("""rcc -g python UI/res.qrc -o Res.py && sed -i 's/PySide2/PyQt6/g' Res.py && echo "#!/usr/bin/python" > Welcome && cat Res.py >> Welcome && cat Welcome.py >> Welcome && chmod +x Welcome && ./Welcome && rm Welcome""",shell=True) subprocess.run("""rcc -g python UI/res.qrc -o Res.py && sed -i 's/PySide2/PyQt6/g' Res.py && echo "#!/usr/bin/python" > Welcome && cat Res.py >> Welcome && cat Welcome.py >> Welcome && chmod +x Welcome && sed -i 's/import Res//g' Welcome && mv Welcome ../build/parch-welcome/usr/bin""",shell=True)

View file

@ -153,6 +153,28 @@ q6\x92\x1c~\x87W\x1d\xb8\xdcr\x9d\xe6\xbf\x0d\xdf\
\x19\x91sh\xfahDz4by\xdd\x88\xe5#\x1a\ \x19\x91sh\xfahDz4by\xdd\x88\xe5#\x1a\
\xb1\xbc\xc5\x88\xe5\xfd\x8c\x88\xae:\xf1\xe5\x1f\xf1\xa9\xfe\ \xb1\xbc\xc5\x88\xe5\xfd\x8c\x88\xae:\xf1\xe5\x1f\xf1\xa9\xfe\
m\x9a\xff\x025\x8d\xde4\ m\x9a\xff\x025\x8d\xde4\
\x00\x00\x017\
<\
svg xmlns=\x22http:\
//www.w3.org/200\
0/svg\x22 class=\x22h-\
5 w-5 ml-2\x22 fill\
=\x22none\x22 viewBox=\
\x220 0 24 24\x22 stro\
ke=\x22currentColor\
\x22 stroke-width=\x22\
2\x22>\x0a \
<pat\
h stroke-linecap\
=\x22round\x22 stroke-\
linejoin=\x22round\x22\
d=\x22M4 16v1a3 3 \
0 003 3h10a3 3 0\
003-3v-1m-4-4l-\
4 4m0 0l-4-4m4 4\
V4\x22></path>\x0a \
\
</svg>\
\x00\x00\x02\xd4\ \x00\x00\x02\xd4\
<\ <\
svg xmlns=\x22http:\ svg xmlns=\x22http:\
@ -201,28 +223,6 @@ ZM2.04 4.326c.32\
.88A7 7 0 1 1 2.\ .88A7 7 0 1 1 2.\
04 4.327Z\x22/>\x0a</s\ 04 4.327Z\x22/>\x0a</s\
vg>\ vg>\
\x00\x00\x017\
<\
svg xmlns=\x22http:\
//www.w3.org/200\
0/svg\x22 class=\x22h-\
5 w-5 ml-2\x22 fill\
=\x22none\x22 viewBox=\
\x220 0 24 24\x22 stro\
ke=\x22currentColor\
\x22 stroke-width=\x22\
2\x22>\x0a \
<pat\
h stroke-linecap\
=\x22round\x22 stroke-\
linejoin=\x22round\x22\
d=\x22M4 16v1a3 3 \
0 003 3h10a3 3 0\
003-3v-1m-4-4l-\
4 4m0 0l-4-4m4 4\
V4\x22></path>\x0a \
\
</svg>\
\x00\x00\x03\x0f\ \x00\x00\x03\x0f\
<\ <\
svg xmlns=\x22http:\ svg xmlns=\x22http:\
@ -895,63 +895,70 @@ c-.778.324-2.334\
.09z\x22></path>\x0a \ .09z\x22></path>\x0a \
\ \
</svg>\ </svg>\
\x00\x00\x03n\ \x00\x00\x03\xdd\
\x00\ \x00\
\x00\x13\xe9x\x9c\xddX\xdfo\xda0\x10~\xcf_a\ \x00\x15~x\x9c\xddX[o\xdb:\x0c~\xf7\xaf\x10\
\xd1\x87n\x12\xcd\x02\xa5\xacE]\xa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x00g\ \x00a\x00f\x00e\x00.\x00s\x00v\x00g\
\x00\x0b\ \x00\x0b\
\x00_)\x87\
\x00w\
\x00e\x00b\x00s\x00i\x00t\x00e\x00.\x00s\x00v\x00g\
\x00\x0b\
\x08\xcf\xef\x87\ \x08\xcf\xef\x87\
\x00i\ \x00i\
\x00n\x00s\x00t\x00a\x00l\x00l\x00.\x00s\x00v\x00g\ \x00n\x00s\x00t\x00a\x00l\x00l\x00.\x00s\x00v\x00g\
\x00\x0b\
\x00_)\x87\
\x00w\
\x00e\x00b\x00s\x00i\x00t\x00e\x00.\x00s\x00v\x00g\
\x00\x08\ \x00\x08\
\x06^W\xe7\ \x06^W\xe7\
\x00b\ \x00b\
@ -1165,30 +1172,30 @@ qt_resource_name = b"\
qt_resource_struct = b"\ qt_resource_struct = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x0c\x00\x00\x00\x01\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x0c\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00H\x00\x00\x00\x00\x00\x01\x00\x00\x08\xd3\ \x00\x00\x00d\x00\x00\x00\x00\x00\x01\x00\x00\x0a\x0e\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x01\x00\x00\x05\x12\ \x00\x00\x00\x1c\x00\x00\x00\x00\x00\x01\x00\x00\x05\x12\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x00\xcc\x00\x01\x00\x00\x00\x01\x00\x006\x80\ \x00\x00\x00\xcc\x00\x01\x00\x00\x00\x01\x00\x006\x80\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xfa\x0e\xe5\xf4\
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x00\x80\x00\x00\x00\x00\x00\x01\x00\x00\x0c\xe6\ \x00\x00\x00\x80\x00\x00\x00\x00\x00\x01\x00\x00\x0c\xe6\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x01 \x00\x00\x00\x00\x00\x01\x00\x00@\xc2\ \x00\x00\x01 \x00\x00\x00\x00\x00\x01\x00\x00A1\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x002\x00\x01\x00\x00\x00\x01\x00\x00\x06V\ \x00\x00\x002\x00\x01\x00\x00\x00\x01\x00\x00\x06V\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x00d\x00\x00\x00\x00\x00\x01\x00\x00\x0b\xab\ \x00\x00\x00H\x00\x00\x00\x00\x00\x01\x00\x00\x08\xd3\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x00\x96\x00\x00\x00\x00\x00\x01\x00\x00\x0f\xf9\ \x00\x00\x00\x96\x00\x00\x00\x00\x00\x01\x00\x00\x0f\xf9\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x00\xee\x00\x00\x00\x00\x00\x01\x00\x009\xf2\ \x00\x00\x00\xee\x00\x00\x00\x00\x00\x01\x00\x00:a\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x00\xb6\x00\x00\x00\x00\x00\x01\x00\x003c\ \x00\x00\x00\xb6\x00\x00\x00\x00\x00\x01\x00\x003c\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
\x00\x00\x01\x06\x00\x00\x00\x00\x00\x01\x00\x00=\xde\ \x00\x00\x01\x06\x00\x00\x00\x00\x00\x01\x00\x00>M\
\x00\x00\x01\x89\xf8\x14s,\ \x00\x00\x01\x89\xf9\xef\xe6\x98\
" "
def qInitResources(): def qInitResources():

View file

@ -3,16 +3,36 @@ import QtQuick.Controls
import QtQuick.Controls.Material import QtQuick.Controls.Material
ApplicationWindow { ApplicationWindow {
width: 900 width: Screen.width
height: 500 height: Screen.height
flags: Qt.FramelessWindowHint flags: Qt.FramelessWindowHint
visible: true visible: true
id: parch id: parch
color: "transparent" color: "transparent"
Rectangle { MouseArea {
anchors.fill: parent anchors.fill: parent
drag{ target: parent; axis: Drag.XandYAxis}
onMouseXChanged: {
if(drag.active){
print(parent.x)
}
}
onMouseYChanged: {
if(drag.active)
{
print(parent.y)
}
}
}
Rectangle {
anchors.centerIn: parent
width: 900
height: 500
radius: 20 radius: 20
color: "#DD010409" color: "#DD010409"

View file

@ -1 +1 @@
<RCC><qresource prefix="/"><file>website.svg</file><file>install.svg</file><file>book.svg</file><file>masto.svg</file><file>x-lg.svg</file><file>tele.svg</file><file>ParchLogo.svg</file><file>github.svg</file><file>discord.svg</file><file>ParchLinux.qml</file><file>cafe.svg</file><file>tw.svg</file></qresource></RCC> <RCC><qresource prefix="/"><file>install.svg</file><file>masto.svg</file><file>github.svg</file><file>ParchLinux.qml</file><file>book.svg</file><file>website.svg</file><file>discord.svg</file><file>tw.svg</file><file>x-lg.svg</file><file>tele.svg</file><file>cafe.svg</file><file>ParchLogo.svg</file></qresource></RCC>

View file

@ -72,12 +72,12 @@ class Main(Quick):
# DO: Run Calamares Installer # DO: Run Calamares Installer
def install_(self): def install_(self):
self.close() self.close()
subprocess.run('sudo sh /etc/calamares/launch.sh',shell=True) subprocess.Popen('sudo sh /etc/calamares/launch.sh',shell=True)
# DO: Loading link in `xdg-open` function # DO: Loading link in `xdg-open` function
def link(self,url): def link(self,url):
self.close() self.close()
subprocess.run(f'xdg-open {url}',shell=True) subprocess.Popen(f'xdg-open {url}',shell=True)
# DO: Init Function # DO: Init Function
def __init__(self): def __init__(self):