chore: Bump to 1.0.0-alpha.2
This commit is contained in:
parent
1906e29bee
commit
c3c945a06b
15 changed files with 25 additions and 23 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@onelauncher/action-publish-artifacts",
|
||||
"version": "1.0.0-alpha.1",
|
||||
"version": "1.0.0-alpha.2",
|
||||
"private": true,
|
||||
"description": "Next-generation open source Minecraft launcher",
|
||||
"license": "GPL-3.0-only",
|
||||
|
|
|
|||
14
Cargo.lock
generated
14
Cargo.lock
generated
|
|
@ -1,6 +1,6 @@
|
|||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
version = 4
|
||||
|
||||
[[package]]
|
||||
name = "Inflector"
|
||||
|
|
@ -3806,7 +3806,7 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
|
|||
|
||||
[[package]]
|
||||
name = "onelauncher"
|
||||
version = "1.0.0-alpha.1"
|
||||
version = "1.0.0-alpha.2"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-recursion",
|
||||
|
|
@ -3867,7 +3867,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "onelauncher_gamemode"
|
||||
version = "1.0.0-alpha.1"
|
||||
version = "1.0.0-alpha.2"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"libc",
|
||||
|
|
@ -3875,7 +3875,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "onelauncher_gui"
|
||||
version = "1.0.0-alpha.1"
|
||||
version = "1.0.0-alpha.2"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"chrono",
|
||||
|
|
@ -3911,7 +3911,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "onelauncher_macros"
|
||||
version = "1.0.0-alpha.1"
|
||||
version = "1.0.0-alpha.2"
|
||||
dependencies = [
|
||||
"quote",
|
||||
"syn 2.0.79",
|
||||
|
|
@ -3919,7 +3919,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "onelauncher_test"
|
||||
version = "1.0.0-alpha.1"
|
||||
version = "1.0.0-alpha.2"
|
||||
dependencies = [
|
||||
"onelauncher",
|
||||
"tokio",
|
||||
|
|
@ -3929,7 +3929,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "onelauncher_utils"
|
||||
version = "1.0.0-alpha.1"
|
||||
version = "1.0.0-alpha.2"
|
||||
dependencies = [
|
||||
"async-channel",
|
||||
"async-compression",
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ documentation = "https://docs.polyfrost.org/onelauncher"
|
|||
readme = "README.md"
|
||||
homepage = "https://polyfrost.org/projects/onelauncher"
|
||||
authors = [ "Polyfrost", "Polyfrost Contributors" ]
|
||||
version = "1.0.0-alpha.1" # bump this manually for now
|
||||
version = "1.0.0-alpha.2" # bump this manually for now
|
||||
|
||||
[workspace.dependencies]
|
||||
# # ============= WORKSPACE ============= # #
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@onelauncher/desktop",
|
||||
"type": "module",
|
||||
"version": "1.0.0-alpha.1",
|
||||
"version": "1.0.0-alpha.2",
|
||||
"private": true,
|
||||
"description": "Next-generation open source Minecraft launcher",
|
||||
"license": "GPL-3.0-only",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@onelauncher/frontend",
|
||||
"type": "module",
|
||||
"version": "1.0.0-alpha.1",
|
||||
"version": "1.0.0-alpha.2",
|
||||
"private": true,
|
||||
"description": "Next-generation open source Minecraft launcher frontend",
|
||||
"license": "GPL-3.0-only",
|
||||
|
|
|
|||
|
|
@ -140,6 +140,8 @@ interface ModEntryProps {
|
|||
function ModEntry(props: ModEntryProps) {
|
||||
const [cluster] = useClusterContext();
|
||||
const browser = useBrowser();
|
||||
// eslint-disable-next-line solid/reactivity -- .
|
||||
const [disabled, setDisabled] = createSignal(props.pkg.disabled || false);
|
||||
|
||||
const name = () => {
|
||||
if (props.pkg.meta.type === 'unknown')
|
||||
|
|
@ -211,14 +213,14 @@ function ModEntry(props: ModEntryProps) {
|
|||
try {
|
||||
const path = cluster()?.path;
|
||||
if (path) {
|
||||
setDisabled(!checked);
|
||||
// eslint-disable-next-line solid/reactivity -- bs lol
|
||||
await tryResult(() => bridge.commands.setClusterPackageEnabled(
|
||||
path,
|
||||
props.pkg.file_name,
|
||||
'mod',
|
||||
checked,
|
||||
));
|
||||
props.refetch();
|
||||
)).then(() => setDisabled(!checked));
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
|
|
@ -230,7 +232,7 @@ function ModEntry(props: ModEntryProps) {
|
|||
<div
|
||||
class="flex flex-row items-center gap-3 rounded-xl bg-component-bg p-3 active:bg-component-bg-pressed hover:bg-component-bg-hover"
|
||||
classList={{
|
||||
'opacity-70 grayscale-50 hover:grayscale-0 hover:opacity-100': props.pkg.disabled,
|
||||
'opacity-70 grayscale-50 hover:grayscale-0 hover:opacity-100': disabled(),
|
||||
}}
|
||||
onClick={onClick}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@onelauncher/testing",
|
||||
"version": "1.0.0-alpha.1",
|
||||
"version": "1.0.0-alpha.2",
|
||||
"private": true,
|
||||
"description": "Next-generation open source Minecraft launcher playground",
|
||||
"license": "GPL-3.0-only",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@onelauncher/root",
|
||||
"type": "module",
|
||||
"version": "1.0.0-alpha.1",
|
||||
"version": "1.0.0-alpha.2",
|
||||
"private": true,
|
||||
"engineStrict": true,
|
||||
"packageManager": "pnpm@9.15.4",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@onelauncher/client",
|
||||
"type": "module",
|
||||
"version": "1.0.0-alpha.1",
|
||||
"version": "1.0.0-alpha.2",
|
||||
"private": true,
|
||||
"description": "RSPC Client and Utilities for OneLauncher",
|
||||
"license": "GPL-3.0-only",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@onelauncher/core",
|
||||
"version": "1.0.0-alpha.1",
|
||||
"version": "1.0.0-alpha.2",
|
||||
"description": "Next-generation open source Minecraft launcher core",
|
||||
"license": "GPL-3.0-only",
|
||||
"repository": {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@onelauncher/distribution",
|
||||
"version": "1.0.0-alpha.1",
|
||||
"version": "1.0.0-alpha.2",
|
||||
"private": true,
|
||||
"description": "Distribution files for OneLauncher",
|
||||
"license": "GPL-3.0-only",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@onelauncher/gamemode",
|
||||
"version": "1.0.0-alpha.1",
|
||||
"version": "1.0.0-alpha.2",
|
||||
"description": "Next-generation open source Minecraft launcher feral gamemode bindings",
|
||||
"license": "GPL-3.0-only",
|
||||
"repository": {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@onelauncher/macros",
|
||||
"version": "1.0.0-alpha.1",
|
||||
"version": "1.0.0-alpha.2",
|
||||
"description": "Next-generation open source Minecraft launcher macros",
|
||||
"license": "GPL-3.0-only",
|
||||
"repository": {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@onelauncher/scripts",
|
||||
"type": "module",
|
||||
"version": "1.0.0-alpha.1",
|
||||
"version": "1.0.0-alpha.2",
|
||||
"private": true,
|
||||
"description": "Scripts for developing OneLauncher",
|
||||
"license": "GPL-3.0-only",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@onelauncher/utils",
|
||||
"version": "1.0.0-alpha.1",
|
||||
"version": "1.0.0-alpha.2",
|
||||
"description": "Next-generation open source Minecraft launcher utils",
|
||||
"license": "GPL-3.0-only",
|
||||
"repository": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue