Skip to content

Commit

Permalink
Stable update to 1.6.4
Browse files Browse the repository at this point in the history
feat: building process now using github actions for full transparency
fix: #38
bump: idna to 3.7
  • Loading branch information
Official-Husko authored Jun 25, 2024
2 parents 2523bff + 9251fce commit a1b4035
Show file tree
Hide file tree
Showing 27 changed files with 1,746 additions and 1,875 deletions.
76 changes: 38 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md
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***
52 changes: 26 additions & 26 deletions .github/ISSUE_TEMPLATE/feature_request.md
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.
47 changes: 47 additions & 0 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
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@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12.4 # Specify the Python version you need

- name: Create virtual environment and build
shell: bash
run: |
python -m venv .env
source .env/Scripts/activate
python -m pip install --upgrade pip
pip install pyinstaller
pip install -r requirements.txt # Replace with your requirements file if exists
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@v4
with:
name: nn-downloader-windows
path: dist/NN-Downloader.exe # Adjust the path to your executable relative to the root of the repository
21 changes: 7 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
config.json
__pycache__/
*.spec
dist/
build/
media/
.env/
testing_accounts.txt
old_config.json
db/
outdated
runtime.log
config.json.dev
Build Release.bat
/.env/
/media/
/db/
config.json
config.json.dev
old_config.json
testing_accounts.txt
30 changes: 15 additions & 15 deletions .vscode/launch.json
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
}
]
}
Loading

0 comments on commit a1b4035

Please sign in to comment.