Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring of the whole application #246

Draft
wants to merge 23 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
- [ninja](https://github.com/ninja-build/ninja)
- [meson >= 0.62.0](https://github.com/mesonbuild/meson)
- [gtk4](https://gitlab.gnome.org/GNOME/gtk/)
- [libadwaita >= 1.4](https://gitlab.gnome.org/GNOME/libadwaita)
- [libadwaita >= 1.6](https://gitlab.gnome.org/GNOME/libadwaita)
- [json-glib](https://gitlab.gnome.org/GNOME/json-glib)
- [libsoup](https://gitlab.gnome.org/GNOME/libsoup)
- [libarchive](https://github.com/libarchive/libarchive)
Expand Down Expand Up @@ -131,9 +131,9 @@
3. Install the necessary runtimes and build tools for Flatpak
```bash
flatpak install \
runtime/org.gnome.Sdk/x86_64/46 \
runtime/org.gnome.Platform/x86_64/46 \
runtime/org.freedesktop.Sdk.Extension.vala/x86_64/23.08 \
runtime/org.gnome.Sdk/x86_64/47 \
runtime/org.gnome.Platform/x86_64/47 \
runtime/org.freedesktop.Sdk.Extension.vala/x86_64/24.08 \
org.flatpak.Builder
```

Expand Down
2 changes: 1 addition & 1 deletion com.vysp3r.ProtonPlus.local.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: com.vysp3r.ProtonPlus
runtime: org.gnome.Platform
runtime-version: '46'
runtime-version: '47'
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.vala
Expand Down
8 changes: 4 additions & 4 deletions com.vysp3r.ProtonPlus.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: com.vysp3r.ProtonPlus
runtime: org.gnome.Platform
runtime-version: '46'
runtime-version: '47'
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.vala
Expand Down Expand Up @@ -30,11 +30,11 @@ build-options:
cleanup:
- /include
- /lib/pkgconfig
- /share/pkgconfig
- /share/aclocal
- /man
- /share/man
- /share/gtk-doc
- /share/man
- /share/pkgconfig
- /share/vala
- '*.la'
- '*.a'
modules:
Expand Down
35 changes: 25 additions & 10 deletions data/com.vysp3r.ProtonPlus.metainfo.xml.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>com.vysp3r.ProtonPlus</id>
<metadata_license>FSFAP</metadata_license>
<project_license>GPL-3.0-or-later</project_license>

<name>ProtonPlus</name>
<summary>Modern compatibility tools manager</summary>
Expand Down Expand Up @@ -38,25 +40,38 @@
</ul>
</description>

<developer id="com.vysp3r">
<name>Vysp3r</name>
</developer>

<keywords>
<keyword>Proton</keyword>
<keyword>Wine</keyword>
<keyword>Steam Tinker Launch</keyword>
</keywords>

<launchable type="desktop-id">com.vysp3r.ProtonPlus.desktop</launchable>
<!-- Requered: Should be a link to the upstream homepage for the component -->
<url type="homepage">https://github.com/Vysp3r/ProtonPlus</url>
<!-- Recommended: It is highly recommended for open-source projects to display the source code repository -->
<url type="vcs-browser">https://github.com/Vysp3r/ProtonPlus</url>
<!-- Should point to the software's bug tracking system, for users to report new bugs -->
<url type="bugtracker">https://github.com/Vysp3r/ProtonPlus/issues</url>
<!-- Should link a FAQ page for this software, to answer some of the most-asked questions in detail -->
<!-- URLs of this type should point to a webpage where users can submit or modify translations of the upstream project -->
<url type="translate">https://hosted.weblate.org/projects/protonplus/protonplus</url>

<metadata_license>FSFAP</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
<translation type="gettext">fasdfa</translation>
<!-- All graphical applications having a desktop file must have this tag in the MetaInfo.
If this is present, appstreamcli compose will pull icons, keywords and categories from the desktop file. -->
<launchable type="desktop-id">com.vysp3r.ProtonPlus.desktop</launchable>
<!-- Use the OARS website (https://hughsie.github.io/oars/generate.html) to generate these and make sure to use oars-1.1 -->
<content_rating type="oars-1.1" />

<developer id="com.vysp3r">
<name>Vysp3r</name>
</developer>

<url type="homepage">https://github.com/Vysp3r/ProtonPlus</url>
<url type="bugtracker">https://github.com/Vysp3r/ProtonPlus/issues</url>
<url type="translate">https://hosted.weblate.org/projects/protonplus/protonplus/</url>
<!-- Applications should set a brand color in both light and dark variants like so -->
<branding>
<color type="primary" scheme_preference="light">#ff00ff</color>
<color type="primary" scheme_preference="dark">#993d3d</color>
</branding>

<screenshots>
<screenshot type="default">
Expand Down
12 changes: 9 additions & 3 deletions data/css/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
/* sidebar */

.sidebar-item {
.sidebar-row {
padding: 7px;
}

.dialog-list {
background: transparent;
}

.dialog {
padding: 10px;
}
54 changes: 53 additions & 1 deletion data/icons/circle-check.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 53 additions & 1 deletion data/icons/circle-chevron-up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 57 additions & 1 deletion data/icons/dots.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 57 additions & 1 deletion data/icons/download.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions data/icons/icons.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@
<file alias="scalable/actions/x-symbolic.svg">x.svg</file>
<file alias="scalable/actions/info-circle-symbolic.svg">info-circle.svg</file>
<file alias="scalable/actions/dots-symbolic.svg">dots.svg</file>
<file alias="scalable/actions/layout-sidebar-symbolic.svg">layout-sidebar.svg</file>
<file alias="scalable/actions/world-www-symbolic.svg">world-www.svg</file>
</gresource>
</gresources>
Loading