Skip to content

Commit ad1c512

Browse files
committed
- change build actions
- add zip converter - use pyside 6, more beautiful
1 parent bb68c5c commit ad1c512

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+3217
-1096
lines changed

.DS_Store

4 KB
Binary file not shown.

.github/workflows/build.yml

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,37 +9,41 @@ on:
99
jobs:
1010
build:
1111
name: Build wxPython
12-
runs-on: self-hosted
12+
runs-on: macos-15
1313
if: github.repository_owner == 'pyquick'
1414
permissions:
1515
contents: write
1616
steps:
1717
- uses: actions/checkout@v4
18-
#- name: Set up Python 3.13
19-
# uses: actions/setup-python@v5
20-
#with:
21-
#python-version: '3.13'
18+
- name: Set up Python 3.13
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: '3.13'
2222
- name: Install Dependencies
2323
run: |
24-
chmod +x build_nk.command
2524
/Library/Frameworks/Python.framework/Versions/3.13/bin/python3 -m pip install -r requirements.txt
26-
2725
- name: Build Apps
2826
run: |
29-
./build_nk.command
30-
/Library/Frameworks/Python.framework/Versions/3.13/bin/python3 patch.py
31-
/Library/Frameworks/Python.framework/Versions/3.13/bin/python3 buildzip.py
32-
27+
/Library/Frameworks/Python.framework/Versions/3.13/bin/python3 build_project.py
28+
- name: Delete previous pre-release
29+
uses: dev-drprasad/[email protected]
30+
with:
31+
keep_latest: 0
32+
delete_prerelease_only: true
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3335
- name: Create (Pre-)Release on Push
3436
if: github.event_name == 'push'
3537
uses: softprops/action-gh-release@v2
3638
with:
37-
tag_name: 1.0.0
38-
name: 1.0.0
39+
tag_name: 2.0.0B1
40+
name: 2.0.0 Beta 1
3941
body: ${{ github.event.head_commit.message }}
40-
prerelease: false
42+
prerelease: true
4143
files: |
42-
./dist/gui_converter.zip
44+
./dist/Converter.zip
45+
./dist/convert.bin
46+
./dist/convertzip.bin
4347
4448
4549

AppIcon.icns

55.7 KB
Binary file not shown.

AppIcon.png

1.98 MB
Loading

AppIcond.png

2.59 MB
Loading

Assets.car

2.19 MB
Binary file not shown.

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,23 @@ pip install -r requirements.txt
1818
```
1919
Pillow>=8.0.0
2020
Nuitka>=1.0.0
21+
PySide6
22+
rarfile
23+
py7zr
2124
```
2225

26+
**Note for RAR support:** The `rarfile` Python library requires the external `unrar` program to be installed on your system. Please install it using your system's package manager or download it from [RarLab](https://www.rarlab.com/rar_add.htm).
27+
28+
- **macOS (using Homebrew)**:
29+
```bash
30+
brew install unrar
31+
```
32+
- **Linux (Debian/Ubuntu)**:
33+
```bash
34+
sudo apt-get install unrar
35+
```
36+
- **Windows**: Download and install the UnRAR DLL from [RarLab](https://www.rarlab.com/rar_add.htm) and ensure its path is added to your system's PATH environment variable.
37+
2338
Note: Tkinter is usually included with Python installations. For ZIP file GUI functionality, no additional dependencies are required beyond the standard library.
2439

2540
## PNG to ICNS Converter
@@ -42,7 +57,7 @@ python3 support/convert.py input.png output.icns --min-size 16 --max-size 512
4257

4358
For a graphical interface, run:
4459
```
45-
python3 gui_converter.py
60+
python3 launcher.py
4661
```
4762

4863
## Building a Standalone Application
@@ -157,7 +172,7 @@ This will generate icons in sizes: 16x16, 32x32, 64x64, 128x128, and 256x256, in
157172

158173
To use the GUI version:
159174
```
160-
python3 gui_converter.py
175+
python3 launcher.py
161176
```
162177

163178
The GUI provides a user-friendly interface with:
@@ -185,7 +200,7 @@ If you encounter issues with the build process, you can use the simple launcher
185200

186201
Or run directly with Python 3.13:
187202
```
188-
python3.13 gui_converter.py
203+
python3.13 launcher.py
189204
```
190205

191206
For ZIP file operations, you can use either the command line:
9.36 KB
Binary file not shown.
8.14 KB
Binary file not shown.

__pycache__/clean.cpython-313.pyc

403 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)