-
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.
feat: building process now using github actions for full transparency fix: #38 bump: idna to 3.7
- Loading branch information
Showing
27 changed files
with
1,746 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,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 |
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,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 |
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.