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

tauri: migrating to V2 #585

Draft
wants to merge 9 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
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ jobs:
cargo generate-lockfile
cd ..
echo "new_tag=v${NEW_VERSION}" >> $GITHUB_OUTPUT
echo -e "---\nVersion: $NEW_VERSION\nDate: $(date +'%Y-%m-%d')\n---" > metadata/news.yaml
appstreamcli news-to-metainfo metadata/news.yaml metadata/dev.opengoal.OpenGOAL.appdata.xml
rm metadata/news.yaml
echo -e "---\nVersion: $NEW_VERSION\nDate: $(date +'%Y-%m-%d')\n---" > resources/metadata/news.yaml
appstreamcli news-to-metainfo resources/metadata/news.yaml resources/metadata/dev.opengoal.OpenGOAL.appdata.xml
rm resources/metadata/news.yaml

- name: Commit Version Bump
uses: EndBug/add-and-commit@v9
Expand Down
2 changes: 1 addition & 1 deletion .tauri/release-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"tauri": {
"plugins": {
"updater": {
"active": true,
"endpoints": [
Expand Down
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@octokit/rest": "^21.0.2",
"@popperjs/core": "^2.11.7",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@tauri-apps/cli": "^1.6.2",
"@tauri-apps/cli": "^2.2.1",
"@testing-library/svelte": "^5.2.3",
"@tsconfig/svelte": "^5.0.4",
"@vitest/coverage-v8": "^2.1.3",
Expand All @@ -56,7 +56,17 @@
"vitest": "^2.1.3"
},
"dependencies": {
"@tauri-apps/api": "^1.6.0",
"@tauri-apps/api": "^2.2.0",
"@tauri-apps/plugin-clipboard-manager": "^2.0.0",
"@tauri-apps/plugin-dialog": "~2",
"@tauri-apps/plugin-fs": "~2",
"@tauri-apps/plugin-global-shortcut": "~2",
"@tauri-apps/plugin-http": "~2",
"@tauri-apps/plugin-notification": "~2",
"@tauri-apps/plugin-os": "~2",
"@tauri-apps/plugin-process": "~2",
"@tauri-apps/plugin-shell": "~2",
"@tauri-apps/plugin-updater": "~2",
"@types/semver": "^7.5.8",
"country-flag-emoji-polyfill": "^0.1.8",
"http-server": "^14.1.1",
Expand Down
7 changes: 7 additions & 0 deletions resources/dev.opengoal.OpenGOAL.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Categories=Development;
Exec=OpenGOAL-Launcher
Icon=OpenGOAL-Launcher
Name=OpenGOAL-Launcher
Terminal=false
Type=Application
Binary file added resources/icons/128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/icons/256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/icons/32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions resources/metadata/dev.opengoal.OpenGOAL.appdata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop-application">
<id>dev.opengoal.OpenGOAL</id>
<name>OpenGOAL</name>
<summary>Launcher for the OpenGOAL Project to simplify usage and installation</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>ISC License</project_license>
<developer_name>OpenGOAL Contributors</developer_name>
<supports>
<control>pointing</control>
<control>keyboard</control>
<control>gamepad</control>
</supports>
<launchable type="desktop-id">dev.opengoal.OpenGOAL.desktop</launchable>
<url type="homepage">https://opengoal.dev/</url>
<url type="faq">https://opengoal.dev/docs/faq</url>
<url type="translate">https://crowdin.com/project/opengoal-launcher</url>
<url type="contact">https://discord.gg/VZbXMHXzWv</url>
<screenshots>
<screenshot>
<caption>Play the Jak and Daxter PlayStation 2 classics natively on your computer.</caption>
<image type="source">https://opengoal.dev/assets/images/launcher-install-a-33691bfe513b67a2b35bf13ab298a39e.png</image>
</screenshot>
<screenshot>
<caption>If at any point during the installation something goes wrong and you are going to ask for help or report an issue. Download the Support Package in order to easily give the person helping you everything they could ask for all at once.</caption>
<image type="source">https://opengoal.dev/assets/images/launcher-support-package-6e7fb3e810098907fb6bc7a83b6f91dc.png</image>
</screenshot>
</screenshots>
<releases>
<release type="stable" version="2.5.1" date="2024-10-03T00:00:00Z"/>
</releases>
<content_rating type="oars-1.1"/>
</component>
Loading
Loading