A launcher for the OpenGOAL Project to simplify usage and installation
Go to file
dependabot[bot] 0fbd75e944
build(deps): bump the frontend-deps-tauri group with 2 updates (#415)
Bumps the frontend-deps-tauri group with 2 updates:
[@tauri-apps/api](https://github.com/tauri-apps/tauri) and
[@tauri-apps/cli](https://github.com/tauri-apps/tauri).

Updates `@tauri-apps/api` from 1.5.2 to 1.5.3
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tauri-apps/tauri/releases"><code>@​tauri-apps/api</code>'s
releases</a>.</em></p>
<blockquote>
<h2><code>@​tauri-apps/api</code> v1.5.3</h2>
<!-- raw HTML omitted -->
<pre><code>yarn audit v1.22.21
info No lockfile found.
0 vulnerabilities found - Packages audited: 148
Done in 2.29s.
</code></pre>
<!-- raw HTML omitted -->
<h2>[1.5.3]</h2>
<h3>Bug Fixes</h3>
<ul>
<li><a
href="1c582a942e"><code>1c582a94</code></a>(<a
href="https://redirect.github.com/tauri-apps/tauri/pull/8392">#8392</a>)
Fix a regression where typescript could not find types when using
<code>&quot;moduleResolution&quot;: &quot;node&quot;</code></li>
</ul>
<!-- raw HTML omitted -->
<pre><code>yarn run v1.22.21
$ yarn build &amp;&amp; cd ./dist &amp;&amp; yarn publish --access
public --loglevel silly
$ rollup -c --configPlugin typescript

./src/app.ts, ./src/cli.ts, ./src/clipboard.ts, ./src/dialog.ts,
./src/event.ts, ./src/fs.ts, ./src/globalShortcut.ts, ./src/http.ts,
./src/index.ts, ./src/mocks.ts, ./src/notification.ts, ./src/os.ts,
./src/path.ts, ./src/process.ts, ./src/shell.ts, ./src/tauri.ts,
./src/updater.ts, ./src/window.ts → ./dist, ./dist...
created ./dist, ./dist in 1.6s

src/index.ts →
../../core/tauri/scripts/bundle.global.js...
created ../../core/tauri/scripts/bundle.global.js in
1.8s
[1/4] Bumping version...
info Current version: 1.5.3
[2/4] Logging in...
[3/4] Publishing...
success Published.
[4/4] Revoking token...
info Not revoking login token, specified via config file.
Done in 12.73s.
</code></pre>
<!-- raw HTML omitted -->
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="5966812735"><code>5966812</code></a>
Apply Version Updates From Current Changes (v1) (<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8396">#8396</a>)</li>
<li><a
href="b44e9c0fcb"><code>b44e9c0</code></a>
feat(bundler): redownload outdated/mis-hashed files (<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8431">#8431</a>)</li>
<li><a
href="b2f83f03a8"><code>b2f83f0</code></a>
fix(core): Replace Rc with Arc to prevent crashes when sending events
(<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8402">#8402</a>)</li>
<li><a
href="0a2175eabb"><code>0a2175e</code></a>
fix(cli): expand globs in workspace member paths (<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8439">#8439</a>)</li>
<li><a
href="645e1dcc6e"><code>645e1dc</code></a>
fix(core/updater): check if installer args are not empty before passing
`-Arg...</li>
<li><a
href="50a3d170f2"><code>50a3d17</code></a>
fix(core/dialog): reconstruct path using appropriate separator, closes
<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8074">#8074</a>
...</li>
<li><a
href="9b230de7bc"><code>9b230de</code></a>
fix(utils/config): fix parsing <code>f64</code> values, closes <a
href="https://redirect.github.com/tauri-apps/tauri/issues/8252">#8252</a>
(<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8407">#8407</a>)</li>
<li><a
href="50e9caad64"><code>50e9caa</code></a>
ci: access cli release id directly (<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8398">#8398</a>)</li>
<li><a
href="e5cc72eb40"><code>e5cc72e</code></a>
ci: fix msrv tests (<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8409">#8409</a>)</li>
<li><a
href="0d0501cb7b"><code>0d0501c</code></a>
refactor(clipboard): use arboard instead of tao closes <a
href="https://redirect.github.com/tauri-apps/tauri/issues/8177">#8177</a>
(<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8394">#8394</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tauri-apps/tauri/compare/@tauri-apps/api-v1.5.2...@tauri-apps/api-v1.5.3">compare
view</a></li>
</ul>
</details>
<br />

Updates `@tauri-apps/cli` from 1.5.8 to 1.5.9
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tauri-apps/tauri/releases"><code>@​tauri-apps/cli</code>'s
releases</a>.</em></p>
<blockquote>
<h2><code>@​tauri-apps/cli</code> v1.5.9</h2>
<h2>[1.5.9]</h2>
<h3>Bug Fixes</h3>
<ul>
<li><a
href="0a2175eabb"><code>0a2175ea</code></a>(<a
href="https://redirect.github.com/tauri-apps/tauri/pull/8439">#8439</a>)
Expand glob patterns in workspace member paths so the CLI would watch
all matching pathhs.</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li>Upgraded to <code>tauri-cli@1.5.9</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="5966812735"><code>5966812</code></a>
Apply Version Updates From Current Changes (v1) (<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8396">#8396</a>)</li>
<li><a
href="b44e9c0fcb"><code>b44e9c0</code></a>
feat(bundler): redownload outdated/mis-hashed files (<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8431">#8431</a>)</li>
<li><a
href="b2f83f03a8"><code>b2f83f0</code></a>
fix(core): Replace Rc with Arc to prevent crashes when sending events
(<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8402">#8402</a>)</li>
<li><a
href="0a2175eabb"><code>0a2175e</code></a>
fix(cli): expand globs in workspace member paths (<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8439">#8439</a>)</li>
<li><a
href="645e1dcc6e"><code>645e1dc</code></a>
fix(core/updater): check if installer args are not empty before passing
`-Arg...</li>
<li><a
href="50a3d170f2"><code>50a3d17</code></a>
fix(core/dialog): reconstruct path using appropriate separator, closes
<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8074">#8074</a>
...</li>
<li><a
href="9b230de7bc"><code>9b230de</code></a>
fix(utils/config): fix parsing <code>f64</code> values, closes <a
href="https://redirect.github.com/tauri-apps/tauri/issues/8252">#8252</a>
(<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8407">#8407</a>)</li>
<li><a
href="50e9caad64"><code>50e9caa</code></a>
ci: access cli release id directly (<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8398">#8398</a>)</li>
<li><a
href="e5cc72eb40"><code>e5cc72e</code></a>
ci: fix msrv tests (<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8409">#8409</a>)</li>
<li><a
href="0d0501cb7b"><code>0d0501c</code></a>
refactor(clipboard): use arboard instead of tao closes <a
href="https://redirect.github.com/tauri-apps/tauri/issues/8177">#8177</a>
(<a
href="https://redirect.github.com/tauri-apps/tauri/issues/8394">#8394</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tauri-apps/tauri/compare/@tauri-apps/cli-v1.5.8...@tauri-apps/cli-v1.5.9">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-29 11:13:17 -05:00
.github build(deps): bump actions/setup-node from 3 to 4 (#359) 2023-11-05 13:13:17 -05:00
.tauri release: update release metadata to latest 2023-11-06 05:45:45 +00:00
.vscode migrate: switch to Svelte 2022-04-14 19:49:13 -04:00
docs New Crowdin updates - Dutch / German / Italian / Polish / Romanian / Spanish (#213) 2023-05-08 21:50:00 -04:00
public/images/jak1 Dynamically change game background based on user's game completion (#298) 2023-08-29 22:01:56 -04:00
scripts release: fix appimage release asset link 2023-07-31 17:03:32 -04:00
src Toast updates (#405) 2023-12-09 15:11:06 -05:00
src-tauri build(deps): bump the backend-deps group in /src-tauri with 8 updates (#416) 2023-12-29 11:12:19 -05:00
.gitignore tests: Start writing tests, Splash and some of the lib/ functions (#280) 2023-07-22 00:07:23 -04:00
.prettierignore frontend: fix frontend styling (#269) 2023-07-08 18:01:47 -04:00
.prettierrc.json macOS support and a handful of bug fixes encountered along the way (#291) 2023-07-30 21:25:21 -04:00
crowdin.yml i18n: make the app translatable (#196) 2023-05-06 13:10:54 -04:00
index.html build(deps-dev): bump the frontend-deps group with 8 updates (#289) 2023-07-24 18:38:03 -04:00
LICENSE add a license 2022-06-01 00:27:22 -04:00
package.json build(deps): bump the frontend-deps-tauri group with 2 updates (#415) 2023-12-29 11:13:17 -05:00
postcss.config.cjs UI Overhaul (#35) 2022-09-27 20:40:13 -04:00
README.md New Crowdin updates (#199) 2023-05-06 14:12:22 -04:00
svelte.config.js UI Overhaul (#35) 2022-09-27 20:40:13 -04:00
tailwind.config.cjs UI Overhaul (#35) 2022-09-27 20:40:13 -04:00
tsconfig.json tests: Start writing tests, Splash and some of the lib/ functions (#280) 2023-07-22 00:07:23 -04:00
tsconfig.node.json renamed files and updated config files accordingly 2022-05-30 10:20:24 -04:00
vite.config.ts build(deps-dev): bump the frontend-deps group with 8 updates (#289) 2023-07-24 18:38:03 -04:00
vitest.config.ts tests: Start writing tests, Splash and some of the lib/ functions (#280) 2023-07-22 00:07:23 -04:00
yarn.lock build(deps): bump the frontend-deps-tauri group with 2 updates (#415) 2023-12-29 11:13:17 -05:00

OpenGOAL Launcher

Crowdin

Our attempt at distributing the OpenGOAL releases in a cross-platform and easy to use and update way. It also is a place for features involving the games, such as texture pack or mod management.

The launcher uses the Tauri framework, if you are interested in our motivation for why see below.

Usage

See the documentation on our website for hopefully up to date instructions on how to use it.

Asking for help

When asking for help, please download the support package which includes logs to help someone diagnose the problem.

If you cannot do this (for example, the bug relates to making the package / the application won't launch) then you can find the application logs in the following folders:

  • Windows C://Users/<YOUR_USER_NAME>/AppData/Roaming/OpenGOAL-Launcher/logs
  • Linux /home/<YOUR_USER_NAME>/.config/OpenGOAL-Launcher/logs

Note that both AppData and .config are hidden folders.

Development

Tauri requires a valid Rust installation, as well as a valid NodeJS installation.

For installing Rust, it's recommended to follow the instructions here https://www.rust-lang.org/tools/install

Windows

scoop install nodejs
npm install -g yarn

Linux (Ubuntu 22.04)

sudo apt install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev # tauri deps, see - https://tauri.app/v1/guides/getting-started/prerequisites#setting-up-linux
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash # installs Node Version Manager (ubuntus package is woefully out of date)
source ~/.bashrc
nvm install lts/hydrogen # installs latest nodejs 18.X
npm install -g yarn

Building and Running

To build and run the application locally, all you have to do is run:

yarn install
yarn tauri dev

Code Overview

TODO

References

Why Tauri?

The gut reaction from many when looking at the launcher is ugh, another Electron app. This however is not the case. Tauri leverages typical HTML/CSS/JS for rendering the frontend -- but it does not do so by bundling Chromium. Instead it leverages the native WebView providers found on modern operating systems. This is also why the distribution is quite small (majority of the download size is for fonts/images/videos).

Here's a non-exhaustive list of all the benefits we get out of the box with Tauri that we'd have to build ourselves / straight-up not have available to us if we went with a non-electron GUI application framework.

  • A built-in updater with private key signing
  • Bundling scripts for MSI installers, AppImages, DMGs
  • Essentially no differences frontend-wise across all operating systems
  • No need to ship an interpreter (ie. PyQt)
  • Typical web UI workflows that many people are familiar with
  • The ability to painlessly write application logic in Rust
  • Plethora of frontend E2E testing frameworks -- most of these are non-existant or cost money for other frameworks like Qt