mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2d8a1d76bc | |||
| b2bc97a6af | |||
| a885576d8a | |||
| a8de8461bd | |||
| c1e4f3a688 | |||
| ca4020970a | |||
| 0956317eb2 | |||
| eed4af7705 | |||
| 02bb77ea1e | |||
| 204ef0f233 | |||
| 82a2f2d4d7 | |||
| be1c9bfe45 |
@@ -238,6 +238,7 @@ jobs:
|
||||
- name: Create Release (Public)
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
token: ${{ secrets.RELEASE_TOKEN }}
|
||||
tag_name: ${{ needs.build.outputs.version }}
|
||||
name: ${{ needs.build.outputs.version }}
|
||||
generate_release_notes: true
|
||||
@@ -247,5 +248,3 @@ jobs:
|
||||
release/SoftwareManager-stable-${{ needs.build.outputs.short_sha }}-windows-setup.exe
|
||||
release/SoftwareManager-stable-${{ needs.build.outputs.short_sha }}-macos
|
||||
release/SHA256SUMS.txt
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
run: python scripts/sync_readme_dependencies.py
|
||||
|
||||
- name: Create pull request
|
||||
uses: peter-evans/create-pull-request@v7
|
||||
uses: peter-evans/create-pull-request@v8
|
||||
with:
|
||||
commit-message: "Sync README dependencies"
|
||||
branch: auto/sync-readme-dependencies
|
||||
|
||||
@@ -46,9 +46,9 @@ SoftwareManager is a Python-based GUI tool that simplifies searching and downloa
|
||||
beautifulsoup4 (4.14.3)
|
||||
darkdetect (0.7.1)
|
||||
pyinstaller (6.19.0)
|
||||
PyQtDarkTheme-fork (2.3.4)
|
||||
PyQtDarkTheme-fork (2.3.6)
|
||||
plyer (2.1.0)
|
||||
psutil (7.1.0)
|
||||
psutil (7.2.2)
|
||||
libtorrent (2.0.11)
|
||||
libtorrent-windows-dll (0.0.3)
|
||||
send2trash (2.1.0)
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="Simply search and download software and games from various sources. Developed with ❤︎ by KeksPirates.">
|
||||
<meta name="darkreader-lock">
|
||||
<link rel="stylesheet" href="main.css"/>
|
||||
<title>SoftwareManager - Simply search and download software from various sources</title>
|
||||
@@ -10,6 +11,7 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicon/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="assets/favicon/android-chrome-192x192.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon/favicon-16x16.png">
|
||||
|
||||
@@ -42,7 +44,18 @@
|
||||
<a class="tablinks" onclick="openTab(event, 'docs')">Docs</a>
|
||||
<!-- <a class="tablinks" onclick="openTab(event, 'notfound')">404</a> -->
|
||||
</nav>
|
||||
<button class="hamburger" onclick="toggleMobileMenu()" aria-label="Toggle menu">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</button>
|
||||
</header>
|
||||
<div class="mobile-nav-overlay" onclick="closeMobileMenu()"></div>
|
||||
<nav class="mobile-nav">
|
||||
<a class="mobile-tablinks" onclick="openTab(event, 'start'); closeMobileMenu();">Home</a>
|
||||
<a class="mobile-tablinks" onclick="openTab(event, 'api'); closeMobileMenu();">API</a>
|
||||
<a class="mobile-tablinks" onclick="openTab(event, 'docs'); closeMobileMenu();">Docs</a>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
@@ -201,6 +214,30 @@
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
function toggleMobileMenu() {
|
||||
document.querySelector('.hamburger').classList.toggle('active');
|
||||
document.querySelector('.mobile-nav').classList.toggle('active');
|
||||
document.querySelector('.mobile-nav-overlay').classList.toggle('active');
|
||||
document.body.classList.toggle('menu-open');
|
||||
}
|
||||
|
||||
function closeMobileMenu() {
|
||||
document.querySelector('.hamburger').classList.remove('active');
|
||||
document.querySelector('.mobile-nav').classList.remove('active');
|
||||
document.querySelector('.mobile-nav-overlay').classList.remove('active');
|
||||
document.body.classList.remove('menu-open');
|
||||
}
|
||||
|
||||
function syncMobileActiveTab(tabName) {
|
||||
document.querySelectorAll('.mobile-tablinks').forEach(function(link) {
|
||||
link.classList.remove('active');
|
||||
if (link.textContent.trim().toLowerCase() === tabName ||
|
||||
(tabName === 'start' && link.textContent.trim().toLowerCase() === 'home')) {
|
||||
link.classList.add('active');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function openTab(evt, tabName, pushToHistory = true) {
|
||||
var i, tabcontent, tablinks;
|
||||
|
||||
|
||||
+213
-28
@@ -15,6 +15,10 @@ body {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
body.menu-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
header {
|
||||
height: 65px;
|
||||
background: #1a1c1d;
|
||||
@@ -198,6 +202,93 @@ main .introduction-text p {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Hamburger button - hidden on desktop */
|
||||
.hamburger {
|
||||
display: none;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
padding: 0.5rem;
|
||||
z-index: 1001;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.hamburger span {
|
||||
display: block;
|
||||
width: 22px;
|
||||
height: 2px;
|
||||
background: #fafafa;
|
||||
border-radius: 2px;
|
||||
transition: transform 0.3s, opacity 0.3s;
|
||||
}
|
||||
|
||||
.hamburger.active span:nth-child(1) {
|
||||
transform: translateY(7px) rotate(45deg);
|
||||
}
|
||||
|
||||
.hamburger.active span:nth-child(2) {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.hamburger.active span:nth-child(3) {
|
||||
transform: translateY(-7px) rotate(-45deg);
|
||||
}
|
||||
|
||||
/* Mobile nav overlay */
|
||||
.mobile-nav-overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
z-index: 999;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
|
||||
.mobile-nav-overlay.active {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Mobile slide-in nav */
|
||||
.mobile-nav {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: -280px;
|
||||
width: 280px;
|
||||
height: 100%;
|
||||
background: #1a1c1d;
|
||||
z-index: 1000;
|
||||
flex-direction: column;
|
||||
padding: 5rem 1.5rem 2rem;
|
||||
transition: right 0.3s ease;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.mobile-nav.active {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.mobile-nav a {
|
||||
display: block;
|
||||
padding: 1rem 1rem;
|
||||
color: #fafafa;
|
||||
text-decoration: none;
|
||||
font-family: var(--main-font);
|
||||
font-size: 1.1rem;
|
||||
border-radius: 10px;
|
||||
transition: background 0.3s;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mobile-nav a:hover,
|
||||
.mobile-nav a.active {
|
||||
background: #db65d51a;
|
||||
color: #fdd2fc;
|
||||
}
|
||||
|
||||
footer {
|
||||
color: #585858;
|
||||
font-family: var(--main-font);
|
||||
@@ -379,42 +470,60 @@ pre.api-response {
|
||||
}
|
||||
|
||||
|
||||
@media(max-width: 560px) {
|
||||
@media(max-width: 768px) {
|
||||
|
||||
/* Show hamburger, hide desktop nav */
|
||||
.hamburger {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.mobile-nav {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.tab {
|
||||
display: none;
|
||||
}
|
||||
|
||||
header {
|
||||
padding: 1rem;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
main {
|
||||
margin: 0rem;
|
||||
margin: 0;
|
||||
padding: 1rem;
|
||||
|
||||
}
|
||||
|
||||
main .introduction {
|
||||
display: block;
|
||||
margin-top: -1rem;
|
||||
padding: 1rem;
|
||||
main .introduction-frame {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
main .introduction-text {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
margin-top: 0rem;
|
||||
margin-top: 0;
|
||||
margin-right: 0;
|
||||
z-index: 2;
|
||||
user-select: none;
|
||||
margin-right: 0rem;
|
||||
padding-bottom: 2rem;
|
||||
padding-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
main h1.hometitle {
|
||||
font-size: 2rem;
|
||||
line-height: 2.2rem;
|
||||
text-align: left;
|
||||
font-size: 2.2rem;
|
||||
line-height: 2.4rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
main h1.hometitle br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
main p.title_subtext {
|
||||
text-align: left;
|
||||
text-align: center;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.introduction-image {
|
||||
@@ -422,25 +531,103 @@ pre.api-response {
|
||||
}
|
||||
|
||||
main .btn_big {
|
||||
display: block;
|
||||
margin: 1rem auto;
|
||||
display: inline-flex;
|
||||
margin-top: 1rem;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
padding: 0.9rem 1.4rem;
|
||||
}
|
||||
|
||||
main .btn_big.github{
|
||||
margin-right: 0rem;
|
||||
main .btn_big.github {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* Responsive tables / grids */
|
||||
.endpoint-parameters-header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.endpoint-parameters-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
padding: 0.75rem 0;
|
||||
border-top: 1px solid #ffffff0a;
|
||||
}
|
||||
|
||||
.endpoint-parameters-content p {
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.endpoint-parameters-content p::before {
|
||||
font-size: 0.75rem;
|
||||
color: #8f8d8d;
|
||||
display: block;
|
||||
margin-bottom: 0.1rem;
|
||||
}
|
||||
|
||||
.docs-grid .endpoint-parameters-content {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.docs-grid .endpoint-parameters-content p:nth-child(1)::before { content: "Source"; }
|
||||
.docs-grid .endpoint-parameters-content p:nth-child(2)::before { content: "Category"; }
|
||||
.docs-grid .endpoint-parameters-content p:nth-child(3)::before { content: "Notes"; }
|
||||
|
||||
/* API page: stack param fields with labels */
|
||||
#api .endpoint-parameters-content p:nth-child(1)::before { content: "Parameter"; }
|
||||
#api .endpoint-parameters-content p:nth-child(2)::before { content: "Type"; }
|
||||
#api .endpoint-parameters-content p:nth-child(3)::before { content: "Required"; }
|
||||
#api .endpoint-parameters-content p:nth-child(4)::before { content: "Description"; }
|
||||
|
||||
.endpoint-type-container {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
pre.api-response {
|
||||
font-size: 0.8rem;
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.api-url,
|
||||
.endpoint-url,
|
||||
.request-type-subcontainer {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.base-information-frame {
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
footer {
|
||||
position: relative;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.notfound-title {
|
||||
font-size: 3rem;
|
||||
line-height: 3rem;
|
||||
}
|
||||
|
||||
.notfound-subtext {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 561px) and (max-width: 1393px) {
|
||||
@media (min-width: 769px) and (max-width: 1393px) {
|
||||
|
||||
header {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
main {
|
||||
margin: 0rem;
|
||||
padding: 1rem;
|
||||
|
||||
margin: 0;
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
main .introduction {
|
||||
@@ -454,7 +641,7 @@ pre.api-response {
|
||||
main .introduction-text {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
margin-top: 0rem;
|
||||
margin-top: 0;
|
||||
z-index: 2;
|
||||
user-select: none;
|
||||
margin-left: 2rem;
|
||||
@@ -463,8 +650,8 @@ pre.api-response {
|
||||
}
|
||||
|
||||
main h1.hometitle {
|
||||
font-size: 2rem;
|
||||
line-height: 2.2rem;
|
||||
font-size: 2.5rem;
|
||||
line-height: 2.7rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -491,8 +678,6 @@ pre.api-response {
|
||||
}
|
||||
|
||||
main .introduction .inline-block {
|
||||
display: block;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -3,9 +3,9 @@ PySide6-Essentials==6.11.0
|
||||
beautifulsoup4==4.14.3
|
||||
darkdetect==0.7.1
|
||||
pyinstaller==6.19.0
|
||||
PyQtDarkTheme-fork==2.3.4
|
||||
PyQtDarkTheme-fork==2.3.6
|
||||
plyer==2.1.0
|
||||
psutil==7.1.0
|
||||
psutil==7.2.2
|
||||
libtorrent==2.0.11
|
||||
libtorrent-windows-dll==0.0.3
|
||||
send2trash==2.1.0
|
||||
|
||||
@@ -25,7 +25,7 @@ class AppState(QObject):
|
||||
|
||||
# GUI
|
||||
self.window_transparency: bool = False
|
||||
self.accent_color: str = ""
|
||||
self.accent_color: str = "#fda7d7"
|
||||
self.trackertable: QTableWidget
|
||||
self.interfaces: List = []
|
||||
self.active_interfaces: List = []
|
||||
|
||||
Reference in New Issue
Block a user