Fixes
This commit is contained in:
4 files changed
+21
-10
No files matched your search
+2
-1
@@ -1 +1,2 @@
|
||||
.DS_Store
|
||||
.DS_Store
|
||||
build/
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
# macOS
|
||||
|
||||
nuitka --standalone --enable-plugin=pyside6 --macos-create-app-bundle --output-dir=build GDUtils.py
|
||||
|
||||
# Windows
|
||||
|
||||
python -m nuitka --standalone --enable-plugin=pyside6 --windows-console-mode=disable --output-dir=build GDUtils.py
|
||||
|
||||
# Linux
|
||||
|
||||
python3 -m nuitka --standalone --enable-plugin=pyside6 --output-dir=build GDUtils.py
|
||||
|
||||
+4
-4
@@ -134,9 +134,9 @@ class MainWindow(QMainWindow):
|
||||
gdLvlGDShareLabel = QLabel("GDLVL/GDShare")
|
||||
|
||||
self.convertToGdLvl = QPushButton("Convert to GDLVL")
|
||||
self.convertToGdLvl.clicked.connect(self.on_convert_to_gdlvl_click)
|
||||
self.convertToGdLvl.clicked.connect(self.on_convert_from_gmd_click)
|
||||
self.convertToGmd = QPushButton("Convert to GMD")
|
||||
self.convertToGmd.clicked.connect(self.on_convert_to_gmd_click)
|
||||
self.convertToGmd.clicked.connect(self.on_convert_from_gdlvl_click)
|
||||
|
||||
gdLvlGDShareButtons = QHBoxLayout()
|
||||
gdLvlGDShareButtons.addStretch()
|
||||
@@ -263,7 +263,7 @@ class MainWindow(QMainWindow):
|
||||
msg.setText("The encoded level data has been copied to your clipboard")
|
||||
msg.exec()
|
||||
|
||||
def on_convert_to_gdlvl_click(self):
|
||||
def on_convert_from_gdlvl_click(self):
|
||||
file_path, _ = QFileDialog.getOpenFileName(
|
||||
self,
|
||||
"Select a GDLVL file",
|
||||
@@ -288,7 +288,7 @@ class MainWindow(QMainWindow):
|
||||
with open(output_file_path, "w") as f:
|
||||
f.write(decode_level(data, False))
|
||||
|
||||
def on_convert_to_gmd_click(self):
|
||||
def on_convert_from_gmd_click(self):
|
||||
file_path, _ = QFileDialog.getOpenFileName(
|
||||
self,
|
||||
"Select a GMD file",
|
||||
|
||||
@@ -9,13 +9,11 @@ A simple python utility app for things related to Geometry Dash
|
||||
- GJP encode/decode
|
||||
- GJP2 encode
|
||||
|
||||
## Setup
|
||||
## Download
|
||||
|
||||
### Pre-Compiled
|
||||
Download the latest release for your platform [here](https://git.lncvrt.xyz/Lncvrt/gdutils/releases)
|
||||
|
||||
[Download the latest release for your platform](https://git.lncvrt.xyz/Lncvrt/gdutils/releases)
|
||||
|
||||
### Setup yourself with Python
|
||||
## Run manually with Python
|
||||
|
||||
[Download the repository as a ZIP](https://git.lncvrt.xyz/Lncvrt/gdutils/archive/main.zip) and unzip it then run:
|
||||
|
||||
|
||||
Reference in new issue
Block a user