4cc323bca0
Bumps the frontend-deps group with 5 updates: | Package | From | To | | --- | --- | --- | | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) | `2.0.5` | `2.1.1` | | [postcss](https://github.com/postcss/postcss) | `8.4.45` | `8.4.47` | | [tailwindcss](https://github.com/tailwindlabs/tailwindcss) | `3.4.10` | `3.4.11` | | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.4.3` | `5.4.6` | | [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `2.0.5` | `2.1.1` | Updates `@vitest/coverage-v8` from 2.0.5 to 2.1.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vitest-dev/vitest/releases"><code>@vitest/coverage-v8</code>'s releases</a>.</em></p> <blockquote> <h2>v2.1.1</h2> <h3> 🐞 Bug Fixes</h3> <ul> <li><strong>browser</strong>: <ul> <li>Make example test callbacks async - by <a href="https://github.com/aqandrew"><code>@aqandrew</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6484">vitest-dev/vitest#6484</a> <a href="https://github.com/vitest-dev/vitest/commit/16aa76c2"><!-- raw HTML omitted -->(16aa7)<!-- raw HTML omitted --></a></li> <li>Optimize vitest-browser-vue correctly - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6490">vitest-dev/vitest#6490</a> <a href="https://github.com/vitest-dev/vitest/commit/5cbb0bba"><!-- raw HTML omitted -->(5cbb0)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>workspace</strong>: <ul> <li>Resolve glob pattern once to avoid name collision - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6489">vitest-dev/vitest#6489</a> <a href="https://github.com/vitest-dev/vitest/commit/36b5aceb"><!-- raw HTML omitted -->(36b5a)<!-- raw HTML omitted --></a></li> </ul> </li> </ul> <h5> <a href="https://github.com/vitest-dev/vitest/compare/v2.1.0...v2.1.1">View changes on GitHub</a></h5> <h2>v2.1.0</h2> <p>This release makes another big change to the Browser Mode by introducing <a href="https://vitest.dev/guide/browser/locators.html">locators API</a>:</p> <pre lang="ts"><code>test('renders blog posts', async () => { const screen = page.render(<Blog />) <p>await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()</p> <p>const [firstPost] = screen.getByRole('listitem').all()</p> <p>await firstPost.getByRole('button', { name: 'Delete' }).click()</p> <p>expect(screen.getByRole('listitem').all()).toHaveLength(3) }) </code></pre></p> <p>You can use either <a href="https://github.com/vitest-dev/vitest-browser-vue">vitest-browser-vue</a>, <a href="https://github.com/vitest-dev/vitest-browser-svelte">vitest-browser-svelte </a> or <a href="https://github.com/vitest-dev/vitest-browser-react">vitest-browser-react</a> to render components and make assertions using locators. Locators are also available on the <code>page</code> object from <code>@vitest/browser/context</code>.</p> <h3>Potential Breaking Change</h3> <ul> <li><strong>workspace</strong>: <ul> <li>Correctly resolve workspace globs and file paths - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6316">vitest-dev/vitest#6316</a> <a href="https://github.com/vitest-dev/vitest/commit/afdcb8f2"><!-- raw HTML omitted -->(afdcb)<!-- raw HTML omitted --></a></li> <li>This changes how the custom glob pattern in the workspace config is treated. <em>Any</em> file matching the glob is considered a Vitest config file. Any folder matching the glob pattern is treated as a workspace project and is subject to the regular config resolution (single <code>vitest.config.ts</code> or <code>vite.config.ts</code> inside the folder)</li> <li>For example, <code>projects/*</code> will match anything inside the <code>projects</code> folder. If it's a folder, we try to find the config inside that folder (if there is none, it is still treated as a project with the default config). If it's a file, it will be treated as a Vitest config. <code>projects/**/*</code> previously would assume that you only wanted to have folders as projects, but now it will match <em>every single file</em> inside<code>projects</code>.</li> <li>This change doesn't affect non-glob usage.</li> </ul> </li> </ul> <h3> 🚀 Features</h3> <ul> <li><strong>api</strong>: <ul> <li>Make spec into a class instead of a tuple - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6355">vitest-dev/vitest#6355</a> <a href="https://github.com/vitest-dev/vitest/commit/874a121e"><!-- raw HTML omitted -->(874a1)<!-- raw HTML omitted --></a></li> </ul> </li> <li><strong>browser</strong>: <ul> <li>Move page.config to server.config, add more docs - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6252">vitest-dev/vitest#6252</a> <a href="https://github.com/vitest-dev/vitest/commit/af2b813c"><!-- raw HTML omitted -->(af2b8)<!-- raw HTML omitted --></a></li> <li>Make iframe scalable, improve documentation - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6257">vitest-dev/vitest#6257</a> <a href="https://github.com/vitest-dev/vitest/commit/74ca11a4"><!-- raw HTML omitted -->(74ca1)<!-- raw HTML omitted --></a></li> <li>Introduce built-in locators - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6084">vitest-dev/vitest#6084</a> <a href="https://github.com/vitest-dev/vitest/commit/3347f83e"><!-- raw HTML omitted -->(3347f)<!-- raw HTML omitted --></a></li> <li>Support v8 coverage - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6273">vitest-dev/vitest#6273</a> <a href="https://github.com/vitest-dev/vitest/commit/34199bdf"><!-- raw HTML omitted -->(34199)<!-- raw HTML omitted --></a></li> <li>Support <code>userEvent.upload</code> in playwright provider - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6442">vitest-dev/vitest#6442</a> <a href="https://github.com/vitest-dev/vitest/commit/cf148645"><!-- raw HTML omitted -->(cf148)<!-- raw HTML omitted --></a></li> <li>Support <code>--inspect</code> - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6433">vitest-dev/vitest#6433</a> <a href="https://github.com/vitest-dev/vitest/commit/0499a315"><!-- raw HTML omitted -->(0499a)<!-- raw HTML omitted --></a></li> <li>Support <code>--inspect-brk</code> - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6434">vitest-dev/vitest#6434</a> <a href="https://github.com/vitest-dev/vitest/commit/7ab0f4a8"><!-- raw HTML omitted -->(7ab0f)<!-- raw HTML omitted --></a></li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
---|---|---|
.github | ||
.tauri | ||
.vscode | ||
docs | ||
fixtures | ||
metadata | ||
public/images/jak1 | ||
scripts | ||
src | ||
src-tauri | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.json | ||
crowdin.yml | ||
index.html | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
postcss.config.cjs | ||
README.md | ||
svelte.config.js | ||
tailwind.config.cjs | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts | ||
vitest.config.ts | ||
yarn.lock |
OpenGOAL Launcher
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.
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