-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [BUG] Folder Name Length causing crash #38 fix: issue with to many tags on e6 sites feat: proper folder management for e6 sites feat: build windows exe on actions now for full transparency on the build process
- Loading branch information
1 parent
5c8acb0
commit c6792bb
Showing
27 changed files
with
1,751 additions
and
1,875 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
--- | ||
name: Bug report | ||
about: Create a bug report to help me solve the issue. | ||
title: "[BUG] " | ||
labels: bug, enhancement | ||
assignees: Official-Husko | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
- OS: [e.g. Windows] | ||
- Version [e.g. 10] | ||
|
||
**Used Parameters and Settings (please complete the following information):** | ||
- Site: [e.g. e621] | ||
- Tool Version: [e.g. ] | ||
- Tags/Link: [e.g. wolf female sfw] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. | ||
|
||
### ***Please attach the runtime.log*** | ||
--- | ||
name: Bug report | ||
about: Create a bug report to help me solve the issue. | ||
title: "[BUG] " | ||
labels: bug, enhancement | ||
assignees: Official-Husko | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
- OS: [e.g. Windows] | ||
- Version [e.g. 10] | ||
|
||
**Used Parameters and Settings (please complete the following information):** | ||
- Site: [e.g. e621] | ||
- Tool Version: [e.g. ] | ||
- Tags/Link: [e.g. wolf female sfw] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. | ||
|
||
### ***Please attach the runtime.log*** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "[REQUEST] " | ||
labels: enhancement | ||
assignees: Official-Husko | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. | ||
|
||
**Site URL** | ||
Add the site URL here if this is a site request. | ||
|
||
**Does the site have an API?** | ||
If the site has an API please put the link here. If unknown write it. | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "[REQUEST] " | ||
labels: enhancement | ||
assignees: Official-Husko | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. | ||
|
||
**Site URL** | ||
Add the site URL here if this is a site request. | ||
|
||
**Does the site have an API?** | ||
If the site has an API please put the link here. If unknown write it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Build Windows Executable | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev # Adjust branch name as needed | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.12.4 # Specify the Python version you need | ||
|
||
- name: Create virtual environment | ||
run: | | ||
python -m venv .env | ||
.env\Scripts\activate # Activate the virtual environment | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt # Replace with your requirements file if exists | ||
- name: Build executable | ||
run: | | ||
.env\Scripts\activate # Activate the virtual environment | ||
pyinstaller --paths .env\Lib\site-packages \ | ||
--hidden-import requests \ | ||
--hidden-import inquirer \ | ||
--hidden-import alive_progress \ | ||
--hidden-import termcolor \ | ||
--hidden-import xmltodict \ | ||
--add-data=".env\Lib\site-packages\grapheme\data\*;grapheme/data/" \ | ||
--onefile \ | ||
--icon "icon.ico" \ | ||
--console \ | ||
--name "NN-Downloader" \ | ||
main.py | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: nn-downloader-windows | ||
path: dist/NN-Downloader.exe # Adjust the path to your executable relative to the root of the repository |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
config.json | ||
__pycache__/ | ||
*.spec | ||
dist/ | ||
build/ | ||
media/ | ||
.env/ | ||
testing_accounts.txt | ||
old_config.json | ||
db/ | ||
outdated | ||
runtime.log | ||
config.json.dev | ||
Build Release.bat | ||
config.json | ||
__pycache__/ | ||
*.spec | ||
dist/ | ||
build/ | ||
media/ | ||
.env/ | ||
testing_accounts.txt | ||
old_config.json | ||
db/ | ||
outdated | ||
runtime.log | ||
config.json.dev | ||
Build Release.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Python: Current File", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${workspaceFolder}\\main.py", | ||
"console": "integratedTerminal", | ||
"justMyCode": true | ||
} | ||
] | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Python: Current File", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/main.py", | ||
"console": "integratedTerminal", | ||
"justMyCode": true | ||
} | ||
] | ||
} |
Oops, something went wrong.